From 81011f3f31c04027e152f86f61b5e4a743c66756 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Thu, 10 Dec 2009 15:52:15 +0100 Subject: [PATCH] Add wiser default size for signature dialog in gtk --- src/widgets/modest-signature-editor-dialog.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/widgets/modest-signature-editor-dialog.c b/src/widgets/modest-signature-editor-dialog.c index 305504e..2ad9c01 100644 --- a/src/widgets/modest-signature-editor-dialog.c +++ b/src/widgets/modest-signature-editor-dialog.c @@ -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: */ -- 1.7.9.5