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/eshell-sections.txt | 1 + doc/reference/shell/tmpl/e-shell-window.sgml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) (limited to 'doc/reference') 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 + + + + + +@eshellwindow: the object which received the signal. +@arg1: + @@ -103,6 +111,16 @@ EShellWindow @Returns: + + + + + +@shell_window: +@view_name: +@Returns: + + -- cgit v1.2.3