[game-data-packager] 06/06: doom2 master levels: use monospace font
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Thu Jun 30 06:49:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch doom2-launcher
in repository game-data-packager.
commit fdf5cdc5aea29dbb3bc86c3829fc722f9557830b
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Mon Feb 9 22:00:49 2015 +0100
doom2 master levels: use monospace font
---
game_data_packager/doom2-masterlevels.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/game_data_packager/doom2-masterlevels.py b/game_data_packager/doom2-masterlevels.py
index 044e219..ac4df96 100755
--- a/game_data_packager/doom2-masterlevels.py
+++ b/game_data_packager/doom2-masterlevels.py
@@ -21,7 +21,7 @@ import os
import subprocess
gi.require_version('Gtk', '3.0')
-from gi.repository import Gtk
+from gi.repository import Gtk, Pango
map = None
# wad : (warp, longname, 'http://doom.wikia.com/wiki/' + url)
@@ -50,7 +50,7 @@ levels = {
}
window = Gtk.Window()
-window.set_default_size(1000, 800)
+window.set_default_size(1020, 800)
window.connect("destroy", lambda q: Gtk.main_quit())
grid = Gtk.Grid()
@@ -120,6 +120,7 @@ textview = Gtk.TextView(buffer=textbuffer)
textview.set_vexpand(True)
textview.set_hexpand(True)
textview.set_property('editable', False)
+textview.modify_font(Pango.FontDescription('Monospace 11'))
scrolledwindow.add(textview)
# difficulty
--
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