|
|
@ -404,14 +404,14 @@ class Interface(object): |
|
|
|
self._update_action.set_property('sensitive', False) |
|
|
|
self._update_action.set_property('sensitive', False) |
|
|
|
self._update_action.connect('activate', self._update_status) |
|
|
|
self._update_action.connect('activate', self._update_status) |
|
|
|
action_group.add_action_with_accel(self._update_action, |
|
|
|
action_group.add_action_with_accel(self._update_action, |
|
|
|
'<Ctrl>Return') |
|
|
|
'Return') |
|
|
|
|
|
|
|
|
|
|
|
self._cancel_action = gtk.Action('Cancel', '_Cancel', |
|
|
|
self._cancel_action = gtk.Action('Cancel', '_Cancel', |
|
|
|
'Cancel the update', gtk.STOCK_CANCEL) |
|
|
|
'Cancel the update', gtk.STOCK_CANCEL) |
|
|
|
self._cancel_action.set_property('sensitive', False) |
|
|
|
self._cancel_action.set_property('sensitive', False) |
|
|
|
self._cancel_action.connect('activate', self._clear_text) |
|
|
|
self._cancel_action.connect('activate', self._clear_text) |
|
|
|
action_group.add_action_with_accel(self._cancel_action, |
|
|
|
action_group.add_action_with_accel(self._cancel_action, |
|
|
|
'<Ctrl>Escape') |
|
|
|
'Escape') |
|
|
|
|
|
|
|
|
|
|
|
clear_action = gtk.Action('Clear', '_Clear', |
|
|
|
clear_action = gtk.Action('Clear', '_Clear', |
|
|
|
'Clear the message list', gtk.STOCK_CLEAR) |
|
|
|
'Clear the message list', gtk.STOCK_CLEAR) |
|
|
|