From 48462592cb67d956cf8b4a69eba00153d585c462 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 22 Jan 2010 11:46:34 -0500 Subject: 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. --- doc/reference/shell/tmpl/e-shell-window.sgml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc/reference/shell/tmpl/e-shell-window.sgml') 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 + + + + + +@eshellwindow: the object which received the signal. +@arg1: + @@ -103,6 +111,16 @@ EShellWindow @Returns: + + + + + +@shell_window: +@view_name: +@Returns: + + -- cgit v1.2.3