ViewManager/ViewManager.py

changeset 1490
ed6f2208297d
parent 1474
1eaec11a0078
child 1500
6ce6deb421cf
--- a/ViewManager/ViewManager.py	Sat Dec 10 18:01:16 2011 +0100
+++ b/ViewManager/ViewManager.py	Wed Dec 14 19:57:54 2011 +0100
@@ -4192,9 +4192,7 @@
         """
         Private method to handle the search for file action.
         """
-        self.ui.findFileNameDialog.show()
-        self.ui.findFileNameDialog.raise_()
-        self.ui.findFileNameDialog.activateWindow()
+        self.ui.showFindFileByNameDialog()
     
     def appFocusChanged(self, old, now):
         """
@@ -4692,17 +4690,13 @@
         """
         Private method to handle the search in files action.
         """
-        self.ui.findFilesDialog.show(self.textForFind())
-        self.ui.findFilesDialog.raise_()
-        self.ui.findFilesDialog.activateWindow()
+        self.ui.showFindFilesDialog(self.textForFind())
         
     def __replaceFiles(self):
         """
         Private method to handle the replace in files action.
         """
-        self.ui.replaceFilesDialog.show(self.textForFind())
-        self.ui.replaceFilesDialog.raise_()
-        self.ui.replaceFilesDialog.activateWindow()
+        self.ui.showReplaceFilesDialog(self.textForFind())
     
     ##################################################################
     ## Below are the action methods for the view menu

eric ide

mercurial