Changeset 391 for python/trunk/Lib/idlelib/SearchDialog.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/idlelib/SearchDialog.py
r2 r391 1 1 from Tkinter import * 2 import SearchEngine3 from SearchDialogBase import SearchDialogBase4 2 3 from idlelib import SearchEngine 4 from idlelib.SearchDialogBase import SearchDialogBase 5 5 6 6 def _setup(text): … … 25 25 def create_widgets(self): 26 26 f = SearchDialogBase.create_widgets(self) 27 self.make_button("Find ", self.default_command, 1)27 self.make_button("Find Next", self.default_command, 1) 28 28 29 29 def default_command(self, event=None): 30 30 if not self.engine.getprog(): 31 31 return 32 if self.find_again(self.text): 33 self.close() 32 self.find_again(self.text) 34 33 35 34 def find_again(self, text):
Note:
See TracChangeset
for help on using the changeset viewer.