public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-misc/pythoncad/files: pythoncad-1.37-png.patch
@ 2010-03-10 23:13 Cedric Krier (cedk)
  0 siblings, 0 replies; only message in thread
From: Cedric Krier (cedk) @ 2010-03-10 23:13 UTC (permalink / raw
  To: gentoo-commits

cedk        10/03/10 23:13:25

  Added:                pythoncad-1.37-png.patch
  Log:
  Version bump
  (Portage version: 2.1.7.16/cvs/Linux i686)

Revision  Changes    Path
1.1                  sci-misc/pythoncad/files/pythoncad-1.37-png.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/pythoncad/files/pythoncad-1.37-png.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/pythoncad/files/pythoncad-1.37-png.patch?rev=1.1&content-type=text/plain

Index: pythoncad-1.37-png.patch
===================================================================
diff -ru PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkDialog.py PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkDialog.py
--- PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkDialog.py	2010-03-11 00:01:58.000000000 +0100
+++ PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkDialog.py	2010-03-11 00:03:48.000000000 +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/pythoncad.png")
     _pixBuf=gtk.gdk.pixbuf_new_from_file(_iconPath)
     _abautDialog.set_logo(_pixBuf)
     _abautDialog.set_website("http://sourceforge.net/projects/pythoncad")
diff -ru PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkimage.py PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkimage.py
--- PythonCAD-DS1-R37~/PythonCAD/Interface/Gtk/gtkimage.py	2010-03-11 00:01:58.000000000 +0100
+++ PythonCAD-DS1-R37/PythonCAD/Interface/Gtk/gtkimage.py	2010-03-11 00:02:59.000000000 +0100
@@ -154,7 +154,7 @@
         self.__image = image
         self.__window = gtk.Window()
         self.__window.set_title(image.filename)
-        self.__window.set_icon_from_file("gtkpycad.png")
+        self.__window.set_icon_from_file("/usr/share/pixmaps/pythoncad.png")
         self.__window.connect("destroy", self.__destroyEvent)
         self.__window.connect("event", self.__windowEvent)
         self.__window.connect("key_press_event", self.__keyPressEvent)






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-10 23:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10 23:13 [gentoo-commits] gentoo-x86 commit in sci-misc/pythoncad/files: pythoncad-1.37-png.patch Cedric Krier (cedk)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox