diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-23 00:46:34 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-23 00:46:34 +0800 |
commit | 48462592cb67d956cf8b4a69eba00153d585c462 (patch) | |
tree | e23046a3bcadc5b27457c85b13ec3a2c9460741c /doc/reference/shell/tmpl/e-shell-window.sgml | |
parent | 97ec849ee54387df954ee461ae371c3054443bfa (diff) | |
download | gsoc2013-evolution-48462592cb67d956cf8b4a69eba00153d585c462.tar.gz gsoc2013-evolution-48462592cb67d956cf8b4a69eba00153d585c462.tar.zst gsoc2013-evolution-48462592cb67d956cf8b4a69eba00153d585c462.zip |
Add a EShellWindow::shell-view-created signal.
The signal uses the name of the newly created shell view as the detail,
so for example "shell-view-created::mail" is emitted when the "mail"
view is created.
Also, add e_shell_window_peek_shell_view() to obtain a shell view if it
exists but without instantiating it.
Using these new tools, teach the templates plugin to wait for the user
to switch to the "mail" view before connecting to its "update-actions"
signal. Previously is was instantiating the "mail" view itself.
Diffstat (limited to 'doc/reference/shell/tmpl/e-shell-window.sgml')
-rw-r--r-- | doc/reference/shell/tmpl/e-shell-window.sgml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/reference/shell/tmpl/e-shell-window.sgml b/doc/reference/shell/tmpl/e-shell-window.sgml index 89da4a143c..383c782da2 100644 --- a/doc/reference/shell/tmpl/e-shell-window.sgml +++ b/doc/reference/shell/tmpl/e-shell-window.sgml @@ -23,6 +23,14 @@ EShellWindow </para> +<!-- ##### SIGNAL EShellWindow::shell-view-created ##### --> +<para> + +</para> + +@eshellwindow: the object which received the signal. +@arg1: + <!-- ##### ARG EShellWindow:active-view ##### --> <para> @@ -103,6 +111,16 @@ EShellWindow @Returns: +<!-- ##### FUNCTION e_shell_window_peek_shell_view ##### --> +<para> + +</para> + +@shell_window: +@view_name: +@Returns: + + <!-- ##### FUNCTION e_shell_window_get_shell_view_action ##### --> <para> |