|
|
@ -487,9 +487,19 @@ class Interface(object): |
|
|
|
|
|
|
|
|
|
|
|
status = self._update_field.text.strip() |
|
|
|
status = self._update_field.text.strip() |
|
|
|
if not status: |
|
|
|
if not status: |
|
|
|
|
|
|
|
_log.debug('Empty message, aborting.') |
|
|
|
self._update_field.hide() |
|
|
|
self._update_field.hide() |
|
|
|
return |
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
page = self._main_tabs.get_current_page() |
|
|
|
|
|
|
|
child = self._main_tabs.get_nth_page(page) |
|
|
|
|
|
|
|
if child.selected: |
|
|
|
|
|
|
|
if child.selected.reply_prefix.strip() == status: |
|
|
|
|
|
|
|
_log.debug('Empty reply, aborting.') |
|
|
|
|
|
|
|
self._udpate_field.hide() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_log.debug('Status: %s', status) |
|
|
|
_log.debug('Status: %s', status) |
|
|
|
|
|
|
|
|
|
|
|
self._update_statusbar(_('Sending update...')) |
|
|
|
self._update_statusbar(_('Sending update...')) |
|
|
|