aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}