Changeset 4394
- Timestamp:
- Feb 4, 2020 9:40:38 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrungui
r4393 r4394 25 25 # ----------------- 26 26 # $Id$ 27 # Bugfix: harmonized naming convention of configuration files 28 # 29 # 4393 2020-02-04 21:24:48Z maronga 27 30 # Removed PALM_BIN dependency and os calls 28 31 # … … 121 124 122 125 123 filename = "%s/.palmrun .gui.default" % (palm_dir)126 filename = "%s/.palmrungui.default" % (palm_dir) 124 127 if os.path.exists(filename): 125 128 pass … … 188 191 # Jobs has been submitted or aborted. Continuing... 189 192 # Save the palmrun command to history file 190 filename = "%s/.palm .history" % (palm_dir)193 filename = "%s/.palmrungui.history" % (palm_dir) 191 194 tmstamp = strftime("%Y/%m/%d %H:%M") 192 195 … … 209 212 ###################################### 210 213 def recent_jobs(self, number): 211 fileDir = "%s/.palm .history" % (palm_dir)214 fileDir = "%s/.palmrungui.history" % (palm_dir) 212 215 if os.path.exists(fileDir): 213 216 pass … … 307 310 jobname = filename[:len(filename) - 19]; 308 311 309 fileDir = "%s/.palm .history" % (palm_dir)312 fileDir = "%s/.palmrungui.history" % (palm_dir) 310 313 file = open(fileDir,"r") 311 314 history = file.readlines() … … 580 583 elif ( self.sender() == self.group_advanced.findChild(QtGui.QLineEdit,"line_c")): 581 584 tmptext = self.group_advanced.findChild(QtGui.QLineEdit,"line_c").text() 582 if ( tmptext == ".palm gui.config"):585 if ( tmptext == ".palmrungui.config"): 583 586 tmptext = "" 584 587 self.change_commandline("c",tmptext) … … 761 764 string_to_file = "%s%s" % (string_to_file,user_string) 762 765 763 filename ="%s/.palm gui.default" % (palm_dir)766 filename ="%s/.palmrungui.default" % (palm_dir) 764 767 tmstamp = strftime("%Y/%m/%d %H:%M") 765 768 … … 1026 1029 def open_last(self): 1027 1030 # Select filename and open it 1028 filename = "%s/.palm .history" % (palm_dir)1031 filename = "%s/.palmrungui.history" % (palm_dir) 1029 1032 1030 1033 if os.path.exists(filename):
Note: See TracChangeset
for help on using the changeset viewer.