aboutsummaryrefslogtreecommitdiffstats
path: root/ui
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 /ui
parente439bfcddac8e9db50f34d9fd13aebf61f995c44 (diff)
downloadgsoc2013-evolution-bde1bc6bca4c5ed63a193f7dc50252e550a0fb40.tar.gz
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 'ui')
-rw-r--r--ui/evolution-calendars.ui7
-rw-r--r--ui/evolution-shell.ui2
2 files changed, 8 insertions, 1 deletions
diff --git a/ui/evolution-calendars.ui b/ui/evolution-calendars.ui
index cbffb867b0..8bd41d4bb1 100644
--- a/ui/evolution-calendars.ui
+++ b/ui/evolution-calendars.ui
@@ -59,7 +59,12 @@
<separator/>
<toolitem action='preferences'/>
#endif
-
+ </toolbar>
+ <toolbar name='close-toolbar'>
+#if EXPRESS
+ <separator expand="true"/>
+ <toolitem action='quit-calendar'/>
+#endif
</toolbar>
<popup name='calendar-popup'>
<menuitem action='calendar-new'/>
diff --git a/ui/evolution-shell.ui b/ui/evolution-shell.ui
index 5e249daa2e..c16189932e 100644
--- a/ui/evolution-shell.ui
+++ b/ui/evolution-shell.ui
@@ -94,4 +94,6 @@
<placeholder name='toolbar-actions'/>
</toolbar>
<toolbar name='search-toolbar'/>
+ <toolbar name='close-toolbar'/>
+
</ui>