aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-12-20 02:30:45 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-12-27 12:31:55 +0800
commit59928e69ed7b769585282ae2b11bca1a9e9a1ca9 (patch)
treed5401373e09201c099d3b09d65caeccb948f42d1 /shell/e-shell.h
parenta1906cdfa44854cddce552250ca6f82a3b108781 (diff)
downloadgsoc2013-evolution-59928e69ed7b769585282ae2b11bca1a9e9a1ca9.tar.gz
gsoc2013-evolution-59928e69ed7b769585282ae2b11bca1a9e9a1ca9.tar.zst
gsoc2013-evolution-59928e69ed7b769585282ae2b11bca1a9e9a1ca9.zip
Add e_shell_submit_alert().
An easy way to broadcast application-wide alerts to shell windows. These alerts will persist in all current and future shell windows until responded to (either programmatically or by the user).
Diffstat (limited to 'shell/e-shell.h')
-rw-r--r--shell/e-shell.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell.h b/shell/e-shell.h
index 3f037ba2d6..22aef9252f 100644
--- a/shell/e-shell.h
+++ b/shell/e-shell.h
@@ -26,6 +26,7 @@
#include <gconf/gconf-client.h>
#include <e-util/e-activity.h>
+#include <e-util/e-alert.h>
#include <shell/e-shell-common.h>
#include <shell/e-shell-backend.h>
@@ -128,6 +129,8 @@ GtkWidget * e_shell_create_shell_window (EShell *shell,
guint e_shell_handle_uris (EShell *shell,
gchar **uris,
gboolean do_import);
+void e_shell_submit_alert (EShell *shell,
+ EAlert *alert);
void e_shell_watch_window (EShell *shell,
GtkWindow *window);
GList * e_shell_get_watched_windows (EShell *shell);