summaryrefslogtreecommitdiff
path: root/geneticone
diff options
context:
space:
mode:
authornecoro <>2006-09-25 08:31:15 +0000
committernecoro <>2006-09-25 08:31:15 +0000
commitffc7dffd26e741331bc0e980883ef0e8678f80cd (patch)
tree96132da748c9acd6129a2dab15ddba383b088263 /geneticone
parent9e3282808a29e57c184c247866656be09771ce3d (diff)
downloadportato-ffc7dffd26e741331bc0e980883ef0e8678f80cd.tar.gz
portato-ffc7dffd26e741331bc0e980883ef0e8678f80cd.tar.bz2
portato-ffc7dffd26e741331bc0e980883ef0e8678f80cd.zip
Added scrollbars for the queue-window
Diffstat (limited to 'geneticone')
-rw-r--r--geneticone/gui/main.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/geneticone/gui/main.py b/geneticone/gui/main.py
index b533e11..9853f2a 100644
--- a/geneticone/gui/main.py
+++ b/geneticone/gui/main.py
@@ -582,13 +582,16 @@ class MainWindow:
queueVB = gtk.VBox(False, 0)
hb.pack_start(queueVB, True, True)
+ queueScroll = gtk.ScrolledWindow()
+ queueScroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
emergeStore = gtk.TreeStore(str)
self.emergeView = gtk.TreeView(emergeStore)
cell = gtk.CellRendererText()
col = gtk.TreeViewColumn("Queue", cell, text = 0)
self.emergeView.append_column(col)
self.emergeView.connect("row-activated", self.cb_row_activated, emergeStore)
- queueVB.pack_start(self.emergeView, True, True)
+ queueScroll.add(self.emergeView)
+ queueVB.pack_start(queueScroll, True, True)
# buttons right unter the queue list
buttonBox = gtk.HButtonBox()