[evolution/express2: 44/51] Hide searchbar in calendar view in express mode.
- From: Michael Meeks <michael src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/express2: 44/51] Hide searchbar in calendar view in express mode.
- Date: Wed, 7 Apr 2010 13:24:21 +0000 (UTC)
commit 148ca772f22e447ab1660adaf1c56b80c6fb1db7
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Tue Mar 30 18:05:04 2010 +0530
Hide searchbar in calendar view in express mode.
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 5df2806..dc717c3 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]