Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Utils.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-02-01 01:57:04 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-02-01 01:57:04 (GMT)
commit4af506e8a79b598541387fbfe92d0cfbfc1c0c08 (patch)
treeeab0ba1f11b0419ee8d8584c57023aa9d9ab57ad /Utils.py
parente02b2e586759e2582c5f361d3e81d703a44d6d23 (diff)
play button
Diffstat (limited to 'Utils.py')
-rw-r--r--Utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utils.py b/Utils.py
index f71699b..f64d015 100644
--- a/Utils.py
+++ b/Utils.py
@@ -196,9 +196,9 @@ class ScrolledBox(gtk.EventBox):
self._scrolled = gtk.ScrolledWindow()
if orientation == gtk.ORIENTATION_HORIZONTAL:
- self._scrolled.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_NEVER)
+ self._scrolled.set_policy(arrows_policy, gtk.POLICY_NEVER)
else:
- self._scrolled.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC)
+ self._scrolled.set_policy(gtk.POLICY_NEVER, arrows_policy)
self._scrolled.connect('scroll-event', self._scroll_event_cb)
box.pack_start(self._scrolled, True, True, 0)