* src/maemo/modest-signature-editor-dialog.c:
[modest] / src / maemo / modest-signature-editor-dialog.c
index eef6429..c0a2614 100644 (file)
@@ -42,8 +42,8 @@
 #include <gtk/gtklabel.h>
 #include <gtk/gtkscrolledwindow.h>
 #include <gtk/gtkstock.h>
-
 #include <glib/gi18n.h>
+#include <modest-maemo-utils.h>
 
 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_NONE);
        g_free (label_text);
        
        gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->checkbox_use), use_signature);