PluginPrintRemover.py

changeset 2
1375fce99e3b
parent 0
deeb8c24a7ab
child 4
7577ef96b755
equal deleted inserted replaced
1:674088a74a31 2:1375fce99e3b
61 Module function returning data as required by the configuration dialog. 61 Module function returning data as required by the configuration dialog.
62 62
63 @return dictionary containing the relevant data 63 @return dictionary containing the relevant data
64 """ 64 """
65 if e5App().getObject("UserInterface").versionIsNewer('5.2.99', '20121012'): 65 if e5App().getObject("UserInterface").versionIsNewer('5.2.99', '20121012'):
66 # TODO: add a sensible icon
67 return { 66 return {
68 "printRemoverPage": [ 67 "printRemoverPage": [
69 QCoreApplication.translate("PrintRemoverPlugin", 68 QCoreApplication.translate("PrintRemoverPlugin",
70 "Print Remover"), 69 "Print Remover"),
71 os.path.join("PrintRemover", "icons", "clock.png"), 70 os.path.join("PrintRemover", "icons", "printRemover.png"),
72 createPrintRemoverPage, None, None], 71 createPrintRemoverPage, None, None],
73 } 72 }
74 else: 73 else:
75 return {} 74 return {}
76 75

eric ide

mercurial