diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-10 01:29:09 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-10 01:29:09 +0800 |
commit | 2e83206b30fad6e108b4a393002c171df0474c9e (patch) | |
tree | f7160b2e5f7a1b7b4a7ebce1f47e8ef7bf124739 /shell/e-shell-window-private.h | |
parent | 935897c9a256e0d260adc1dd0dc56b1a5c760cd9 (diff) | |
download | gsoc2013-evolution-2e83206b30fad6e108b4a393002c171df0474c9e.tar gsoc2013-evolution-2e83206b30fad6e108b4a393002c171df0474c9e.tar.gz gsoc2013-evolution-2e83206b30fad6e108b4a393002c171df0474c9e.tar.bz2 gsoc2013-evolution-2e83206b30fad6e108b4a393002c171df0474c9e.tar.lz gsoc2013-evolution-2e83206b30fad6e108b4a393002c171df0474c9e.tar.xz gsoc2013-evolution-2e83206b30fad6e108b4a393002c171df0474c9e.tar.zst gsoc2013-evolution-2e83206b30fad6e108b4a393002c171df0474c9e.zip |
Fix some bootstrapping issues.
svn path=/branches/kill-bonobo/; revision=36291
Diffstat (limited to 'shell/e-shell-window-private.h')
-rw-r--r-- | shell/e-shell-window-private.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/shell/e-shell-window-private.h b/shell/e-shell-window-private.h index ef4fa2a728..67cd51458b 100644 --- a/shell/e-shell-window-private.h +++ b/shell/e-shell-window-private.h @@ -23,8 +23,11 @@ #include "e-shell-window.h" +#include <string.h> #include <glib/gi18n.h> +#include <e-util/e-util.h> +#include <e-util/gconf-bridge.h> #include <filter/rule-editor.h> #include <widgets/misc/e-menu-tool-button.h> #include <widgets/misc/e-online-button.h> @@ -53,6 +56,11 @@ if ((obj) != NULL) { g_object_unref (obj); (obj) = NULL; } \ } G_STMT_END +/* Format for switcher action names. + * The last part is the shell view name. + * (e.g. switch-to-mail, switch-to-calendar) */ +#define SWITCHER_FORMAT "switch-to-%s" + G_BEGIN_DECLS struct _EShellWindowPrivate { @@ -66,7 +74,7 @@ struct _EShellWindowPrivate { GtkActionGroup *gal_view_actions; GtkActionGroup *new_item_actions; GtkActionGroup *new_source_actions; - GtkActionGroup *shell_view_actions; + GtkActionGroup *switcher_actions; guint gal_view_merge_id; /*** Shell Views ***/ @@ -101,9 +109,14 @@ void e_shell_window_private_finalize (EShellWindow *shell_window); /* Private Utilities */ void e_shell_window_actions_init (EShellWindow *shell_window); +void e_shell_window_switch_to_view (EShellWindow *shell_window, + const gchar *view_name); GtkWidget * e_shell_window_create_new_menu (EShellWindow *shell_window); -void e_shell_window_create_shell_view_actions +void e_shell_window_create_switcher_actions (EShellWindow *shell_window); +void e_shell_window_update_icon (EShellWindow *shell_window); +void e_shell_window_update_title (EShellWindow *shell_window); +void e_shell_window_update_new_menu (EShellWindow *shell_window); void e_shell_window_update_gal_view_menu (EShellWindow *shell_window); |