aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-private.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-02 08:38:52 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-02 11:27:11 +0800
commit793e57e24ca2ac458baa0897ad971dfbf08e8291 (patch)
treebaf73cba7ce97485e03502d4eab2f551120bfb7e /shell/e-shell-window-private.h
parent9379111ae48dd0e9eaea3fcdd14593414a60c115 (diff)
downloadgsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.tar
gsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.tar.gz
gsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.tar.bz2
gsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.tar.lz
gsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.tar.xz
gsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.tar.zst
gsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.zip
Add private virtual methods to EShellWindowClass.
So Anjal can override what it needs to for its own purpose. Also makes the EShellWindow design a little cleaner. Methods added: GtkWidget * (*construct_menubar) (EShellWindow *shell_window); GtkWidget * (*construct_toolbar) (EShellWindow *shell_window); GtkWidget * (*construct_sidebar) (EShellWindow *shell_window); GtkWidget * (*construct_content) (EShellWindow *shell_window); GtkWidget * (*construct_taskbar) (EShellWindow *shell_window); EShellView * (*create_shell_view) (EShellWindow *shell_window, const gchar *view_name); Also added some new GObject properties to help decouple actions from internal EShellWindow widgets created by these methods: EShellWindow:sidebar-visible EShellWindow:switcher-visible EShellWindow:taskbar-visible EShellWindow:toolbar-visible
Diffstat (limited to 'shell/e-shell-window-private.h')
-rw-r--r--shell/e-shell-window-private.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/shell/e-shell-window-private.h b/shell/e-shell-window-private.h
index 4570aba02f..635b6b6630 100644
--- a/shell/e-shell-window-private.h
+++ b/shell/e-shell-window-private.h
@@ -81,15 +81,10 @@ struct _EShellWindowPrivate {
/*** Widgetry ***/
- GtkWidget *main_menu;
- GtkWidget *main_toolbar;
- GtkWidget *menu_tool_button;
GtkWidget *content_pane;
GtkWidget *content_notebook;
GtkWidget *sidebar_notebook;
GtkWidget *switcher;
- GtkWidget *status_area;
- GtkWidget *online_button;
GtkWidget *tooltip_label;
GtkWidget *status_notebook;
@@ -100,8 +95,12 @@ struct _EShellWindowPrivate {
gchar *geometry;
- guint destroyed : 1; /* XXX Do we still need this? */
- guint safe_mode : 1;
+ guint destroyed : 1; /* XXX Do we still need this? */
+ guint safe_mode : 1;
+ guint sidebar_visible : 1;
+ guint switcher_visible : 1;
+ guint taskbar_visible : 1;
+ guint toolbar_visible : 1;
};
void e_shell_window_private_init (EShellWindow *shell_window);