aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index f460d427e8..236044ae0c 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -589,11 +589,14 @@ command_settings (BonoboUIComponent *uih,
{
EShellView *shell_view;
GtkWidget *dialog;
-
+ const char *type;
+
shell_view = E_SHELL_VIEW (data);
+ type = e_shell_view_get_current_folder_type (shell_view);
dialog = e_shell_settings_dialog_new ();
-
+ e_shell_settings_dialog_show_type (E_SHELL_SETTINGS_DIALOG (dialog), type);
+
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (shell_view));
gtk_widget_show (dialog);