Project/ProjectTranslationsBrowser.py

changeset 461
34528aaedf1c
parent 428
58405c24aa09
child 464
a2b1d1770ef0
--- a/Project/ProjectTranslationsBrowser.py	Fri Aug 06 12:55:39 2010 +0200
+++ b/Project/ProjectTranslationsBrowser.py	Fri Aug 06 14:41:22 2010 +0200
@@ -379,14 +379,10 @@
         
         self.dirMultiMenu = None
         
-        self.connect(self.menu, SIGNAL('aboutToShow()'),
-            self.__showContextMenu)
-        self.connect(self.multiMenu, SIGNAL('aboutToShow()'),
-            self.__showContextMenuMulti)
-        self.connect(self.dirMenu, SIGNAL('aboutToShow()'),
-            self.__showContextMenuDir)
-        self.connect(self.backMenu, SIGNAL('aboutToShow()'),
-            self.__showContextMenuBack)
+        self.menu.aboutToShow.connect(self.__showContextMenu)
+        self.multiMenu.aboutToShow.connect(self.__showContextMenuMulti)
+        self.dirMenu.aboutToShow.connect(self.__showContextMenuDir)
+        self.backMenu.aboutToShow.connect(self.__showContextMenuBack)
         self.mainMenu = self.menu
         
     def _contextMenuRequested(self, coord):

eric ide

mercurial