diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-window-actions.c | 10 | ||||
-rw-r--r-- | shell/e-shell-window.c | 4 |
2 files changed, 3 insertions, 11 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index cf513669c8..3ab8b8e7dd 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -735,15 +735,7 @@ static void action_faq_cb (GtkAction *action, EShellWindow *shell_window) { - GError *error = NULL; - - gtk_show_uri (NULL, EVOLUTION_FAQ, GDK_CURRENT_TIME, &error); - - if (error != NULL) { - /* FIXME Show an error dialog. */ - g_warning ("%s", error->message); - g_error_free (error); - } + e_show_uri (GTK_WINDOW (shell_window), EVOLUTION_FAQ); } /** diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index ef36b0e9c9..2a9adc67ac 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -760,7 +760,7 @@ e_shell_window_set_safe_mode (EShellWindow *shell_window, * * Registers a list of #GtkAction<!-- -->s to appear in * @shell_window<!-- -->'s "New" menu and toolbar button. This - * function should be called from an #EShellModule<!-- -->'s + * function should be called from an #EShell<!-- -->'s * #EShell::window-created signal handler. The #EShellModule calling * this function should pass its own name for the @module_name argument * (i.e. the <structfield>name</structfield> field from its own @@ -849,7 +849,7 @@ e_shell_window_register_new_item_actions (EShellWindow *shell_window, * * Registers a list of #GtkAction<!-- -->s to appear in * @shell_window<!-- -->'s "New" menu and toolbar button. This - * function should be called from an #EShellModule<!-- -->'s + * function should be called from an #EShell<!-- -->'s * #EShell::window-created signal handler. The #EShellModule calling * this function should pass its own name for the @module_name argument * (i.e. the <structfield>name</structfield> field from its own |