aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-10-24 01:45:58 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-10-24 01:45:58 +0800
commitd0782a45b1e4772162a31ac768d33978b122695a (patch)
treefec0f4eaa3b80a79d81b8f51e4326564b5e3f3a0 /shell/e-shell-view.c
parenteac24fd792678e164f36200cda0ad4fca304c1f4 (diff)
downloadgsoc2013-evolution-d0782a45b1e4772162a31ac768d33978b122695a.tar
gsoc2013-evolution-d0782a45b1e4772162a31ac768d33978b122695a.tar.gz
gsoc2013-evolution-d0782a45b1e4772162a31ac768d33978b122695a.tar.bz2
gsoc2013-evolution-d0782a45b1e4772162a31ac768d33978b122695a.tar.lz
gsoc2013-evolution-d0782a45b1e4772162a31ac768d33978b122695a.tar.xz
gsoc2013-evolution-d0782a45b1e4772162a31ac768d33978b122695a.tar.zst
gsoc2013-evolution-d0782a45b1e4772162a31ac768d33978b122695a.zip
Set the is_stock flag to TRUE for the summary folder.
* e-shell.c (setup_local_storage): Set the is_stock flag to TRUE for the summary folder. * e-shell-view.c (setup_verb_sensitivity_for_folder): Don't allow folder operations on pseudo-folders that have a NULL physical_uri. * e-corba-storage.c (async_remove_folder): Make sure the folder has a physical URI. [#30950] * e-shell-shared-folder-picker-dialog.c (setup_server_option_menu): Use e_utf8_gtk_menu_item_new_with_label() to create the option menu items from the storage's UTF-8 name. [#31564] svn path=/trunk/; revision=18419
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 1e5d04436c..22248815d9 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -308,9 +308,11 @@ setup_verb_sensitivity_for_folder (EShellView *shell_view,
folder = e_storage_set_get_folder (e_shell_get_storage_set (priv->shell), path);
/* Adjust sensitivity for menu options depending on whether the folder
- selected is a stock folder. */
+ selected can actually be manipulated or not. */
- if (folder != NULL && ! e_folder_get_is_stock (folder))
+ if (folder != NULL
+ && ! e_folder_get_is_stock (folder)
+ && e_folder_get_physical_uri (folder) != NULL)
prop = "1";
else
prop = "0";
@@ -621,7 +623,6 @@ storage_set_view_box_button_release_event_cb (GtkWidget *widget,
return FALSE;
popdown_transient_folder_bar (shell_view);
-
return TRUE;
}