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. --- shell/e-shell-window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'shell/e-shell-window.h') diff --git a/shell/e-shell-window.h b/shell/e-shell-window.h index 8e29093ed7..25e039a0ab 100644 --- a/shell/e-shell-window.h +++ b/shell/e-shell-window.h @@ -96,6 +96,7 @@ struct _EShellView * GtkAction * e_shell_window_get_shell_view_action (EShellWindow *shell_window, const gchar *view_name); +GtkWidget * e_shell_window_get_alert_bar (EShellWindow *shell_window); EFocusTracker * e_shell_window_get_focus_tracker (EShellWindow *shell_window); GtkUIManager * e_shell_window_get_ui_manager (EShellWindow *shell_window); -- cgit