aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-04-20 00:13:14 +0800
committerMichael Meeks <michael.meeks@novell.com>2010-04-20 00:13:14 +0800
commit8505a33d996442ba045333883518d744263ead23 (patch)
tree84997679312620f35db5378576a37756cd6e28df /modules/calendar
parent574b961a0f75d5fe928e2e529712d39cc1062162 (diff)
downloadgsoc2013-evolution-8505a33d996442ba045333883518d744263ead23.tar
gsoc2013-evolution-8505a33d996442ba045333883518d744263ead23.tar.gz
gsoc2013-evolution-8505a33d996442ba045333883518d744263ead23.tar.bz2
gsoc2013-evolution-8505a33d996442ba045333883518d744263ead23.tar.lz
gsoc2013-evolution-8505a33d996442ba045333883518d744263ead23.tar.xz
gsoc2013-evolution-8505a33d996442ba045333883518d744263ead23.tar.zst
gsoc2013-evolution-8505a33d996442ba045333883518d744263ead23.zip
add proxy support to auto-configuration
Diffstat (limited to 'modules/calendar')
-rw-r--r--modules/calendar/e-cal-shell-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/calendar/e-cal-shell-view.c b/modules/calendar/e-cal-shell-view.c
index b845fc68d6..cf356cbc6d 100644
--- a/modules/calendar/e-cal-shell-view.c
+++ b/modules/calendar/e-cal-shell-view.c
@@ -320,7 +320,8 @@ cal_shell_view_update_actions (EShellView *shell_view)
item = e_shell_window_get_managed_widget (
shell_window, "/main-toolbar/send-receive");
- gtk_widget_hide(item);
+ if (item)
+ gtk_widget_hide(item);
}
cal_shell_content = priv->cal_shell_content;
calendar = e_cal_shell_content_get_calendar (cal_shell_content);