[evolution/express] Hide switcher in express mode.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/express] Hide switcher in express mode.
- Date: Wed, 3 Mar 2010 09:35:31 +0000 (UTC)
commit 26eea57c4b7560a573d016d8da707d33fb938fe6
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Wed Mar 3 15:02:34 2010 +0530
Hide switcher in express mode.
shell/e-shell-window-private.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 4a11395..d380d25 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -418,9 +418,13 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
key = "/apps/evolution/shell/view_defaults/statusbar_visible";
gconf_bridge_bind_property (bridge, key, object, "taskbar-visible");
- object = G_OBJECT (shell_window);
- key = "/apps/evolution/shell/view_defaults/buttons_visible";
- gconf_bridge_bind_property (bridge, key, object, "switcher-visible");
+ if (e_shell_get_express_mode(NULL)) {
+ e_shell_window_set_switcher_visible (shell_window, FALSE);
+ } else {
+ object = G_OBJECT (shell_window);
+ key = "/apps/evolution/shell/view_defaults/buttons_visible";
+ gconf_bridge_bind_property (bridge, key, object, "switcher-visible");
+ }
object = G_OBJECT (shell_window);
key = "/apps/evolution/shell/view_defaults/toolbar_visible";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]