aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-utils.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2010-04-08 04:00:05 +0800
committerFederico Mena Quintero <federico@novell.com>2010-04-09 06:48:08 +0800
commitfe8eabe6d710b846ab9d2d95dcf60ed3de9e51ba (patch)
treee861afcea191192accfd1b8777f3dcbf53c07f76 /shell/e-shell-utils.h
parent5b397348258994539b452006e988be78a43a2fae (diff)
downloadgsoc2013-evolution-fe8eabe6d710b846ab9d2d95dcf60ed3de9e51ba.tar
gsoc2013-evolution-fe8eabe6d710b846ab9d2d95dcf60ed3de9e51ba.tar.gz
gsoc2013-evolution-fe8eabe6d710b846ab9d2d95dcf60ed3de9e51ba.tar.bz2
gsoc2013-evolution-fe8eabe6d710b846ab9d2d95dcf60ed3de9e51ba.tar.lz
gsoc2013-evolution-fe8eabe6d710b846ab9d2d95dcf60ed3de9e51ba.tar.xz
gsoc2013-evolution-fe8eabe6d710b846ab9d2d95dcf60ed3de9e51ba.tar.zst
gsoc2013-evolution-fe8eabe6d710b846ab9d2d95dcf60ed3de9e51ba.zip
Utility function to hide widgets when in Express mode
Express mode requires a reduced preferences dialog. Many options in the current preferences dialog are pure, unadulterated crack. So we need an easy way to hide them, to simplify the dialog and reduce its size. Here we add a function that takes a GConf key, reads a list of strings from that key, and hides the widgets whose names are those strings. This gives us an easy way to experiment with what widgets should be hidden in the preferences dialog, without needing to recompile all the time. Signed-off-by: Federico Mena Quintero <federico@novell.com>
Diffstat (limited to 'shell/e-shell-utils.h')
-rw-r--r--shell/e-shell-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-shell-utils.h b/shell/e-shell-utils.h
index 428d49a836..6e8b83c973 100644
--- a/shell/e-shell-utils.h
+++ b/shell/e-shell-utils.h
@@ -50,6 +50,10 @@ guint e_shell_utils_import_uris (EShell *shell,
gchar **uris,
gboolean preview);
+void e_shell_hide_widgets_for_express_mode (EShell *shell,
+ GtkBuilder *builder,
+ const char *key_with_widget_names);
+
G_END_DECLS
#endif /* E_SHELL_UTILS_H */