Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scoreboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'scoreboard.py')
-rw-r--r--scoreboard.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/scoreboard.py b/scoreboard.py
index e57cfae..59c0102 100644
--- a/scoreboard.py
+++ b/scoreboard.py
@@ -35,7 +35,13 @@ class Scoreboard(gtk.EventBox):
fill_box.show()
self.vbox.pack_end(fill_box, True, True)
- self.add(self.vbox)
+ scroll = gtk.ScrolledWindow()
+ scroll.props.shadow_type = gtk.SHADOW_NONE
+ scroll.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC)
+ scroll.add_with_viewport(self.vbox)
+ scroll.set_border_width(0)
+ scroll.get_child().set_property('shadow-type', gtk.SHADOW_NONE)
+ self.add(scroll)
self.show_all()
def change_game(self, widget, data, grid):