diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-02-28 23:50:38 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-02-28 23:50:38 +0100 |
commit | 7c1842b22c68d7e0978859ea173a5cf719cbb40b (patch) | |
tree | af44cd8465eb2c8fddb2db0b18f8657d8f5b5a76 /portato/gui/gtk | |
parent | 050ed7cd995d5f5b2714d2c82c054cad4d8d357c (diff) | |
download | portato-7c1842b22c68d7e0978859ea173a5cf719cbb40b.tar.gz portato-7c1842b22c68d7e0978859ea173a5cf719cbb40b.tar.bz2 portato-7c1842b22c68d7e0978859ea173a5cf719cbb40b.zip |
use refresh_stores
Diffstat (limited to '')
-rw-r--r-- | portato/gui/gtk/windows.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py index e06a7b4..c7dc79b 100644 --- a/portato/gui/gtk/windows.py +++ b/portato/gui/gtk/windows.py @@ -1667,17 +1667,7 @@ class MainWindow (Window): if txt or self.db.restrict: self.db.restrict = txt - store = self.catList.get_model() - store.clear() - self.fill_cat_store(store) - - store = self.pkgList.get_model() - store.clear() - try: - self.fill_pkg_store(store, self.selCatName) - except AttributeError: # no selCatName -> so no category selected --> ignore - debug("No category selected --> should be no harm.") - + self.refresh_stores() return True def cb_preferences_clicked (self, *args): |