Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2008-07-28 16:43:53 (GMT)
committer Simon Schampijer <simon@schampijer.de>2008-07-28 16:43:53 (GMT)
commitf8e3e55b82d68d1fc42bbb172778086415afc0be (patch)
tree0e1af9f99d67fb262eaa152919cd0d9527d38de6 /src
parent4cd17092d52519ab7aec5980762f4e745204af00 (diff)
cp: Inconsistent behavior after changing the xo color #7560
Diffstat (limited to 'src')
-rw-r--r--src/controlpanel/gui.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/controlpanel/gui.py b/src/controlpanel/gui.py
index 5693135..958e673 100644
--- a/src/controlpanel/gui.py
+++ b/src/controlpanel/gui.py
@@ -263,9 +263,10 @@ class ControlPanel(gtk.Window):
alert.add_button(gtk.RESPONSE_CANCEL, _('Cancel changes'), icon)
icon.show()
- icon = Icon(icon_name='dialog-ok')
- alert.add_button(gtk.RESPONSE_ACCEPT, _('Later'), icon)
- icon.show()
+ if self._current_option != 'aboutme':
+ icon = Icon(icon_name='dialog-ok')
+ alert.add_button(gtk.RESPONSE_ACCEPT, _('Later'), icon)
+ icon.show()
icon = Icon(icon_name='system-restart')
alert.add_button(gtk.RESPONSE_APPLY, _('Restart now'), icon)