summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <zilch@src.gnome.org>2003-01-24 14:11:18 +0000
committerJohan Dahlin <zilch@src.gnome.org>2003-01-24 14:11:18 +0000
commitca40d2be96ace98d57efdda466ef441e89df8d93 (patch)
tree6cb5e67a03cd93c8bd6ff1e410687a37c212198d
parent4bbcb96d2613e2ea4d9b2d29683933160576fdf1 (diff)
downloadpygtk-ca40d2be96ace98d57efdda466ef441e89df8d93.tar.gz
Fix template bustage.
* dsextras.py (InstallLib.add_template_option): Fix template bustage.
-rw-r--r--ChangeLog2
-rw-r--r--dsextras.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0bdbf180..1eded96e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2003-01-24 Johan Dahlin <jdahlin@async.com.br>
+ * dsextras.py (InstallLib.add_template_option): Fix template bustage.
+
* gtk/gtk.defs (set_from_image, set_from_file, set_from_pixbuf):
Allow NULL here too. This definitly fixes #103559
diff --git a/dsextras.py b/dsextras.py
index 4ef3e9ee..620a8963 100644
--- a/dsextras.py
+++ b/dsextras.py
@@ -38,7 +38,7 @@ class InstallLib(install_lib):
self.install_dir = install_dir
def add_template_option(self, name, value):
- self.template_options['@%s@'] = value
+ self.template_options['@%s@' % name] = value
def install_template(self, filename, install_dir):
"""Install template filename into target directory install_dir."""