PluginManager/PluginInfoDialog.py

changeset 458
1695e7a2db54
parent 13
1af94a91f439
child 459
0021b759c805
--- a/PluginManager/PluginInfoDialog.py	Thu Aug 05 08:39:56 2010 +0200
+++ b/PluginManager/PluginInfoDialog.py	Fri Aug 06 12:39:40 2010 +0200
@@ -48,9 +48,7 @@
         self.__deactivateAct = \
             self.__menu.addAction(self.trUtf8('Deactivate'), self.__deactivatePlugin)
         self.pluginList.setContextMenuPolicy(Qt.CustomContextMenu)
-        self.connect(self.pluginList, 
-                     SIGNAL('customContextMenuRequested(const QPoint &)'),
-                     self.__showContextMenu)
+        self.pluginList.customContextMenuRequested.connect(self.__showContextMenu)
     
     def __populateList(self):
         """
@@ -145,4 +143,4 @@
         moduleName = itm.text(0)
         self.pm.deactivatePlugin(moduleName)
         # repopulate the list
-        self.__populateList()
\ No newline at end of file
+        self.__populateList()

eric ide

mercurial