aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Garcia <agarcia@igalia.com>2009-11-20 16:19:53 +0100
committerAlberto Garcia <agarcia@igalia.com>2009-11-20 16:19:53 +0100
commit9abc5c6ddf35c04564232348e7e8f7c0ff18884e (patch)
tree2110bbb87b76905234e9af2b0fd7bce2f177d69c
parent06aa38f05e0779d4b9508b0beed168128b892084 (diff)
Make HildonNote non-resizable
-rw-r--r--hildon/hildon-note.c3
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);
}