summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-09-23 08:22:54 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-09-24 13:22:13 +0200
commit48e1ef7044d31d9186d9f637785069da9e0b4205 (patch)
tree16997354eb9f4b902d5ddc5e5b76abafebc78b63
parentaa5b9212af16c88aba7f7c9f4cad8ffb6b86cdd1 (diff)
downloadmageiawelcome-48e1ef7044d31d9186d9f637785069da9e0b4205.tar
mageiawelcome-48e1ef7044d31d9186d9f637785069da9e0b4205.tar.gz
mageiawelcome-48e1ef7044d31d9186d9f637785069da9e0b4205.tar.bz2
mageiawelcome-48e1ef7044d31d9186d9f637785069da9e0b4205.tar.xz
mageiawelcome-48e1ef7044d31d9186d9f637785069da9e0b4205.zip
workaround sizing loop issue with gtk+3
by adding a scrolledwindow
-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 c6888fa..974f8ab 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)
- window.add(box)
+ sw = Gtk.ScrolledWindow.new(box)
+ window.add(sw)
if quit_function is not None: