Browse Source

return focus after update

master
Julio Biason 15 years ago
parent
commit
91d8bdf6b4
  1. 8
      issues/issue-473598ce0e59c10ef110066851c294db49864a4e.yaml
  2. 8
      issues/issue-8b9fbefd5cf9f5638d9e54a1538abca58c932c0a.yaml
  3. 6
      mitterlib/ui/ui_pygtk.py

8
issues/issue-473598ce0e59c10ef110066851c294db49864a4e.yaml

@ -7,8 +7,8 @@ type: :feature
component: pygtk
release: 1.0.0
reporter: Julio Biason <julio.biason@gmail.com>
status: :unstarted
disposition:
status: :closed
disposition: :fixed
creation_time: 2009-12-22 12:42:34.952481 Z
references: []
@ -18,3 +18,7 @@ log_events:
- Julio Biason <julio.biason@gmail.com>
- created
- ""
- - 2009-12-25 18:24:00.066098 Z
- Julio Biason <julio.biason@gmail.com>
- closed with disposition fixed
- ""

8
issues/issue-8b9fbefd5cf9f5638d9e54a1538abca58c932c0a.yaml

@ -5,8 +5,8 @@ type: :bugfix
component: pygtk
release: 1.0.0
reporter: Julio Biason <julio.biason@gmail.com>
status: :unstarted
disposition:
status: :closed
disposition: :wontfix
creation_time: 2009-12-22 12:53:49.180343 Z
references: []
@ -16,3 +16,7 @@ log_events:
- Julio Biason <julio.biason@gmail.com>
- created
- ""
- - 2009-12-25 17:22:50.223774 Z
- Julio Biason <julio.biason@gmail.com>
- closed with disposition wontfix
- it is.

6
mitterlib/ui/ui_pygtk.py

@ -1173,6 +1173,12 @@ class Interface(object):
self._clear_text(None)
self._update_statusbar('Your status was updated.')
self._clear_reply()
# change the focus to the grid.
page = self._main_tabs.get_current_page()
child = self._main_tabs.get_nth_page(page)
child.get_child().grab_focus() # notebook have ScrolledWindows,
# TreeViews inside that.
return
def _exception_update_status(self, widget, exception):

Loading…
Cancel
Save