Add wiser default size for signature dialog in gtk
authorJose Dapena Paz <jdapena@igalia.com>
Thu, 10 Dec 2009 14:52:15 +0000 (15:52 +0100)
committerJose Dapena Paz <jdapena@igalia.com>
Mon, 14 Dec 2009 14:26:32 +0000 (15:26 +0100)
src/widgets/modest-signature-editor-dialog.c

index 305504e..2ad9c01 100644 (file)
@@ -194,7 +194,13 @@ modest_signature_editor_dialog_init (ModestSignatureEditorDialog *self)
        gtk_widget_show (priv->scrollable);             
 
        gtk_widget_show (box);
-       gtk_widget_set_size_request (GTK_WIDGET (self), -1, MODEST_DIALOG_WINDOW_MAX_HEIGHT);
+       gtk_widget_set_size_request (GTK_WIDGET (self), 
+#ifdef MODEST_TOOLKIT_HILDON2
+                                    -1,
+#else
+                                    MODEST_DIALOG_WINDOW_MAX_WIDTH,
+#endif
+                                    MODEST_DIALOG_WINDOW_MAX_HEIGHT);
        
        /* When this window is shown, hibernation should not be possible, 
         * because there is no sensible way to save the state: */