aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-commands.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-05 02:32:55 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-05 02:32:55 +0800
commit735297df13cb2ef3279b7c3aed870f5c05f7e550 (patch)
tree191fae8b5432684e474a4216700688b50352d6ef /shell/e-shell-folder-commands.c
parentf4780a969c214e9a5a2c9062ed4b7f57c09174f9 (diff)
downloadgsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.tar.gz
gsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.tar.zst
gsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.zip
Pass TRUE for arg allow_creation to e_shell_folder_selection_dialog_new().
* e-shell-folder-commands.c (e_shell_command_copy_folder): Pass TRUE for arg allow_creation to e_shell_folder_selection_dialog_new(). (e_shell_command_move_folder): Likewise. * e-shell-view-menu.c (command_goto_folder): Likewise. (command_new_shortcut): Likewise. * e-shell.c (impl_Shell_selectUserFolder): Likewise. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_set_allow_creation): Removed. (e_shell_folder_selection_dialog_get_allow_creation): Removed. (e_shell_folder_selection_dialog_new): New arg allow_creation. (e_shell_folder_selection_dialog_construct): Likewise. Also, do set priv->shell. * e-shell-folder-selection-dialog.h, e-shell-folder-selection-dialog.c: Port to GtkDialog. svn path=/trunk/; revision=18533
Diffstat (limited to 'shell/e-shell-folder-commands.c')
-rw-r--r--shell/e-shell-folder-commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-folder-commands.c b/shell/e-shell-folder-commands.c
index fd6cf2b522..b5eefa4b77 100644
--- a/shell/e-shell-folder-commands.c
+++ b/shell/e-shell-folder-commands.c
@@ -324,7 +324,7 @@ e_shell_command_copy_folder (EShell *shell,
uri = g_strconcat (E_SHELL_URI_PREFIX, folder_path, NULL);
folder_selection_dialog = e_shell_folder_selection_dialog_new (shell, _("Copy folder"),
- caption, uri, NULL);
+ caption, uri, NULL, TRUE);
g_free (caption);
g_free (uri);
@@ -368,7 +368,7 @@ e_shell_command_move_folder (EShell *shell,
uri = g_strconcat (E_SHELL_URI_PREFIX, folder_path, NULL);
folder_selection_dialog = e_shell_folder_selection_dialog_new (shell, _("Move folder"),
- caption, uri, NULL);
+ caption, uri, NULL, TRUE);
g_free (caption);
g_free (uri);