aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-04-15 20:32:34 +0800
committerMichael Meeks <michael.meeks@novell.com>2010-04-15 20:32:34 +0800
commit5fca5b574ef9831ff6a789b45f7d37746739e358 (patch)
treea39d445f89ecdb12183ec3f089bb724cc3651404 /shell/e-shell-window-actions.c
parent5c3c40aec8f72c5e33d77e47959d4ba485c4b97f (diff)
downloadgsoc2013-evolution-5fca5b574ef9831ff6a789b45f7d37746739e358.tar
gsoc2013-evolution-5fca5b574ef9831ff6a789b45f7d37746739e358.tar.gz
gsoc2013-evolution-5fca5b574ef9831ff6a789b45f7d37746739e358.tar.bz2
gsoc2013-evolution-5fca5b574ef9831ff6a789b45f7d37746739e358.tar.lz
gsoc2013-evolution-5fca5b574ef9831ff6a789b45f7d37746739e358.tar.xz
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/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c8
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 ();