Preferences/ProgramsDialog.py

changeset 53
c3eb7cc1ff8b
parent 18
3b1f5d872fd7
child 55
b5c84934de9c
--- a/Preferences/ProgramsDialog.py	Tue Jan 12 18:33:34 2010 +0000
+++ b/Preferences/ProgramsDialog.py	Tue Jan 12 18:36:05 2010 +0000
@@ -15,7 +15,7 @@
 from PyQt4.QtGui import QApplication, QTreeWidgetItem, QHeaderView, QCursor, \
     QDialog, QDialogButtonBox
 
-from E4Gui.E4Application import e4App
+from E4Gui.E4Application import e5App
 
 from .Ui_ProgramsDialog import Ui_ProgramsDialog
 
@@ -170,7 +170,7 @@
         self.__createEntry(self.trUtf8("Spell Checker - PyEnchant"), text, version)
         
         # do the plugin related programs
-        pm = e4App().getObject("PluginManager")
+        pm = e5App().getObject("PluginManager")
         for info in pm.getPluginExeDisplayData():
             if info["programEntry"]:
                 self.__createProgramEntry(
@@ -277,4 +277,4 @@
             itm.setText(1, self.trUtf8("(not found)"))
         QApplication.processEvents()
         self.programsList.header().resizeSections(QHeaderView.ResizeToContents)
-        self.programsList.header().setStretchLastSection(True)
+        self.programsList.header().setStretchLastSection(True)
\ No newline at end of file

eric ide

mercurial