[Python-apps-commits] r4322 - in packages/pythoncad/trunk/debian/patches (image_path.patch)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Fri Dec 18 23:35:07 UTC 2009


    Date: Friday, December 18, 2009 @ 23:35:05
  Author: dktrkranz
Revision: 4322

Adjust image_path to fix another location

Modified:
  packages/pythoncad/trunk/debian/patches/image_path.patch

Modified: packages/pythoncad/trunk/debian/patches/image_path.patch
===================================================================
--- packages/pythoncad/trunk/debian/patches/image_path.patch	2009-12-18 23:25:03 UTC (rev 4321)
+++ packages/pythoncad/trunk/debian/patches/image_path.patch	2009-12-18 23:35:05 UTC (rev 4322)
@@ -3,8 +3,8 @@
 
 Index: pythoncad-0.1.37.0/PythonCAD/Interface/Gtk/gtkimage.py
 ===================================================================
---- pythoncad-0.1.37.0.orig/PythonCAD/Interface/Gtk/gtkimage.py	2009-12-09 10:28:58.000000000 +0100
-+++ pythoncad-0.1.37.0/PythonCAD/Interface/Gtk/gtkimage.py	2009-12-19 00:20:18.084723166 +0100
+--- pythoncad-0.1.37.0.orig/PythonCAD/Interface/Gtk/gtkimage.py	2009-12-19 00:31:15.660722697 +0100
++++ pythoncad-0.1.37.0/PythonCAD/Interface/Gtk/gtkimage.py	2009-12-19 00:32:20.512725186 +0100
 @@ -154,7 +154,7 @@
          self.__image = image
          self.__window = gtk.Window()
@@ -14,3 +14,16 @@
          self.__window.connect("destroy", self.__destroyEvent)
          self.__window.connect("event", self.__windowEvent)
          self.__window.connect("key_press_event", self.__keyPressEvent)
+Index: pythoncad-0.1.37.0/PythonCAD/Interface/Gtk/gtkDialog.py
+===================================================================
+--- pythoncad-0.1.37.0.orig/PythonCAD/Interface/Gtk/gtkDialog.py	2009-12-19 00:32:35.552727163 +0100
++++ pythoncad-0.1.37.0/PythonCAD/Interface/Gtk/gtkDialog.py	2009-12-19 00:33:02.216722121 +0100
+@@ -107,7 +107,7 @@
+     _abautDialog.set_program_name("PythonCad")
+     _abautDialog.set_version("DS1-R37")
+     _abautDialog.set_comments("CAD built from Python")
+-    _iconPath=os.path.join(os.getcwd(),"gtkpycad.png")
++    _iconPath=os.path.join("/usr/share/pixmaps/","gtkpycad.png")
+     _pixBuf=gtk.gdk.pixbuf_new_from_file(_iconPath)
+     _abautDialog.set_logo(_pixBuf)
+     _abautDialog.set_website("http://sourceforge.net/projects/pythoncad")




More information about the Python-apps-commits mailing list