Changeset 903
- Timestamp:
- 08/07/08 17:27:07 (5 months ago)
- Files:
-
- trunk/lib/epar.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/epar.py
r901 r903 639 639 top.bind("<Leave>", self.clearInfo) 640 640 641 # Allow them to load/open a file if the right kind was found 642 if self.foundSpecials: 643 buttonOpen = Button(box, text="Open...", 644 relief=RAISED, command=self.pfopen) 645 buttonOpen.pack(side=LEFT, padx=5, pady=7) 646 buttonOpen.bind("<Enter>", self.printOpenInfo) 647 # separate this button rom the others - it's unusual 648 strut = Label(box, text="") 649 strut.pack(side=LEFT, padx=20) 650 641 651 # Execute the task 642 652 buttonExecute = Button(box, text="Execute", … … 683 693 box.pack(fill=X, expand=FALSE) 684 694 685 # Allow them to load a file if the right kind was found686 if self.foundSpecials:687 buttonOpen = Button(box, text="Open...",688 relief=RAISED, command=self.pfopen)689 buttonOpen.pack(side=RIGHT, padx=5, pady=7)690 buttonOpen.bind("<Enter>", self.printOpenInfo)691 692 695 693 696 # Determine which method of displaying the IRAF help pages was … … 817 820 if len(flist) == 1: 818 821 if askokcancel("Confirm", 819 " Single special-purpose parameter file found.\n"+ \822 "One special-purpose parameter file found.\n"+ \ 820 823 "Load file?\n\n"+flist[0]): 821 824 fname = flist[0] 822 825 else: # len(flist) > 0 823 826 ld = listdlg.ListSingleSelectDialog("Select Parameter File", 824 "Select which file you prefer for task/pkg:",825 flist, self.top)827 "Select which parameter file to load for "+ \ 828 self.pkgName+"."+self.taskName, flist, self.top) 826 829 fname = ld.getresult() # will be None or a string fname 827 830
