Preferences/ShortcutsDialog.py

changeset 553
5af61623ae3c
parent 541
00e1a5d060c5
child 564
b3d966393ba9
diff -r e1074b63ff08 -r 5af61623ae3c Preferences/ShortcutsDialog.py
--- a/Preferences/ShortcutsDialog.py	Fri Sep 03 18:53:24 2010 +0200
+++ b/Preferences/ShortcutsDialog.py	Fri Sep 03 20:04:49 2010 +0200
@@ -300,7 +300,7 @@
                                     """ to the <b>{1}</b> action. """
                                     """Remove this binding?</p>""")
                                     .format(keystr, itm.text(0)),
-                                type_ = E5MessageBox.Warning)
+                                icon = E5MessageBox.Warning)
                             if res:
                                 itm.setText(col, "")
                                 return True
@@ -318,7 +318,7 @@
                                     """<p><b>{0}</b> hides the <b>{1}</b> action. """
                                     """Remove this binding?</p>""")
                                     .format(keystr, itm.text(0)),
-                                type_ = E5MessageBox.Warning)
+                                icon = E5MessageBox.Warning)
                             if res:
                                 itm.setText(col, "")
                                 return True
@@ -334,7 +334,7 @@
                                     """<b>{1}</b> action. """
                                     """Remove this binding?</p>""")
                                     .format(keystr, itm.text(0)),
-                                type_ = E5MessageBox.Warning)
+                                icon = E5MessageBox.Warning)
                             if res:
                                 itm.setText(col, "")
                                 return True
@@ -453,4 +453,4 @@
         @param checked state of the shortcuts radio button (boolean)
         """
         if checked:
-            self.on_searchEdit_textChanged(self.searchEdit.text())
+            self.on_searchEdit_textChanged(self.searchEdit.text())
\ No newline at end of file

eric ide

mercurial