aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-04-15 03:56:30 +0800
committerMichael Meeks <michael.meeks@novell.com>2010-04-15 03:56:30 +0800
commit9b90e087b0c216cbc802663f4c8dc06068f235bb (patch)
treeb69b0a70c0ec273bcddf1a08854f1cbbb1c4cab5 /shell/e-shell-window-actions.c
parent46cf8be3f3bb9f2287f60f847873288d91b7abeb (diff)
downloadgsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar.gz
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar.bz2
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar.lz
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar.xz
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar.zst
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.zip
add a close-window action that doesn't become insensitive on the last window.
Use this in meego / full-screen mode
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index 9b14730c7b..288c4633cc 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -1446,6 +1446,13 @@ static GtkActionEntry shell_entries[] = {
N_("Close this window"),
G_CALLBACK (action_close_cb) },
+ { "close-window",
+ GTK_STOCK_CLOSE,
+ N_("_Close Window"),
+ "<Control>w",
+ N_("Close this window"),
+ G_CALLBACK (action_close_cb) },
+
{ "contents",
GTK_STOCK_HELP,
N_("_Contents"),