diff options
author | Kshitij Kumar <kshitijakumar@gmail.com> | 2013-01-13 06:28:14 (GMT) |
---|---|---|
committer | Kshitij Kumar <kshitijakumar@gmail.com> | 2013-01-13 06:28:14 (GMT) |
commit | 1dbdaaf0dc26c3a3853bed92cbbb94534e997648 (patch) | |
tree | c6e79c20436d38ce09d1b2888d892f4db08b12f8 /Mini/InstrumentPanel.py | |
parent | b6c025e8f0c0d357dc1c53c098b2b40721ba7bd1 (diff) |
PyGI changes
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() |