From 9abc5c6ddf35c04564232348e7e8f7c0ff18884e Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Fri, 20 Nov 2009 16:19:53 +0100 Subject: Make HildonNote non-resizable --- hildon/hildon-note.c | 3 +++ 1 file changed, 3 insertions(+) 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); } -- cgit v1.2.3-18-g5258