From 793e57e24ca2ac458baa0897ad971dfbf08e8291 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 1 Dec 2009 19:38:52 -0500 Subject: 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 --- doc/reference/shell/tmpl/e-alert.sgml | 173 ++++++++++++++++++++++++++ doc/reference/shell/tmpl/e-error.sgml | 19 --- doc/reference/shell/tmpl/e-shell-taskbar.sgml | 9 ++ doc/reference/shell/tmpl/e-shell-window.sgml | 92 ++++++++++++++ doc/reference/shell/tmpl/eshell-unused.sgml | 31 +++++ doc/reference/shell/tmpl/shell-actions.sgml | 4 +- 6 files changed, 307 insertions(+), 21 deletions(-) create mode 100644 doc/reference/shell/tmpl/e-alert.sgml delete mode 100644 doc/reference/shell/tmpl/e-error.sgml (limited to 'doc/reference/shell/tmpl') diff --git a/doc/reference/shell/tmpl/e-alert.sgml b/doc/reference/shell/tmpl/e-alert.sgml new file mode 100644 index 0000000000..d61c8a5888 --- /dev/null +++ b/doc/reference/shell/tmpl/e-alert.sgml @@ -0,0 +1,173 @@ + +User Alert Handling + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@tag: +@arg0: +@Varargs: +@Returns: + + + + + + + +@tag: +@arg0: +@ap: +@Returns: + + + + + + + +@alert: + + + + + + + +@parent: +@alert: +@Returns: + + + + + + + +@parent: +@tag: +@arg0: +@Varargs: +@Returns: + + + + + + + +@parent: +@alert: +@Returns: + + + + + + + +@parent: +@tag: +@arg0: +@Varargs: +@Returns: + + + + + + + +@dialog: +@Returns: + + diff --git a/doc/reference/shell/tmpl/e-error.sgml b/doc/reference/shell/tmpl/e-error.sgml deleted file mode 100644 index 0aaf3e01c6..0000000000 --- a/doc/reference/shell/tmpl/e-error.sgml +++ /dev/null @@ -1,19 +0,0 @@ - -Error Dialog Functions - - - - - - - - - - - - - - - - - diff --git a/doc/reference/shell/tmpl/e-shell-taskbar.sgml b/doc/reference/shell/tmpl/e-shell-taskbar.sgml index 6aa90f1c72..f1bbdf02ef 100644 --- a/doc/reference/shell/tmpl/e-shell-taskbar.sgml +++ b/doc/reference/shell/tmpl/e-shell-taskbar.sgml @@ -77,3 +77,12 @@ EShellTaskbar @shell_taskbar: + + + + + +@shell_taskbar: +@Returns: + + diff --git a/doc/reference/shell/tmpl/e-shell-window.sgml b/doc/reference/shell/tmpl/e-shell-window.sgml index 0020ae1eb8..33a5928476 100644 --- a/doc/reference/shell/tmpl/e-shell-window.sgml +++ b/doc/reference/shell/tmpl/e-shell-window.sgml @@ -43,6 +43,26 @@ EShellWindow + + + + + + + + + + + + + + + + + + + + @@ -172,6 +192,78 @@ EShellWindow @group_name: + + + + + +@shell_window: +@Returns: + + + + + + + +@shell_window: +@sidebar_visible: + + + + + + + +@shell_window: +@Returns: + + + + + + + +@shell_window: +@switcher_visible: + + + + + + + +@shell_window: +@Returns: + + + + + + + +@shell_window: +@taskbar_visible: + + + + + + + +@shell_window: +@Returns: + + + + + + + +@shell_window: +@toolbar_visible: + + diff --git a/doc/reference/shell/tmpl/eshell-unused.sgml b/doc/reference/shell/tmpl/eshell-unused.sgml index 9478259742..96fc342b98 100644 --- a/doc/reference/shell/tmpl/eshell-unused.sgml +++ b/doc/reference/shell/tmpl/eshell-unused.sgml @@ -70,6 +70,30 @@ EActivityHandler e-config-upgrade + + + + + + + + + + + + + + + + + + + + + +Error Dialog Functions + + @@ -770,6 +794,13 @@ intelligent @window: + + + + + +@window: + diff --git a/doc/reference/shell/tmpl/shell-actions.sgml b/doc/reference/shell/tmpl/shell-actions.sgml index ff50f7ac45..539cdb017a 100644 --- a/doc/reference/shell/tmpl/shell-actions.sgml +++ b/doc/reference/shell/tmpl/shell-actions.sgml @@ -193,7 +193,7 @@ Shell Actions @window: - + @@ -201,7 +201,7 @@ Shell Actions @window: - + -- cgit v1.2.3