aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-view.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-03-30 20:35:04 +0800
committerSrinivasa Ragavan <sragavan@gnome.org>2010-03-30 20:35:04 +0800
commitca79c7993fc6ed146c62d3ce984878350be7c110 (patch)
tree4a49aa8fe45c875770a64b193908cb8e3ef4e948 /modules/calendar/e-cal-shell-view.c
parent0347770e9931dc2b90d9df1813cdcb6236eea99b (diff)
downloadgsoc2013-evolution-ca79c7993fc6ed146c62d3ce984878350be7c110.tar
gsoc2013-evolution-ca79c7993fc6ed146c62d3ce984878350be7c110.tar.gz
gsoc2013-evolution-ca79c7993fc6ed146c62d3ce984878350be7c110.tar.bz2
gsoc2013-evolution-ca79c7993fc6ed146c62d3ce984878350be7c110.tar.lz
gsoc2013-evolution-ca79c7993fc6ed146c62d3ce984878350be7c110.tar.xz
gsoc2013-evolution-ca79c7993fc6ed146c62d3ce984878350be7c110.tar.zst
gsoc2013-evolution-ca79c7993fc6ed146c62d3ce984878350be7c110.zip
Hide searchbar in calendar view in express mode.
Diffstat (limited to 'modules/calendar/e-cal-shell-view.c')
-rw-r--r--modules/calendar/e-cal-shell-view.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/calendar/e-cal-shell-view.c b/modules/calendar/e-cal-shell-view.c
index 5df2806cd2..dc717c3951 100644
--- a/modules/calendar/e-cal-shell-view.c
+++ b/modules/calendar/e-cal-shell-view.c
@@ -502,7 +502,11 @@ cal_shell_view_class_init (ECalShellViewClass *class,
shell_view_class->new_shell_sidebar = e_cal_shell_sidebar_new;
shell_view_class->execute_search = cal_shell_view_execute_search;
shell_view_class->update_actions = cal_shell_view_update_actions;
-}
+
+ if(e_shell_get_express_mode(e_shell_get_default()))
+ shell_view_class->construct_searchbar = NULL;
+
+}
static void
cal_shell_view_init (ECalShellView *cal_shell_view,