diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-09-28 10:07:33 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-09-28 10:07:33 -0400 |
commit | 83776c1d7f67b927ad4226187544dd81f1d7fb8c (patch) | |
tree | 5ba94f76e9ac57142df6954c2f8eb2dc99682d07 /usr/share/mageiawelcome | |
parent | d8994fde051e9cc38df952dd2d6d6d551ddedd5c (diff) | |
download | mageiawelcome-83776c1d7f67b927ad4226187544dd81f1d7fb8c.tar mageiawelcome-83776c1d7f67b927ad4226187544dd81f1d7fb8c.tar.gz mageiawelcome-83776c1d7f67b927ad4226187544dd81f1d7fb8c.tar.bz2 mageiawelcome-83776c1d7f67b927ad4226187544dd81f1d7fb8c.tar.xz mageiawelcome-83776c1d7f67b927ad4226187544dd81f1d7fb8c.zip |
fix adding widget to ScrolledWindow
Diffstat (limited to 'usr/share/mageiawelcome')
-rw-r--r-- | usr/share/mageiawelcome/webgui.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/share/mageiawelcome/webgui.py b/usr/share/mageiawelcome/webgui.py index 974f8ab..206275c 100644 --- a/usr/share/mageiawelcome/webgui.py +++ b/usr/share/mageiawelcome/webgui.py @@ -79,7 +79,8 @@ def launch_browser(html, quit_function=None, echo=True): settings.set_property('enable-default-context-menu', False) box = Gtk.VBox(homogeneous=False, spacing=0) - sw = Gtk.ScrolledWindow.new(box) + sw = Gtk.ScrolledWindow() + sw.add(box) window.add(sw) |