diff options
author | Alberto Garcia <agarcia@igalia.com> | 2009-11-20 16:19:53 +0100 |
---|---|---|
committer | Alberto Garcia <agarcia@igalia.com> | 2009-11-20 16:19:53 +0100 |
commit | 9abc5c6ddf35c04564232348e7e8f7c0ff18884e (patch) | |
tree | 2110bbb87b76905234e9af2b0fd7bce2f177d69c | |
parent | 06aa38f05e0779d4b9508b0beed168128b892084 (diff) |
Make HildonNote non-resizable
-rw-r--r-- | hildon/hildon-note.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hildon/hildon-note.c b/hildon/hildon-note.c index 556a74a..8e2c3f4 100644 --- a/hildon/hildon-note.c +++ b/hildon/hildon-note.c @@ -475,6 +475,9 @@ hildon_note_init (HildonNote *dialog) /* We use special hint to turn the note into information notification. */ gtk_window_set_type_hint (GTK_WINDOW (dialog), GDK_WINDOW_TYPE_HINT_NOTIFICATION); + + /* This prevents the window from being too big when the screen is rotated */ + gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE); } |