[SCM] Installer for game data files branch, gui, updated. 9092133f0b2589fd66ef16e6348f2c3989f9aa4c
Jon Dowland
jmtd at debian.org
Fri Sep 25 17:28:53 UTC 2009
The following commit has been merged in the gui branch:
commit b472a967ae526166abd5eee447112ebf16f56589
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