aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.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.c
parentf4780a969c214e9a5a2c9062ed4b7f57c09174f9 (diff)
downloadgsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.tar
gsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.tar.gz
gsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.tar.bz2
gsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.tar.lz
gsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.tar.xz
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.c')
-rw-r--r--shell/e-shell.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 252b7f3300..5556e585f3 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -531,7 +531,8 @@ impl_Shell_selectUserFolder (PortableServer_Servant servant,
title,
NULL,
default_folder,
- allowed_type_names);
+ allowed_type_names,
+ TRUE);
listener_duplicate = CORBA_Object_duplicate (listener, ev);
@@ -2264,7 +2265,7 @@ parse_default_uri (EShell *shell,
/* We expect an evolution: URI here, if we don't get it then something
is messed up. */
- if (strncmp (path, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) != 0 || is_default) {
+ if (path == NULL || strncmp (path, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) != 0 || is_default) {
g_free (path);
if (path_return != NULL)
*path_return = NULL;