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 | |
parent | 97ec849ee54387df954ee461ae371c3054443bfa (diff) | |
download | gsoc2013-evolution-48462592cb67d956cf8b4a69eba00153d585c462.tar gsoc2013-evolution-48462592cb67d956cf8b4a69eba00153d585c462.tar.gz gsoc2013-evolution-48462592cb67d956cf8b4a69eba00153d585c462.tar.bz2 gsoc2013-evolution-48462592cb67d956cf8b4a69eba00153d585c462.tar.lz gsoc2013-evolution-48462592cb67d956cf8b4a69eba00153d585c462.tar.xz 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')
-rw-r--r-- | doc/reference/shell/eshell-sections.txt | 1 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/e-shell-window.sgml | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/reference/shell/eshell-sections.txt b/doc/reference/shell/eshell-sections.txt index 7dc8df9e72..f65ce604a2 100644 --- a/doc/reference/shell/eshell-sections.txt +++ b/doc/reference/shell/eshell-sections.txt @@ -290,6 +290,7 @@ EShellWindow e_shell_window_new e_shell_window_get_shell e_shell_window_get_shell_view +e_shell_window_peek_shell_view e_shell_window_get_shell_view_action e_shell_window_get_ui_manager e_shell_window_get_action 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> |