X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-signature-editor-dialog.c;h=a0a190dbfa6ccfa98721b4805ec2d9bfd35e4f7c;hp=eef6429b0b0d166b064709ea6f475edf3ae32f8d;hb=e374da56f67092cecb1572dd4bee2ca34e0bc04c;hpb=1c8928c2d9bf74d0df67eacf38aaf4947800dfb5 diff --git a/src/maemo/modest-signature-editor-dialog.c b/src/maemo/modest-signature-editor-dialog.c index eef6429..a0a190d 100644 --- a/src/maemo/modest-signature-editor-dialog.c +++ b/src/maemo/modest-signature-editor-dialog.c @@ -42,8 +42,8 @@ #include #include #include - #include +#include G_DEFINE_TYPE (ModestSignatureEditorDialog, modest_signature_editor_dialog, GTK_TYPE_DIALOG); @@ -167,13 +167,16 @@ modest_signature_editor_dialog_init (ModestSignatureEditorDialog *self) gtk_dialog_add_button (GTK_DIALOG (self), _("mcen_bd_dialog_ok"), GTK_RESPONSE_OK); gtk_dialog_add_button (GTK_DIALOG (self), _("mcen_bd_dialog_cancel"), GTK_RESPONSE_CANCEL); - gtk_widget_show (box); + gtk_widget_set_size_request (GTK_WIDGET (self), 480, -1); /* When this window is shown, hibernation should not be possible, * because there is no sensible way to save the state: */ - modest_window_mgr_prevent_hibernation_while_window_is_shown ( - modest_runtime_get_window_mgr (), GTK_WINDOW (self)); + modest_window_mgr_prevent_hibernation_while_window_is_shown ( + modest_runtime_get_window_mgr (), GTK_WINDOW (self)); + + hildon_help_dialog_help_enable (GTK_DIALOG(self), "applications_email_signatureeditor", + modest_maemo_utils_get_osso_context()); } ModestSignatureEditorDialog* @@ -194,6 +197,7 @@ modest_signature_editor_dialog_set_settings ( gchar* label_text = g_strdup_printf (_("mcen_ia_email_signatures_edit_dlg_label"), account_title); gtk_label_set_text (GTK_LABEL (priv->label), label_text); + gtk_label_set_ellipsize (GTK_LABEL (priv->label), PANGO_ELLIPSIZE_END); g_free (label_text); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->checkbox_use), use_signature);