diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-05 02:32:55 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-05 02:32:55 +0800 |
commit | 735297df13cb2ef3279b7c3aed870f5c05f7e550 (patch) | |
tree | 191fae8b5432684e474a4216700688b50352d6ef /shell/e-shell-view-menu.c | |
parent | f4780a969c214e9a5a2c9062ed4b7f57c09174f9 (diff) | |
download | gsoc2013-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-view-menu.c')
-rw-r--r-- | shell/e-shell-view-menu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 208fd1c581..768d11dbf1 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -500,7 +500,7 @@ command_goto_folder (BonoboUIComponent *uih, _("Go to folder..."), _("Select the folder that you want to open"), current_uri, - NULL); + NULL, TRUE); gtk_window_set_transient_for (GTK_WINDOW (folder_selection_dialog), GTK_WINDOW (shell_view)); @@ -615,9 +615,7 @@ command_new_shortcut (BonoboUIComponent *uih, _("Create New Shortcut"), _("Select the folder you want the shortcut to point to:"), e_shell_view_get_current_uri (shell_view), - NULL); - e_shell_folder_selection_dialog_set_allow_creation (E_SHELL_FOLDER_SELECTION_DIALOG (folder_selection_dialog), - FALSE); + NULL, TRUE); g_signal_connect (folder_selection_dialog, "cancelled", G_CALLBACK (new_shortcut_dialog_cancelled_cb), shell_view); |