From 5fca5b574ef9831ff6a789b45f7d37746739e358 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 15 Apr 2010 13:32:34 +0100 Subject: Adapt the event editor for MeeGo / small-screen. Bin the menu bar, disable the print icon, add a close button at top right. --- shell/e-shell-window-actions.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'shell/e-shell-window-actions.c') diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index 288c4633cc..2cb53c1a02 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -2084,9 +2084,11 @@ e_shell_window_create_new_menu (EShellWindow *shell_window) /* Add menu separators. */ - separator = gtk_separator_menu_item_new (); - new_item_actions = g_list_prepend (new_item_actions, separator); - gtk_widget_show (GTK_WIDGET (separator)); + if (new_item_actions != NULL) { + separator = gtk_separator_menu_item_new (); + new_item_actions = g_list_prepend (new_item_actions, separator); + gtk_widget_show (GTK_WIDGET (separator)); + } if (new_source_actions != NULL) { separator = gtk_separator_menu_item_new (); -- cgit v1.2.3