diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-02 08:38:52 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-02 11:27:11 +0800 |
commit | 793e57e24ca2ac458baa0897ad971dfbf08e8291 (patch) | |
tree | baf73cba7ce97485e03502d4eab2f551120bfb7e /shell/e-shell-window-actions.h | |
parent | 9379111ae48dd0e9eaea3fcdd14593414a60c115 (diff) | |
download | gsoc2013-evolution-793e57e24ca2ac458baa0897ad971dfbf08e8291.tar.gz 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-actions.h')
-rw-r--r-- | shell/e-shell-window-actions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-window-actions.h b/shell/e-shell-window-actions.h index dec9160868..8636b69648 100644 --- a/shell/e-shell-window-actions.h +++ b/shell/e-shell-window-actions.h @@ -73,10 +73,10 @@ E_SHELL_WINDOW_ACTION ((window), "send-receive") #define E_SHELL_WINDOW_ACTION_SHOW_SIDEBAR(window) \ E_SHELL_WINDOW_ACTION ((window), "show-sidebar") -#define E_SHELL_WINDOW_ACTION_SHOW_STATUSBAR(window) \ - E_SHELL_WINDOW_ACTION ((window), "show-statusbar") #define E_SHELL_WINDOW_ACTION_SHOW_SWITCHER(window) \ E_SHELL_WINDOW_ACTION ((window), "show-switcher") +#define E_SHELL_WINDOW_ACTION_SHOW_TASKBAR(window) \ + E_SHELL_WINDOW_ACTION ((window), "show-taskbar") #define E_SHELL_WINDOW_ACTION_SHOW_TOOLBAR(window) \ E_SHELL_WINDOW_ACTION ((window), "show-toolbar") #define E_SHELL_WINDOW_ACTION_SUBMIT_BUG(window) \ |