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_connectionspecificsmtpconf",
- modest_maemo_utils_get_osso_context());
-
/* Refresh view with current settings */
on_auth_picker_changed (HILDON_PICKER_BUTTON (priv->outgoing_auth_picker), self);
on_security_picker_changed (HILDON_PICKER_BUTTON (priv->outgoing_security_picker), self);
g_signal_connect (self, "response", G_CALLBACK (on_response), NULL);
- hildon_help_dialog_help_enable (GTK_DIALOG(self),
- "email_connectionsspecificsmtpconf",
- modest_maemo_utils_get_osso_context());
}
ModestConnectionSpecificSmtpWindow*
* while sending messages causes an error dialog and we have a lock */
modest_tny_account_store_set_send_mail_blocked (modest_runtime_get_account_store (), TRUE);
- hildon_help_dialog_help_enable (GTK_DIALOG(self), "applications_email_accountsettings",
- modest_maemo_utils_get_osso_context());
}
ModestAccountSettingsDialog*
g_object_ref (self);
g_thread_create (presets_loader, self, FALSE, NULL);
- hildon_help_dialog_help_enable (GTK_DIALOG(self), "applications_email_wizardwelcome",
- modest_maemo_utils_get_osso_context());
-
priv->settings = modest_account_settings_new ();
}
/* force update of sensitiveness */
update_sensitive (MODEST_GLOBAL_SETTINGS_DIALOG (self));
- /* Set first page */
- hildon_help_dialog_help_enable (GTK_DIALOG(self), "applications_email_options_dialog",
- modest_maemo_utils_get_osso_context());
}
static void
{ "ToolsSendReceiveCancelSending", NULL, N_("mcen_me_outbox_cancelsend"), NULL, NULL, G_CALLBACK (modest_ui_actions_cancel_send) },
{ "ToolsContacts", NULL, N_("mcen_me_inbox_open_addressbook"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_open_addressbook) },
{ "ToolsAddToContacts", NULL, N_("mcen_me_viewer_addtocontacts"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_add_to_contacts) },
- { "ToolsHelp", NULL, N_("mcen_me_inbox_help"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_help) },
/* Close */
{ "CloseWindow", NULL, N_("mcen_me_inbox_close_window"), "<CTRL>W", NULL, G_CALLBACK (modest_ui_actions_on_close_window) },
{ "FolderViewCSMRenameFolder", NULL, N_("mcen_me_user_renamefolder"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_rename_folder) },
{ "FolderViewCSMPasteMsgs", NULL, N_("mcen_me_inbox_paste"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_paste)},
{ "FolderViewCSMDeleteFolder", NULL, N_("mcen_me_inbox_delete"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_delete_folder) },
- { "FolderViewCSMHelp", NULL, N_("mcen_me_inbox_help"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_csm_help) },
};
static const GtkActionEntry modest_header_view_action_entries [] = {
{ "HeaderViewCSMPaste", NULL, N_("mcen_me_inbox_paste"), "<CTRL>V", NULL, G_CALLBACK (modest_ui_actions_on_paste) },
{ "HeaderViewCSMDelete", NULL, N_("mcen_me_inbox_delete"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_delete_message) },
{ "HeaderViewCSMCancelSending", NULL, N_("mcen_me_outbox_cancelsend"), NULL, NULL, G_CALLBACK (modest_ui_actions_cancel_send) },
- { "HeaderViewCSMHelp", NULL, N_("mcen_me_inbox_help"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_help) },
};
static const GtkToggleActionEntry modest_main_window_toggle_action_entries [] = {
priv->font_dialog = NULL;
- modest_window_mgr_register_help_id (modest_runtime_get_window_mgr(),
- GTK_WINDOW(obj),"applications_email_editor");
-
if (!is_wp_text_buffer_started) {
is_wp_text_buffer_started = TRUE;
wp_text_buffer_library_init ();
hildon_program_add_window (hildon_program_get_instance(),
HILDON_WINDOW(obj));
- modest_window_mgr_register_help_id (modest_runtime_get_window_mgr(),
- GTK_WINDOW(obj),"applications_email_viewer");
}
dialog = modest_hildon2_sort_dialog_new (parent_window);
- hildon_help_dialog_help_enable (GTK_DIALOG(dialog),
- "applications_email_sort",
- modest_maemo_utils_get_osso_context());
-
return dialog;
}
modest_platform_show_help (GtkWindow *parent_window,
const gchar *help_id)
{
- osso_return_t result;
- g_return_if_fail (help_id);
-
- result = hildon_help_show (modest_maemo_utils_get_osso_context(),
- help_id, HILDON_HELP_SHOW_DIALOG);
-
- if (result != OSSO_OK) {
- gchar *error_msg;
- error_msg = g_strdup_printf ("FIXME The help topic %s could not be found", help_id);
- hildon_banner_show_information (GTK_WIDGET (parent_window),
- NULL,
- error_msg);
- g_free (error_msg);
- }
+ return;
}
void
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*
</menu>
<separator/>
<menuitem name="ToolsContactsMenu" action="ToolsContacts"/>
- <separator/>
- <menuitem name="ToolsHelpMenu" action="ToolsHelp"/>
</menu>
</menubar>
<!-- <menuitem action="HeaderViewCSMPaste"/> -->
<separator/>
<menuitem action="HeaderViewCSMDelete"/>
- <menuitem action="HeaderViewCSMHelp"/>
</popup>
<popup name="FolderViewCSM">
<!-- <menuitem action="FolderViewCSMPasteMsgs"/> -->
<separator/>
<separator/>
- <menuitem action="FolderViewCSMHelp"/>
</popup>
<popup name="ToolbarReplyCSM" action="ToolbarCSM">
modest_ui_actions_on_help (GtkAction *action,
GtkWindow *win)
{
+ /* Help app is not available at all in fremantle */
+#ifndef MODEST_TOOLKIT_HILDON2
const gchar *help_id;
g_return_if_fail (win && GTK_IS_WINDOW(win));
if (help_id)
modest_platform_show_help (GTK_WINDOW (win), help_id);
+#endif
}
void
modest_ui_actions_on_csm_help (GtkAction *action,
GtkWindow *win)
{
+ /* Help app is not available at all in fremantle */
+#ifndef MODEST_TOOLKIT_HILDON2
+
const gchar* help_id = NULL;
GtkWidget *folder_view;
TnyFolderStore *folder_store;
modest_platform_show_help (GTK_WINDOW (win), help_id);
else
modest_ui_actions_on_help (action, win);
+#endif
}
static void