24 # Start-Of-Header |
24 # Start-Of-Header |
25 name = "Refactoring Rope Plugin" |
25 name = "Refactoring Rope Plugin" |
26 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
26 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
27 autoactivate = True |
27 autoactivate = True |
28 deactivateable = True |
28 deactivateable = True |
29 version = "4.3.0" |
29 version = "4.3.1" |
30 className = "RefactoringRopePlugin" |
30 className = "RefactoringRopePlugin" |
31 packageName = "RefactoringRope" |
31 packageName = "RefactoringRope" |
32 internalPackages = "rope" |
32 internalPackages = "rope" |
33 shortDescription = "Refactoring using the Rope library." |
33 shortDescription = "Refactoring using the Rope library." |
34 longDescription = """This plug-in implements refactoring functionality""" \ |
34 longDescription = """This plug-in implements refactoring functionality""" \ |
103 "ropeCallTipsPage": [ |
103 "ropeCallTipsPage": [ |
104 QCoreApplication.translate("RefactoringRopePlugin", "Rope"), |
104 QCoreApplication.translate("RefactoringRopePlugin", "Rope"), |
105 os.path.join("RefactoringRope", "ConfigurationPage", |
105 os.path.join("RefactoringRope", "ConfigurationPage", |
106 "preferences-refactoring.png"), |
106 "preferences-refactoring.png"), |
107 createCallTipsPage, "editorCalltipsPage", None], |
107 createCallTipsPage, "editorCalltipsPage", None], |
108 "ropeMouseClickHandlerPage": [ |
108 } |
|
109 |
|
110 ui = e5App().getObject("UserInterface") |
|
111 if ui.versionIsNewer("6.0.99", "20150627") or ui.versionIsNewer("16.10"): |
|
112 data ["ropeMouseClickHandlerPage"] = [ |
109 QCoreApplication.translate("RefactoringRopePlugin", "Rope"), |
113 QCoreApplication.translate("RefactoringRopePlugin", "Rope"), |
110 os.path.join("RefactoringRope", "ConfigurationPage", |
114 os.path.join("RefactoringRope", "ConfigurationPage", |
111 "preferences-refactoring.png"), |
115 "preferences-refactoring.png"), |
112 createMouseClickHandlerPage, "1editorMouseClickHandlers", None], |
116 createMouseClickHandlerPage, "1editorMouseClickHandlers", None] |
113 } |
|
114 |
117 |
115 return data |
118 return data |
116 |
119 |
117 |
120 |
118 def prepareUninstall(): |
121 def prepareUninstall(): |