diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-28 00:57:17 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-28 00:57:17 +0800 |
commit | f79b9679ae7325fba7b258e4d468e8b6b54ab947 (patch) | |
tree | bac15762ac1cf1a72638fe126684849ae424559e /shell/e-shell-user-creatable-items-handler.c | |
parent | 7f14781b0e0d560fdca2b2e5fb06e3c3e2c24563 (diff) | |
download | gsoc2013-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.c | 2 |
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; |