#7560 HIGH 8.2.0 (: cp: Inconsistent behavior after changing the xo color
Zarro Boogs per Child
bugtracker at laptop.org
Wed Jul 23 10:52:51 EDT 2008
#7560: cp: Inconsistent behavior after changing the xo color
----------------------+-----------------------------------------------------
Reporter: erikos | Owner: erikos
Type: defect | Status: new
Priority: high | Milestone: 8.2.0 (was Update.2)
Component: sugar | Version: Development build as of this date
Resolution: | Keywords: r?
Next_action: review | Verified: 0
Blockedby: | Blocking: 7380
----------------------+-----------------------------------------------------
Changes (by erikos):
* keywords: 8.2.0:- 9.1.0:? => r?
* next_action: design => review
* milestone: 9.1.0 => 8.2.0 (was Update.2)
Comment:
{{{
diff --git a/src/controlpanel/gui.py b/src/controlpanel/gui.py
index 5693135..e42426b 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)
}}}
As discussed with Eben we special case the aboutme-section(nick, color)
and remove the Later functionality for that.
--
Ticket URL: <http://dev.laptop.org/ticket/7560#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list