diff options
Diffstat (limited to 'Mini/InstrumentPanel.py')
-rw-r--r-- | Mini/InstrumentPanel.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mini/InstrumentPanel.py b/Mini/InstrumentPanel.py index 0bbc967..f0a7054 100644 --- a/Mini/InstrumentPanel.py +++ b/Mini/InstrumentPanel.py @@ -1,6 +1,6 @@ -import pygtk +import gi pygtk.require( '2.0' ) -import gtk +from gi.repository import Gtk import time @@ -273,7 +273,7 @@ class InstrumentPanel( gtk.EventBox ): scrollwin.set_policy(gtk.POLICY_NEVER,gtk.POLICY_AUTOMATIC) scrollwin.add_with_viewport(box) box.get_parent().set_shadow_type(gtk.SHADOW_NONE) - self.mainVBox.pack_end(scrollwin) + self.mainVBox.pack_end(scrollwin, True, True, 0) self.show_all() |