* add help context id's for all dialogs
[modest] / src / maemo / modest-account-settings-dialog.c
index 875aea0..897b91e 100644 (file)
@@ -705,7 +705,7 @@ on_button_outgoing_smtp_servers (GtkButton *button, gpointer user_data)
        /* Show the window: */  
        gtk_window_set_transient_for (GTK_WINDOW (self->specific_window), GTK_WINDOW (self));
        gtk_window_set_modal (GTK_WINDOW (self->specific_window), TRUE);
-    gtk_widget_show (self->specific_window);
+       gtk_widget_show (self->specific_window);
 }
 
 static void
@@ -1151,8 +1151,7 @@ on_response (GtkDialog *wizard_dialog,
                                        
                                        hildon_banner_show_information(NULL, NULL, _("mcen_ib_advsetup_settings_saved"));
                                }
-                       }
-                       else {
+                       } else {
                                hildon_banner_show_information (NULL, NULL, _("mail_ib_setting_failed"));
                        }
                }
@@ -1215,6 +1214,9 @@ modest_account_settings_dialog_init (ModestAccountSettingsDialog *self)
         * 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)); 
+
+    hildon_help_dialog_help_enable (GTK_DIALOG(self), "applications_email_accountsettings",
+                                   modest_maemo_utils_get_osso_context());
 }
 
 ModestAccountSettingsDialog*