eric6/Preferences/ConfigurationDialog.py

branch
maintenance
changeset 7560
343db73c4842
parent 7437
1148ca40ea36
parent 7533
88261c96484b
child 7642
72721823d453
diff -r a4eb1787ea41 -r 343db73c4842 eric6/Preferences/ConfigurationDialog.py
--- a/eric6/Preferences/ConfigurationDialog.py	Sun Apr 05 18:17:08 2020 +0200
+++ b/eric6/Preferences/ConfigurationDialog.py	Sat May 02 13:51:07 2020 +0200
@@ -140,235 +140,235 @@
                 # create the configuration page. This must have the method
                 # 'save' to save the settings.
                 "applicationPage":
-                [self.tr("Application"), "preferences-application.png",
+                [self.tr("Application"), "preferences-application",
                  "ApplicationPage", None, None],
                 "condaPage":
-                [self.tr("Conda"), "miniconda.png",
+                [self.tr("Conda"), "miniconda",
                  "CondaPage", None, None],
                 "cooperationPage":
-                [self.tr("Cooperation"), "preferences-cooperation.png",
+                [self.tr("Cooperation"), "preferences-cooperation",
                  "CooperationPage", None, None],
                 "corbaPage":
-                [self.tr("CORBA"), "preferences-orbit.png",
+                [self.tr("CORBA"), "preferences-orbit",
                  "CorbaPage", None, None],
                 "diffPage":
-                [self.tr("Diff"), "diffFiles.png",
+                [self.tr("Diff"), "diffFiles",
                  "DiffColoursPage", None, None],
                 "emailPage":
-                [self.tr("Email"), "preferences-mail_generic.png",
+                [self.tr("Email"), "preferences-mail_generic",
                  "EmailPage", None, None],
                 "graphicsPage":
-                [self.tr("Graphics"), "preferences-graphics.png",
+                [self.tr("Graphics"), "preferences-graphics",
                  "GraphicsPage", None, None],
                 "hexEditorPage":
-                [self.tr("Hex Editor"), "hexEditor.png",
+                [self.tr("Hex Editor"), "hexEditor",
                  "HexEditorPage", None, None],
                 "iconsPage":
-                [self.tr("Icons"), "preferences-icons.png",
+                [self.tr("Icons"), "preferences-icons",
                  "IconsPage", None, None],
                 "ircPage":
-                [self.tr("IRC"), "irc.png",
+                [self.tr("IRC"), "irc",
                  "IrcPage", None, None],
                 "logViewerPage":
-                [self.tr("Log-Viewer"), "preferences-logviewer.png",
+                [self.tr("Log-Viewer"), "preferences-logviewer",
                  "LogViewerPage", None, None],
                 "microPythonPage":
                 [self.tr("MicroPython"), "micropython",
                  "MicroPythonPage", None, None],
                 "mimeTypesPage":
-                [self.tr("Mimetypes"), "preferences-mimetypes.png",
+                [self.tr("Mimetypes"), "preferences-mimetypes",
                  "MimeTypesPage", None, None],
                 "networkPage":
-                [self.tr("Network"), "preferences-network.png",
+                [self.tr("Network"), "preferences-network",
                  "NetworkPage", None, None],
                 "notificationsPage":
                 [self.tr("Notifications"),
-                 "preferences-notifications.png",
+                 "preferences-notifications",
                  "NotificationsPage", None, None],
                 "pipPage":
-                [self.tr("Python Package Management"), "pypi.png",
+                [self.tr("Python Package Management"), "pypi",
                  "PipPage", None, None],
                 "pluginManagerPage":
                 [self.tr("Plugin Manager"),
-                 "preferences-pluginmanager.png",
+                 "preferences-pluginmanager",
                  "PluginManagerPage", None, None],
                 "printerPage":
-                [self.tr("Printer"), "preferences-printer.png",
+                [self.tr("Printer"), "preferences-printer",
                  "PrinterPage", None, None],
                 "protobufPage":
-                [self.tr("Protobuf"), "protobuf.png",
+                [self.tr("Protobuf"), "protobuf",
                  "ProtobufPage", None, None],
                 "pythonPage":
-                [self.tr("Python"), "preferences-python.png",
+                [self.tr("Python"), "preferences-python",
                  "PythonPage", None, None],
                 "qtPage":
-                [self.tr("Qt"), "preferences-qtlogo.png",
+                [self.tr("Qt"), "preferences-qtlogo",
                  "QtPage", None, None],
                 "securityPage":
-                [self.tr("Security"), "preferences-security.png",
+                [self.tr("Security"), "preferences-security",
                  "SecurityPage", None, None],
                 "shellPage":
-                [self.tr("Shell"), "preferences-shell.png",
+                [self.tr("Shell"), "preferences-shell",
                  "ShellPage", None, None],
                 "tasksPage":
-                [self.tr("Tasks"), "task.png",
+                [self.tr("Tasks"), "task",
                  "TasksPage", None, None],
                 "templatesPage":
-                [self.tr("Templates"), "preferences-template.png",
+                [self.tr("Templates"), "preferences-template",
                  "TemplatesPage", None, None],
                 "trayStarterPage":
-                [self.tr("Tray Starter"), "erict.png",
+                [self.tr("Tray Starter"), "erict",
                  "TrayStarterPage", None, None],
                 "vcsPage":
                 [self.tr("Version Control Systems"),
-                 "preferences-vcs.png",
+                 "preferences-vcs",
                  "VcsPage", None, None],
                 
                 "0debuggerPage":
-                [self.tr("Debugger"), "preferences-debugger.png",
+                [self.tr("Debugger"), "preferences-debugger",
                  None, None, None],
                 "debuggerGeneralPage":
-                [self.tr("General"), "preferences-debugger.png",
+                [self.tr("General"), "preferences-debugger",
                  "DebuggerGeneralPage", "0debuggerPage", None],
                 "debuggerPython2Page":
-                [self.tr("Python2"), "preferences-pyDebugger.png",
+                [self.tr("Python2"), "preferences-pyDebugger",
                  "DebuggerPython2Page", "0debuggerPage", None],
                 "debuggerPython3Page":
-                [self.tr("Python3"), "preferences-pyDebugger.png",
+                [self.tr("Python3"), "preferences-pyDebugger",
                  "DebuggerPython3Page", "0debuggerPage", None],
                 
                 "0editorPage":
-                [self.tr("Editor"), "preferences-editor.png",
+                [self.tr("Editor"), "preferences-editor",
                  None, None, None],
                 "editorAPIsPage":
-                [self.tr("APIs"), "preferences-api.png",
+                [self.tr("APIs"), "preferences-api",
                  "EditorAPIsPage", "0editorPage", None],
                 "editorAutocompletionPage":
                 [self.tr("Autocompletion"),
-                 "preferences-autocompletion.png",
+                 "preferences-autocompletion",
                  "EditorAutocompletionPage", "0editorPage", None],
                 "editorAutocompletionQScintillaPage":
-                [self.tr("QScintilla"), "qscintilla.png",
+                [self.tr("QScintilla"), "qscintilla",
                  "EditorAutocompletionQScintillaPage",
                  "editorAutocompletionPage", None],
                 "editorCalltipsPage":
-                [self.tr("Calltips"), "preferences-calltips.png",
+                [self.tr("Calltips"), "preferences-calltips",
                  "EditorCalltipsPage", "0editorPage", None],
                 "editorCalltipsQScintillaPage":
-                [self.tr("QScintilla"), "qscintilla.png",
+                [self.tr("QScintilla"), "qscintilla",
                  "EditorCalltipsQScintillaPage", "editorCalltipsPage", None],
                 "editorDocViewerPage":
-                [self.tr("Documentation Viewer"), "codeDocuViewer.png",
+                [self.tr("Documentation Viewer"), "codeDocuViewer",
                  "EditorDocViewerPage", "0editorPage", None],
                 "editorGeneralPage":
-                [self.tr("General"), "preferences-general.png",
+                [self.tr("General"), "preferences-general",
                  "EditorGeneralPage", "0editorPage", None],
                 "editorFilePage":
                 [self.tr("Filehandling"),
-                 "preferences-filehandling.png",
+                 "preferences-filehandling",
                  "EditorFilePage", "0editorPage", None],
                 "editorSearchPage":
-                [self.tr("Searching"), "preferences-search.png",
+                [self.tr("Searching"), "preferences-search",
                  "EditorSearchPage", "0editorPage", None],
                 "editorSpellCheckingPage":
                 [self.tr("Spell checking"),
-                 "preferences-spellchecking.png",
+                 "preferences-spellchecking",
                  "EditorSpellCheckingPage", "0editorPage", None],
                 "editorStylesPage":
-                [self.tr("Style"), "preferences-styles.png",
+                [self.tr("Style"), "preferences-styles",
                  "EditorStylesPage", "0editorPage", None],
                 "editorSyntaxPage":
-                [self.tr("Code Checkers"), "preferences-debugger.png",
+                [self.tr("Code Checkers"), "preferences-debugger",
                  "EditorSyntaxPage", "0editorPage", None],
                 "editorTypingPage":
-                [self.tr("Typing"), "preferences-typing.png",
+                [self.tr("Typing"), "preferences-typing",
                  "EditorTypingPage", "0editorPage", None],
                 "editorExportersPage":
-                [self.tr("Exporters"), "preferences-exporters.png",
+                [self.tr("Exporters"), "preferences-exporters",
                  "EditorExportersPage", "0editorPage", None],
                 
                 "1editorLexerPage":
                 [self.tr("Highlighters"),
-                 "preferences-highlighting-styles.png",
+                 "preferences-highlighting-styles",
                  None, "0editorPage", None],
                 "editorHighlightersPage":
                 [self.tr("Filetype Associations"),
-                 "preferences-highlighter-association.png",
+                 "preferences-highlighter-association",
                  "EditorHighlightersPage", "1editorLexerPage", None],
                 "editorHighlightingStylesPage":
                 [self.tr("Styles"),
-                 "preferences-highlighting-styles.png",
+                 "preferences-highlighting-styles",
                  "EditorHighlightingStylesPage", "1editorLexerPage", None],
                 "editorKeywordsPage":
-                [self.tr("Keywords"), "preferences-keywords.png",
+                [self.tr("Keywords"), "preferences-keywords",
                  "EditorKeywordsPage", "1editorLexerPage", None],
                 "editorPropertiesPage":
-                [self.tr("Properties"), "preferences-properties.png",
+                [self.tr("Properties"), "preferences-properties",
                  "EditorPropertiesPage", "1editorLexerPage", None],
                 
                 "1editorMouseClickHandlers":
                 [self.tr("Mouse Click Handlers"),
-                 "preferences-mouse-click-handler.png",
+                 "preferences-mouse-click-handler",
                  "EditorMouseClickHandlerPage", "0editorPage", None],
                 
                 "0helpPage":
-                [self.tr("Help"), "preferences-help.png",
+                [self.tr("Help"), "preferences-help",
                  None, None, None],
                 "helpDocumentationPage":
                 [self.tr("Help Documentation"),
-                 "preferences-helpdocumentation.png",
+                 "preferences-helpdocumentation",
                  "HelpDocumentationPage", "0helpPage", None],
                 "helpViewersPage":
                 [self.tr("Help Viewers"),
-                 "preferences-helpviewers.png",
+                 "preferences-helpviewers",
                  "HelpViewersPage", "0helpPage", None],
                 
                 "0projectPage":
-                [self.tr("Project"), "preferences-project.png",
+                [self.tr("Project"), "preferences-project",
                  None, None, None],
                 "projectBrowserPage":
-                [self.tr("Project Viewer"), "preferences-project.png",
+                [self.tr("Project Viewer"), "preferences-project",
                  "ProjectBrowserPage", "0projectPage", None],
                 "projectPage":
-                [self.tr("Project"), "preferences-project.png",
+                [self.tr("Project"), "preferences-project",
                  "ProjectPage", "0projectPage", None],
                 "multiProjectPage":
                 [self.tr("Multiproject"),
-                 "preferences-multiproject.png",
+                 "preferences-multiproject",
                  "MultiProjectPage", "0projectPage", None],
                 
                 "0interfacePage":
-                [self.tr("Interface"), "preferences-interface.png",
+                [self.tr("Interface"), "preferences-interface",
                  None, None, None],
                 "interfacePage":
-                [self.tr("Interface"), "preferences-interface.png",
+                [self.tr("Interface"), "preferences-interface",
                  "InterfacePage", "0interfacePage", None],
                 "viewmanagerPage":
-                [self.tr("Viewmanager"), "preferences-viewmanager.png",
+                [self.tr("Viewmanager"), "preferences-viewmanager",
                  "ViewmanagerPage", "0interfacePage", None],
             }
             if self.__webEngine:
                 self.configItems.update({
                     "0webBrowserPage":
-                    [self.tr("Web Browser"), "ericWeb.png",
+                    [self.tr("Web Browser"), "ericWeb",
                      None, None, None],
                     "webBrowserAppearancePage":
-                    [self.tr("Appearance"), "preferences-styles.png",
+                    [self.tr("Appearance"), "preferences-styles",
                      "WebBrowserAppearancePage", "0webBrowserPage", None],
                     "webBrowserPage":
-                    [self.tr("eric6 Web Browser"), "ericWeb.png",
+                    [self.tr("eric6 Web Browser"), "ericWeb",
                      "WebBrowserPage", "0webBrowserPage", None],
                     "webBrowserFlashCookieManagerPage":
                     [self.tr("Flash Cookie Manager"),
-                     "flashCookie16.png",
+                     "flashCookie16",
                      "WebBrowserFlashCookieManagerPage", "0webBrowserPage",
                      None],
                     "webBrowserVirusTotalPage":
-                    [self.tr("VirusTotal Interface"), "virustotal.png",
+                    [self.tr("VirusTotal Interface"), "virustotal",
                      "WebBrowserVirusTotalPage", "0webBrowserPage", None],
                     "webBrowserSpellCheckingPage":
                     [self.tr("Spell checking"),
-                     "preferences-spellchecking.png",
+                     "preferences-spellchecking",
                      "WebBrowserSpellCheckingPage", "0webBrowserPage",
                      None],
                 })
@@ -385,41 +385,41 @@
                 # create the configuration page. This must have the method
                 # 'save' to save the settings.
                 "interfacePage":
-                [self.tr("Interface"), "preferences-interface.png",
+                [self.tr("Interface"), "preferences-interface",
                  "WebBrowserInterfacePage", None, None],
                 "networkPage":
-                [self.tr("Network"), "preferences-network.png",
+                [self.tr("Network"), "preferences-network",
                  "NetworkPage", None, None],
                 "printerPage":
-                [self.tr("Printer"), "preferences-printer.png",
+                [self.tr("Printer"), "preferences-printer",
                  "PrinterPage", None, None],
                 "securityPage":
-                [self.tr("Security"), "preferences-security.png",
+                [self.tr("Security"), "preferences-security",
                  "SecurityPage", None, None],
                 
                 "helpDocumentationPage":
                 [self.tr("Help Documentation"),
-                 "preferences-helpdocumentation.png",
+                 "preferences-helpdocumentation",
                  "HelpDocumentationPage", None, None],
                 
                 "webBrowserAppearancePage":
-                [self.tr("Appearance"), "preferences-styles.png",
+                [self.tr("Appearance"), "preferences-styles",
                  "WebBrowserAppearancePage", None, None],
                 "webBrowserPage":
-                [self.tr("eric6 Web Browser"), "ericWeb.png",
+                [self.tr("eric6 Web Browser"), "ericWeb",
                  "WebBrowserPage", None, None],
                 
                 "webBrowserFlashCookieManagerPage":
                 [self.tr("Flash Cookie Manager"),
-                 "flashCookie16.png",
+                 "flashCookie16",
                  "WebBrowserFlashCookieManagerPage", None, None],
                 "webBrowserVirusTotalPage":
-                [self.tr("VirusTotal Interface"), "virustotal.png",
+                [self.tr("VirusTotal Interface"), "virustotal",
                  "WebBrowserVirusTotalPage", None, None],
                 
                 "webBrowserSpellCheckingPage":
                 [self.tr("Spell checking"),
-                 "preferences-spellchecking.png",
+                 "preferences-spellchecking",
                  "WebBrowserSpellCheckingPage", None, None],
             }
         
@@ -432,7 +432,7 @@
                 # create the configuration page. This must have the method
                 # 'save' to save the settings.
                 "trayStarterPage":
-                [self.tr("Tray Starter"), "erict.png",
+                [self.tr("Tray Starter"), "erict",
                  "TrayStarterPage", None, None],
             }
         
@@ -445,7 +445,7 @@
                 # create the configuration page. This must have the method
                 # 'save' to save the settings.
                 "hexEditorPage":
-                [self.tr("Hex Editor"), "hexEditor.png",
+                [self.tr("Hex Editor"), "hexEditor",
                  "HexEditorPage", None, None],
             }
         

eric ide

mercurial