diff options
author | Michael Meeks <michael.meeks@novell.com> | 2010-04-15 20:32:34 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-04-15 20:32:34 +0800 |
commit | 5fca5b574ef9831ff6a789b45f7d37746739e358 (patch) | |
tree | a39d445f89ecdb12183ec3f089bb724cc3651404 /shell | |
parent | 5c3c40aec8f72c5e33d77e47959d4ba485c4b97f (diff) | |
download | gsoc2013-evolution-5fca5b574ef9831ff6a789b45f7d37746739e358.tar.gz gsoc2013-evolution-5fca5b574ef9831ff6a789b45f7d37746739e358.tar.zst gsoc2013-evolution-5fca5b574ef9831ff6a789b45f7d37746739e358.zip |
Adapt the event editor for MeeGo / small-screen.
Bin the menu bar, disable the print icon, add a close button at top right.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-window-actions.c | 8 |
1 files changed, 5 insertions, 3 deletions
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 (); |