[game-data-packager] 01/02: fix gdp-launcher for older pygobject
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Sat Mar 18 07:21:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch master
in repository game-data-packager.
commit b4181e19e22b2171f10286335b1bffe5c85ddd1b
Author: Ferdinand Thiessen <rpm at fthiessen.de>
Date: Sat Mar 18 03:22:47 2017 +0100
fix gdp-launcher for older pygobject
---
runtime/gdp-launcher.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/runtime/gdp-launcher.py b/runtime/gdp-launcher.py
index 007a966..37a909b 100755
--- a/runtime/gdp-launcher.py
+++ b/runtime/gdp-launcher.py
@@ -247,7 +247,12 @@ class FullLauncher(Launcher):
self.text_view = Gtk.TextView(editable=False, cursor_visible=False,
hexpand=True, vexpand=True, wrap_mode=Gtk.WrapMode.WORD,
- top_margin=6, left_margin=6, right_margin=6, bottom_margin=6)
+ left_margin=6, right_margin=6)
+ try:
+ self.text_view.set_bottom_margin(6)
+ self.text_view.set_top_margin(6)
+ except:
+ logger.warn('You are using an old version of pygobject')
self.grid.attach(self.text_view, 1, 0, 1, 1)
subgrid = Gtk.Grid(column_spacing=6, column_homogeneous=True,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list