diff options
author | Srinivasa Ragavan <sragavan@gnome.org> | 2010-03-30 20:35:04 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-04-07 19:26:40 +0800 |
commit | 148ca772f22e447ab1660adaf1c56b80c6fb1db7 (patch) | |
tree | 04f580a8f7053aee807ac00458b188a4551fa204 | |
parent | d2a6ea99cb4e00a2316e224b844c0ef3989fd9c5 (diff) | |
download | gsoc2013-evolution-148ca772f22e447ab1660adaf1c56b80c6fb1db7.tar.gz gsoc2013-evolution-148ca772f22e447ab1660adaf1c56b80c6fb1db7.tar.zst gsoc2013-evolution-148ca772f22e447ab1660adaf1c56b80c6fb1db7.zip |
Hide searchbar in calendar view in express mode.
-rw-r--r-- | modules/calendar/e-cal-shell-view.c | 6 |
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, |