|
|
|
@ -897,7 +897,7 @@ class Interface(object):
|
|
|
|
|
### Results for the update status call |
|
|
|
|
def _post_update_status(self, widget, data): |
|
|
|
|
"""Called when the status is updated correctly.""" |
|
|
|
|
self._update_statusbar(_('Your status was updated.')) |
|
|
|
|
self._statusbar.volatile(_('Your status was updated.'), pair='update') |
|
|
|
|
self._action_group.get_action('Update').set_sensitive(True) |
|
|
|
|
self._clear_text(None) |
|
|
|
|
|
|
|
|
@ -926,6 +926,7 @@ class Interface(object):
|
|
|
|
|
# re-enable the update, or the user won't be able to repost their |
|
|
|
|
# message. |
|
|
|
|
self._action_group.get_action('Update').set_sensitive(True) |
|
|
|
|
self._actionbar.volatile(_('Update failed.'), pair='update') |
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
### Results for the delete message call |
|
|
|
|