From ac8555d77624a91ab1dfa6aae64f4b972eabcea0 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 25 Jan 2010 10:37:42 -0200 Subject: [PATCH] it's 'setattr', no underscore. fixes #208 --- mitterlib/ui/ui_pygtk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index 5c2b139..806451e 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -946,7 +946,7 @@ class Interface(object): page = self._main_tabs.get_current_page() (grid, counter) = self._grids[page] grid.get_model().clear() - set_attr(self, counter, 0) + setattr(self, counter, 0) self._message_count_updated() return