Preferences/ConfigurationPages/DebuggerPython3Page.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3656
441956d8fce5
--- a/Preferences/ConfigurationPages/DebuggerPython3Page.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Preferences/ConfigurationPages/DebuggerPython3Page.py	Thu Apr 03 23:05:31 2014 +0200
@@ -19,6 +19,7 @@
 
 import Preferences
 import Utilities
+import UI.PixmapCache
 
 
 class DebuggerPython3Page(ConfigurationPageBase, Ui_DebuggerPython3Page):
@@ -33,6 +34,9 @@
         self.setupUi(self)
         self.setObjectName("DebuggerPython3Page")
         
+        self.interpreterButton.setIcon(UI.PixmapCache.getIcon("open.png"))
+        self.debugClientButton.setIcon(UI.PixmapCache.getIcon("open.png"))
+        
         self.interpreterCompleter = E5FileCompleter(self.interpreterEdit)
         self.debugClientCompleter = E5FileCompleter(self.debugClientEdit)
         
@@ -89,7 +93,7 @@
         """
         file = E5FileDialog.getOpenFileName(
             self,
-            self.trUtf8("Select Python interpreter for Debug Client"),
+            self.tr("Select Python interpreter for Debug Client"),
             self.interpreterEdit.text(),
             "")
             
@@ -104,9 +108,9 @@
         """
         file = E5FileDialog.getOpenFileName(
             None,
-            self.trUtf8("Select Debug Client"),
+            self.tr("Select Debug Client"),
             self.debugClientEdit.text(),
-            self.trUtf8("Python Files (*.py *.py3)"))
+            self.tr("Python Files (*.py *.py3)"))
             
         if file:
             self.debugClientEdit.setText(

eric ide

mercurial