From f79b9679ae7325fba7b258e4d468e8b6b54ab947 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 27 Jan 2003 16:57:17 +0000 Subject: #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 --- shell/e-shell-user-creatable-items-handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/e-shell-user-creatable-items-handler.c') 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; -- cgit