Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/controlpanel/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/controlpanel/gui.py')
-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)