Browse Source

it's 'setattr', no underscore. fixes #208

master
Julio Biason 15 years ago
parent
commit
ac8555d776
  1. 2
      mitterlib/ui/ui_pygtk.py

2
mitterlib/ui/ui_pygtk.py

@ -946,7 +946,7 @@ class Interface(object):
page = self._main_tabs.get_current_page() page = self._main_tabs.get_current_page()
(grid, counter) = self._grids[page] (grid, counter) = self._grids[page]
grid.get_model().clear() grid.get_model().clear()
set_attr(self, counter, 0) setattr(self, counter, 0)
self._message_count_updated() self._message_count_updated()
return return

Loading…
Cancel
Save