[SCM] Installer for game data files branch, yaml, updated. 475ea93a731dbaa924f6682ddb014c61c01e7556
Jon Dowland
jmtd at debian.org
Thu Sep 24 21:48:51 UTC 2009
The following commit has been merged in the yaml branch:
commit 1c22ef5221961a518eb8f706f3063360f4312afd
Author: Jon Dowland <jmtd at debian.org>
Date: Thu Sep 24 22:32:28 2009 +0100
pass filename to FilePicker
diff --git a/gdp.py b/gdp.py
index 06b15e8..ff8743f 100755
--- a/gdp.py
+++ b/gdp.py
@@ -43,9 +43,9 @@ import gtk
import gtk.glade
class FilePicker(gtk.VBox):
- def __init__(self):
+ def __init__(self,name):
gtk.VBox.__init__(self)
- label = gtk.Label("Please locate your doom2.wad file.")
+ label = gtk.Label("Please locate the file '%s'." % name)
self.pack_start(label)
hbox = gtk.HBox()
self.entry = entry = gtk.Entry()
@@ -116,7 +116,7 @@ class View:
if na.has_key('type') and "copy" == na['type']:
# TODO: setup the next page, a file copy page.
print na
- fp = FilePicker()
+ fp = FilePicker(na['name'])
fp.show_all()
self.window.insert_page(fp, self.window.get_n_pages() - 1)
else: # XXX: validation should live elsewhere
--
Installer for game data files
More information about the Pkg-games-commits
mailing list