aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-05-11 21:17:09 +0800
committerSrinivasa Ragavan <sragavan@gnome.org>2010-05-11 21:19:12 +0800
commitbde1bc6bca4c5ed63a193f7dc50252e550a0fb40 (patch)
tree5de040dc4d9919f7aca9aca631890215b7434b46 /shell/e-shell-window-actions.c
parente439bfcddac8e9db50f34d9fd13aebf61f995c44 (diff)
downloadgsoc2013-evolution-bde1bc6bca4c5ed63a193f7dc50252e550a0fb40.tar
gsoc2013-evolution-bde1bc6bca4c5ed63a193f7dc50252e550a0fb40.tar.gz
gsoc2013-evolution-bde1bc6bca4c5ed63a193f7dc50252e550a0fb40.tar.bz2
gsoc2013-evolution-bde1bc6bca4c5ed63a193f7dc50252e550a0fb40.tar.lz
gsoc2013-evolution-bde1bc6bca4c5ed63a193f7dc50252e550a0fb40.tar.xz
gsoc2013-evolution-bde1bc6bca4c5ed63a193f7dc50252e550a0fb40.tar.zst
gsoc2013-evolution-bde1bc6bca4c5ed63a193f7dc50252e550a0fb40.zip
Handle adding 'X' close button on the menu bar. Restore adding the same
for adding in calendar since it doesn't have a toolbar.
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index 06fce0fe69..65c6acff7a 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -1453,6 +1453,14 @@ static GtkActionEntry shell_entries[] = {
N_("Close this window"),
G_CALLBACK (action_close_cb) },
+ { "close-window-menu",
+ GTK_STOCK_CLOSE,
+ NULL,
+ "<Control>w",
+ N_("Close this window"),
+ G_CALLBACK (action_close_cb) },
+
+
{ "close-window",
GTK_STOCK_CLOSE,
N_("_Close Window"),