[gnome-getting-started-docs] revert to plain svgs for figures.
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-getting-started-docs] revert to plain svgs for figures.
- Date: Tue, 26 Mar 2013 08:33:11 +0000 (UTC)
commit f6b18c4d0cc03ca9314b952867dec04105b1e5f0
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Mar 26 09:31:50 2013 +0100
revert to plain svgs for figures.
- python was renaming namespaces anyway. Gotta figure out a solution
that actually works :/
figures/render-figures.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/figures/render-figures.py b/figures/render-figures.py
index 351ac99..9181b1b 100755
--- a/figures/render-figures.py
+++ b/figures/render-figures.py
@@ -28,10 +28,10 @@ for fname in glob.glob('*svg'):
global svg
print("processing %s" % (fname))
- #os.system("inkscape --vacuum-defs -l %s %s" % (TEMP, fname))
+ os.system("inkscape --vacuum-defs -l %s %s" % (TEMP, fname))
#plain SVG would strip the itst namespace
#needed to give context to translators
- shutil.copyfile(fname,TEMP)
+ #shutil.copyfile(fname,TEMP)
svg = ElementTree.parse(TEMP)
#FIXME: thumbs jsou GNOME, zbytek BLANK
if (fname[:8]=="gs-thumb"):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]