aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-03-04 00:56:13 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-14 09:53:17 +0800
commitc0f1cd53092a42fd0b96a132bda6ab8119f344ae (patch)
tree6a9dd837a0dc697d860fdd14b1b7d8641e8cf3fa /shell/e-shell-window.c
parent20168f042f92a0e2037a68453304e7e9f5d1a324 (diff)
downloadgsoc2013-evolution-c0f1cd53092a42fd0b96a132bda6ab8119f344ae.tar.gz
gsoc2013-evolution-c0f1cd53092a42fd0b96a132bda6ab8119f344ae.tar.zst
gsoc2013-evolution-c0f1cd53092a42fd0b96a132bda6ab8119f344ae.zip
make the 'New' drop-down menu much cleaner for express mode
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index 5513efbe95..8cb1ed8831 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -1149,6 +1149,18 @@ e_shell_window_get_safe_mode (EShellWindow *shell_window)
}
/**
+ * e_shell_window_get_safe_mode:
+ * @shell_window: an #EShellWindow
+ *
+ * Returns %TRUE if @shell_window is in "express mode".
+ **/
+gboolean
+e_shell_window_get_express_mode (EShellWindow *shell_window)
+{
+ return e_shell_get_express_mode (e_shell_window_get_shell (shell_window));
+}
+
+/**
* e_shell_window_set_safe_mode:
* @shell_window: an #EShellWindow
* @safe_mode: whether to put @shell_window into "safe mode"