From 51ebf20237270a785af0aa0e614db42275a05c62 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 15 Oct 2010 14:51:13 -0400 Subject: EAlert: Allow arbitrary actions to be added. You can now amend the predefined actions in an EAlert by calling e_alert_add_action(). Useful for adding actions from an existing GtkUIManager. Call e_alert_peek_actions() to obtain a combined list of predefined and custom actions. These will typically serve as "related" actions for GtkButtons (cf. gtk_activatable_set_related_action()). Also, both EShellWindow and EShellView now implement EAlertSink. Use EShellWindow for application-wide alerts, EShellView for view-specific alerts. --- doc/reference/shell/eshell-sections.txt | 1 + doc/reference/shell/tmpl/e-shell-window.sgml | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'doc/reference/shell') diff --git a/doc/reference/shell/eshell-sections.txt b/doc/reference/shell/eshell-sections.txt index 518a2317f5..2c0e82de89 100644 --- a/doc/reference/shell/eshell-sections.txt +++ b/doc/reference/shell/eshell-sections.txt @@ -321,6 +321,7 @@ 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_alert_bar e_shell_window_get_focus_tracker 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 817e43f29b..e70971d2a8 100644 --- a/doc/reference/shell/tmpl/e-shell-window.sgml +++ b/doc/reference/shell/tmpl/e-shell-window.sgml @@ -39,6 +39,11 @@ EShellWindow + + + + + -- cgit v1.2.3