summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)