aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-08-11 05:18:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-08-11 05:20:35 +0800
commit161df81dd99ddfe090b12f73d5b8dd3701d63f44 (patch)
tree9e28c557a5073cd343351ae122684d806466155c /shell/e-shell-window.h
parent2ecce97b88d418a77eb399ff4ca70a329e6aed3b (diff)
downloadgsoc2013-evolution-161df81dd99ddfe090b12f73d5b8dd3701d63f44.tar
gsoc2013-evolution-161df81dd99ddfe090b12f73d5b8dd3701d63f44.tar.gz
gsoc2013-evolution-161df81dd99ddfe090b12f73d5b8dd3701d63f44.tar.bz2
gsoc2013-evolution-161df81dd99ddfe090b12f73d5b8dd3701d63f44.tar.lz
gsoc2013-evolution-161df81dd99ddfe090b12f73d5b8dd3701d63f44.tar.xz
gsoc2013-evolution-161df81dd99ddfe090b12f73d5b8dd3701d63f44.tar.zst
gsoc2013-evolution-161df81dd99ddfe090b12f73d5b8dd3701d63f44.zip
Bug 704440 - Close shell window alerts with Escape key
This adds a "close-alert" signal to EShellWindow, which is bound to GDK_KEY_Escape. The default handler closes view-specific alerts first, then global alerts.
Diffstat (limited to 'shell/e-shell-window.h')
-rw-r--r--shell/e-shell-window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/e-shell-window.h b/shell/e-shell-window.h
index 635184f4b9..4aaed79922 100644
--- a/shell/e-shell-window.h
+++ b/shell/e-shell-window.h
@@ -67,6 +67,7 @@ struct _EShellWindowClass {
GtkWindowClass parent_class;
/* Signals */
+ void (*close_alert) (EShellWindow *shell_window);
void (*shell_view_created) (EShellWindow *shell_window,
struct _EShellView *shell_view);