diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-12-23 15:57:31 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-12-23 15:57:31 (GMT) |
commit | 4c4cf68a8d24a7b2ebdff0353958ec40712e65e2 (patch) | |
tree | 5cd458c7beac46ca098551d0dc314b14422a26a6 | |
parent | 01f57375dfebeceff9c1ab49d840068b6774b383 (diff) |
add icon dialog
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | pippy_app.py | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -2,6 +2,7 @@ ENHANCEMENTS: * Edit on multiple tabs (svineet) +* Add custom icon selection when saving as Sugar activity (Ignacio Rodriguez) 54 diff --git a/pippy_app.py b/pippy_app.py index fdbd127..0616cac 100644 --- a/pippy_app.py +++ b/pippy_app.py @@ -484,7 +484,7 @@ class PippyActivity(ViewSourceActivity, groupthink.sugar_tools.GroupActivity): ok_icon = Icon(icon_name='dialog-ok') alert_icon.add_button(Gtk.ResponseType.OK, _('Ok'), ok_icon) alert_icon.props.title = _('Activity icon') - alert_icon.props.msg = _('You need select an activity icon.') + alert_icon.props.msg = _('Please select an activity icon.') def internal_callback(window=None, event=None): icon = "%s/activity/activity-default.svg" % (get_bundle_path()) @@ -525,11 +525,11 @@ class PippyActivity(ViewSourceActivity, groupthink.sugar_tools.GroupActivity): def alert_response(alert, response_id): self.remove_alert(alert) - def dialog(): + def _icon_dialog(): dialog = IconDialog() dialog.connect('destroy', internal_callback) - GObject.idle_add(dialog) + GObject.idle_add(_icon_dialog) alert_icon.connect('response', alert_response) self.add_alert(alert_icon) |