From bde1bc6bca4c5ed63a193f7dc50252e550a0fb40 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Tue, 11 May 2010 18:47:09 +0530 Subject: Handle adding 'X' close button on the menu bar. Restore adding the same for adding in calendar since it doesn't have a toolbar. --- shell/e-shell-window-actions.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'shell/e-shell-window-actions.c') 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, + "w", + N_("Close this window"), + G_CALLBACK (action_close_cb) }, + + { "close-window", GTK_STOCK_CLOSE, N_("_Close Window"), -- cgit v1.2.3