summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-09-28 10:07:33 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-09-28 10:07:33 -0400
commit83776c1d7f67b927ad4226187544dd81f1d7fb8c (patch)
tree5ba94f76e9ac57142df6954c2f8eb2dc99682d07 /usr
parentd8994fde051e9cc38df952dd2d6d6d551ddedd5c (diff)
downloadmageiawelcome-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')
-rw-r--r--usr/share/mageiawelcome/webgui.py3
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)