src/eric7/Preferences/ConfigurationPages/TrayStarterPage.py

branch
eric7
changeset 9221
bf71ee032bb4
parent 9209
b99e7fd55fd3
child 9413
80c06d472826
--- a/src/eric7/Preferences/ConfigurationPages/TrayStarterPage.py	Wed Jul 13 11:16:20 2022 +0200
+++ b/src/eric7/Preferences/ConfigurationPages/TrayStarterPage.py	Wed Jul 13 14:55:47 2022 +0200
@@ -20,6 +20,7 @@
     """
     Class implementing the tray starter configuration page.
     """
+
     def __init__(self):
         """
         Constructor
@@ -27,16 +28,14 @@
         super().__init__()
         self.setupUi(self)
         self.setObjectName("TrayStarterPage")
-        
+
         self.standardButton.setIcon(UI.PixmapCache.getIcon("erict"))
         self.highContrastButton.setIcon(UI.PixmapCache.getIcon("erict-hc"))
         self.blackWhiteButton.setIcon(UI.PixmapCache.getIcon("erict-bw"))
-        self.blackWhiteInverseButton.setIcon(
-            UI.PixmapCache.getIcon("erict-bwi"))
-        
+        self.blackWhiteInverseButton.setIcon(UI.PixmapCache.getIcon("erict-bwi"))
+
         # set initial values
-        iconName = os.path.splitext(
-            Preferences.getTrayStarter("TrayStarterIcon"))[0]
+        iconName = os.path.splitext(Preferences.getTrayStarter("TrayStarterIcon"))[0]
         if iconName == "erict":
             self.standardButton.setChecked(True)
         elif iconName == "erict-hc":
@@ -45,7 +44,7 @@
             self.blackWhiteButton.setChecked(True)
         elif iconName == "erict-bwi":
             self.blackWhiteInverseButton.setChecked(True)
-    
+
     def save(self):
         """
         Public slot to save the Python configuration.
@@ -59,12 +58,12 @@
         elif self.blackWhiteInverseButton.isChecked():
             iconName = "erict-bwi"
         Preferences.setTrayStarter("TrayStarterIcon", iconName)
-    
+
 
 def create(dlg):
     """
     Module function to create the configuration page.
-    
+
     @param dlg reference to the configuration dialog
     @return reference to the instantiated page (ConfigurationPageBase)
     """

eric ide

mercurial