summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--geneticone/gui/windows.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/geneticone/gui/windows.py b/geneticone/gui/windows.py
index 031306b..f07bfa4 100644
--- a/geneticone/gui/windows.py
+++ b/geneticone/gui/windows.py
@@ -363,10 +363,12 @@ class PackageWindow (AbstractDialog):
"""Callback for the changed ComboBox.
It then rebuilds the useList and the checkboxes."""
- store = self.useList.get_model()
- store.clear()
- self.fill_use_list(store)
+ # remove old useList
+ self.useListScroll.remove(self.useList)
+ # build new
+ self.useList = self.build_use_list()
+ self.useListScroll.add(self.useList)
pkg = self.actual_package()
if pkg.is_missing_keyword():
-05-08 23:52:56 +0200'>2007-05-08ui-view: show pathname if specified in querystringLars Hjemli3-5/+10 2007-05-08Update to libgit 1.5.2-rc2Lars Hjemli9-837/+50 2007-02-21Layout updateLars Hjemli9-32/+127 2007-02-08Make snapshot feature configurableLars Hjemli5-6/+22 2007-02-08Add support for snapshotsLars Hjemli8-8/+153 2007-02-05cgit v0.2v0.2Lars Hjemli1-1/+1 2007-02-05Add support for prefix and gitsrc arguments to 'make'Lars Hjemli2-15/+37 2007-02-04Update cgitrc templateLars Hjemli1-21/+32 2007-02-04Add support for lightweight tagsLars Hjemli2-19/+37 2007-02-04Read repo-info from /etc/cgitrcLars Hjemli5-55/+120 2007-02-04Do not die if tag has no messageLars Hjemli1-2/+2 2007-02-03Fix search for non-virtual urlsLars Hjemli1-0/+6 2007-01-28Update README with install/config informationLars Hjemli1-24/+28