aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-29 02:58:17 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-29 02:58:17 +0800
commite6ab5554d4fe16cc816d8751b0206291ffeeccc5 (patch)
tree8b6ea8acb7336b8e37db01bae9cd3ae10969753e /shell/e-shell-view-menu.c
parent03dcbdb743e9fd4d8490f60830545a88e58776ef (diff)
downloadgsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.tar
gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.tar.gz
gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.tar.bz2
gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.tar.lz
gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.tar.xz
gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.tar.zst
gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.zip
Allow callers to set the default type of folder to be created.
svn path=/trunk/; revision=13220
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index f0c392e032..282c3424da 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -309,6 +309,7 @@ command_new_folder (BonoboUIComponent *uih,
e_shell_show_folder_creation_dialog (shell, GTK_WINDOW (shell_view),
get_path_for_folder_op (shell_view),
+ NULL,
NULL /* result_callback */,
NULL /* result_callback_data */);
}
@@ -441,7 +442,7 @@ command_goto_folder (BonoboUIComponent *uih,
_("Go to folder..."),
_("Select the folder that you want to open"),
current_uri,
- NULL);
+ NULL, NULL);
gtk_window_set_transient_for (GTK_WINDOW (folder_selection_dialog), GTK_WINDOW (shell_view));
@@ -562,7 +563,7 @@ command_new_shortcut (BonoboUIComponent *uih,
_("Create a new shortcut"),
_("Select the folder you want the shortcut to point to:"),
e_shell_view_get_current_uri (shell_view),
- NULL);
+ NULL, NULL);
e_shell_folder_selection_dialog_set_allow_creation (E_SHELL_FOLDER_SELECTION_DIALOG (folder_selection_dialog),
FALSE);