* [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol-plugins-ezviz/files: gentoo.patch
@ 2010-03-27 8:49 Justin Lecher (jlec)
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2010-03-27 8:49 UTC (permalink / raw
To: gentoo-commits
jlec 10/03/27 08:49:17
Added: gentoo.patch
Log:
New Ebuild requested per bug 309737
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.1 sci-chemistry/pymol-plugins-ezviz/files/gentoo.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-ezviz/files/gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-ezviz/files/gentoo.patch?rev=1.1&content-type=text/plain
Index: gentoo.patch
===================================================================
diff --git a/ez-viz.py b/ez-viz.py
index 1d8e847..8d50e6b 100755
--- a/ez-viz.py
+++ b/ez-viz.py
@@ -363,27 +363,27 @@ class PGUI:
global splash
# Images used in Presets tab
- defaultImage = PhotoImage( file="modules\pmg_tk\startup\default.gif")
- chains = PhotoImage(file="modules\pmg_tk\startup\chains.GIF")
- heteroImg = PhotoImage(file="modules\pmg_tk\startup\heteroAtom.GIF")
- ballStickImg = PhotoImage(file="C:\Program Files\DeLano Scientific\PyMOL\modules\pmg_tk\startup\showBallStick.GIF")
- surfaceImg = PhotoImage(file="modules\pmg_tk\startup\surface.GIF")
- polarityImg = PhotoImage(file="modules\pmg_tk\startup\polarity.GIF")
- puttyImg = PhotoImage(file="modules\pmg_tk\startup\putty.GIF")
- aromaticsImg = PhotoImage(file="modules\pmg_tk\startup\showAromatics.GIF")
- dnaImg = PhotoImage(file="modules\pmg_tk\startup\dna.GIF")
+ defaultImage = PhotoImage( file="GENTOOPYMOL/pmg_tk/startup/ez-viz/default.gif")
+ chains = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/chains.gif")
+ heteroImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/heteroAtom.gif")
+ ballStickImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/showBallStick.gif")
+ surfaceImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/surface.gif")
+ polarityImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/polarity.gif")
+ puttyImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/putty.gif")
+ aromaticsImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/showAromatics.gif")
+ dnaImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/dna.gif")
# Movie tab images
- ligand = PhotoImage(file="modules\pmg_tk\startup\zoom.GIF")
- build = PhotoImage(file="modules\pmg_tk\startup\prot.GIF")
- chainsMovieImg = PhotoImage(file="modules\pmg_tk\startup\chainsMovie.GIF")
- rotateImg = PhotoImage(file="modules\pmg_tk\startup\Rotate.GIF")
- playButton = PhotoImage(file="modules\pmg_tk\startup\play.GIF")
- stopButton = PhotoImage(file="modules\pmg_tk\startup\stop.GIF")
- rewindButton = PhotoImage(file="modules\pmg_tk\startup\Rewind.GIF")
+ ligand = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/zoom.gif")
+ build = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/prot.gif")
+ chainsMovieImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/chainsMovie.gif")
+ rotateImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/Rotate.gif")
+ playButton = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/play.gif")
+ stopButton = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/stop.gif")
+ rewindButton = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/Rewind.gif")
# Welcome tab image
- splash = PhotoImage(file="modules\pmg_tk\startup\splash.GIF")
+ splash = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/splash.gif")
#--------------------------------------#
# #
# PRESETS METHODS #
@@ -1035,7 +1035,7 @@ class PGUI:
if tkMessageBox.askyesno('Ray Trace Image', "Do you want to ray trace you image before saving it? Depending on your image "+
"this make take a few minutes if you select yes."):
cmd.ray()
- file = tkFileDialog.asksaveasfilename(defaultextension=".png", initialdir="C:/Program Files/DeLano Scientific/PyMOL/")
+ file = tkFileDialog.asksaveasfilename(defaultextension=".png", initialdir="./")
if len(file)>0:
cmd.save(file)
@@ -1045,7 +1045,7 @@ class PGUI:
import tkFileDialog
import tkMessageBox
- file = tkFileDialog.asksaveasfilename(defaultextension=".pse", initialdir='C:/Program Files/Delano Scientific/PyMOL/')
+ file = tkFileDialog.asksaveasfilename(defaultextension=".pse", initialdir='./')
print file
if len(file)>0:
cmd.save(file)
@@ -1574,7 +1574,7 @@ class PGUI:
#------Open Help File---------#
def help(self):
import webbrowser
- webbrowser.open('modules\pmg_tk\startup\Help\EZ-VizWebMain.html')
+ webbrowser.open('GENTOOPYMOL/pmg_tk/startup/ez-vizHelp\EZ-VizWebMain.html')
#---------------------------------------------------------------#
# #
@@ -2188,7 +2188,7 @@ class PGUI:
import tkFileDialog
if result == 'Open':
- file=tkFileDialog.askopenfilename(initialdir='C:/Documents and Settings/Administrator/My Documents/')
+ file=tkFileDialog.askopenfilename(initialdir='./')
if file:
cmd.load(file)
self.pdbCode = file
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol-plugins-ezviz/files: gentoo.patch
@ 2010-04-08 18:47 Justin Lecher (jlec)
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2010-04-08 18:47 UTC (permalink / raw
To: gentoo-commits
jlec 10/04/08 18:47:57
Removed: gentoo.patch
Log:
pymol-plugins-ezviz removed from tree
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-08 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-08 18:47 [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol-plugins-ezviz/files: gentoo.patch Justin Lecher (jlec)
-- strict thread matches above, loose matches on Subject: below --
2010-03-27 8:49 Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox