]> git.pld-linux.org Git - packages/bkchem.git/commitdiff
- patch to fix use within oo and desktop file for bkchem by
authorundefine <undefine@pld-linux.org>
Mon, 15 Nov 2004 22:22:29 +0000 (22:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  piti@jabber.uznam.net.pl

Changed files:
    bkchem-oo.patch -> 1.1
    bkchem.desktop -> 1.1

bkchem-oo.patch [new file with mode: 0644]
bkchem.desktop [new file with mode: 0644]

diff --git a/bkchem-oo.patch b/bkchem-oo.patch
new file mode 100644 (file)
index 0000000..6d1cdee
--- /dev/null
@@ -0,0 +1,13 @@
+*** bkchem/plugins/openoffice.py~      2004-09-10 17:07:56.000000000 +0200
+--- bkchem/plugins/openoffice.py       2004-11-15 19:11:43.853178744 +0100
+*************** class OO_exporter( plugin.exporter):
+*** 162,165 ****
+        for i in items:
+!         x1, y1, x2, y2, x3, y3 = map( self.paper.px_to_cm, self.paper.coords( i))
+!         point_array = [(x1,y1), (x2,y2), (x3,y3)]
+          self.create_oo_polygon( point_array, page, style_name)
+--- 162,165 ----
+        for i in items:
+!         x1, y1, x2, y2, x3, y3, x4, y4 = map( self.paper.px_to_cm, self.paper.coords( i))
+!         point_array = [(x1,y1), (x2,y2), (x3,y3), (x4, y4)]
+          self.create_oo_polygon( point_array, page, style_name)
diff --git a/bkchem.desktop b/bkchem.desktop
new file mode 100644 (file)
index 0000000..2df124c
--- /dev/null
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=BKchem
+Name[pl]=BKchem
+Comment=Two-dimensional molecule drawing program
+Comment[pl]=Program do rysowania dwuwymiarowych czÄ…steczek
+#Icon=xdrawchem.png
+Exec=bkchem
+Terminal=false
+Type=Application
+Encoding=UTF-8
+Categories=Science;Chemistry;
+# vi: encoding=utf-8
This page took 0.090711 seconds and 4 git commands to generate.