aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-user-creatable-items-handler.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-01-28 00:57:17 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-01-28 00:57:17 +0800
commitf79b9679ae7325fba7b258e4d468e8b6b54ab947 (patch)
treebac15762ac1cf1a72638fe126684849ae424559e /shell/e-shell-user-creatable-items-handler.c
parent7f14781b0e0d560fdca2b2e5fb06e3c3e2c24563 (diff)
downloadgsoc2013-evolution-f79b9679ae7325fba7b258e4d468e8b6b54ab947.tar.gz
gsoc2013-evolution-f79b9679ae7325fba7b258e4d468e8b6b54ab947.tar.zst
gsoc2013-evolution-f79b9679ae7325fba7b258e4d468e8b6b54ab947.zip
#if 0'ed out for now, since it seems to cause trouble for local
* evolution-shell-component.c (owner_ping_callback): #if 0'ed out for now, since it seems to cause trouble for local components. (setup_owner_pinging): Likewise. * e-shell-user-creatable-items-handler.c (get_default_action_for_view): Return default_menu_item [instead of NULL] if there is no view displayed. [#32736] svn path=/trunk/; revision=19650
Diffstat (limited to 'shell/e-shell-user-creatable-items-handler.c')
-rw-r--r--shell/e-shell-user-creatable-items-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-user-creatable-items-handler.c b/shell/e-shell-user-creatable-items-handler.c
index c2cc6b8877..ebd5be0911 100644
--- a/shell/e-shell-user-creatable-items-handler.c
+++ b/shell/e-shell-user-creatable-items-handler.c
@@ -270,7 +270,7 @@ get_default_action_for_view (EShellUserCreatableItemsHandler *handler,
view_component_id = e_shell_view_get_current_component_id (shell_view);
if (view_component_id == NULL)
- return NULL;
+ return priv->default_menu_item;
for (p = priv->menu_items; p != NULL; p = p->next) {
const MenuItem *item;