Preferences/ConfigurationPages/ViewmanagerPage.py

changeset 3010
befeff46ec0f
parent 2964
84b65fb9e780
child 3025
67064c71df21
child 3057
10516539f238
diff -r bf5ae5d7477d -r befeff46ec0f Preferences/ConfigurationPages/ViewmanagerPage.py
--- a/Preferences/ConfigurationPages/ViewmanagerPage.py	Sat Oct 12 17:31:40 2013 +0200
+++ b/Preferences/ConfigurationPages/ViewmanagerPage.py	Sat Oct 12 18:25:29 2013 +0200
@@ -31,19 +31,22 @@
         
         # set initial values
         self.pluginManager = e5App().getObject("PluginManager")
-        self.viewmanagers = self.pluginManager.getPluginDisplayStrings("viewmanager")
+        self.viewmanagers = \
+            self.pluginManager.getPluginDisplayStrings("viewmanager")
         self.windowComboBox.clear()
         currentVm = Preferences.getViewManager()
         
         keys = sorted(self.viewmanagers.keys())
         for key in keys:
-            self.windowComboBox.addItem(self.trUtf8(self.viewmanagers[key]), key)
+            self.windowComboBox.addItem(
+                self.trUtf8(self.viewmanagers[key]), key)
         currentIndex = self.windowComboBox.findText(
             self.trUtf8(self.viewmanagers[currentVm]))
         self.windowComboBox.setCurrentIndex(currentIndex)
         self.on_windowComboBox_activated(currentIndex)
         
-        self.tabViewGroupBox.setTitle(self.trUtf8(self.viewmanagers["tabview"]))
+        self.tabViewGroupBox.setTitle(
+            self.trUtf8(self.viewmanagers["tabview"]))
         
         self.filenameLengthSpinBox.setValue(
             Preferences.getUI("TabViewManagerFilenameLength"))
@@ -75,7 +78,8 @@
         """
         workspace = \
             self.windowComboBox.itemData(self.windowComboBox.currentIndex())
-        pixmap = self.pluginManager.getPluginPreviewPixmap("viewmanager", workspace)
+        pixmap = \
+            self.pluginManager.getPluginPreviewPixmap("viewmanager", workspace)
         
         self.previewPixmap.setPixmap(pixmap)
         self.tabViewGroupBox.setEnabled(workspace == "tabview")

eric ide

mercurial