comparison browser_side/panels.py @ 56:5fa710058e2d

browser side: fixed refactoring issue
author Goffi <goffi@goffi.org>
date Sun, 29 May 2011 15:25:46 +0200
parents d5266c41ca24
children e552a67b933d
comparison
equal deleted inserted replaced
55:d5266c41ca24 56:5fa710058e2d
98 98
99 #General menu 99 #General menu
100 def onSocialContract(self): 100 def onSocialContract(self):
101 _frame = Frame('contrat_social.html') 101 _frame = Frame('contrat_social.html')
102 _frame.setStyleName('infoFrame') 102 _frame.setStyleName('infoFrame')
103 _dialog = dialog.InfoDialog("Contrat Social", _frame) 103 _dialog = dialog.GenericDialog("Contrat Social", _frame)
104 _dialog.setSize('80%', '80%') 104 _dialog.setSize('80%', '80%')
105 _dialog.show() 105 _dialog.show()
106 106
107 def onAbout(self): 107 def onAbout(self):
108 _about = HTML("""<b>Libervia</b>, a Salut à Toi project<br /> 108 _about = HTML("""<b>Libervia</b>, a Salut à Toi project<br />
111 Blog available (mainly in french) at <a href="http://www.goffi.org" target="_blank">http://www.goffi.org</a><br /> 111 Blog available (mainly in french) at <a href="http://www.goffi.org" target="_blank">http://www.goffi.org</a><br />
112 Project page: <a href="http://wiki.goffi.org/wiki/Salut_à_Toi"target="_blank">http://wiki.goffi.org/wiki/Salut_à_Toi</a><br /> 112 Project page: <a href="http://wiki.goffi.org/wiki/Salut_à_Toi"target="_blank">http://wiki.goffi.org/wiki/Salut_à_Toi</a><br />
113 <br /> 113 <br />
114 Any help welcome :) 114 Any help welcome :)
115 """) 115 """)
116 _dialog = dialog.InfoDialog("About", _about) 116 _dialog = dialog.GenericDialog("About", _about)
117 _dialog.show() 117 _dialog.show()
118 118
119 #Contact menu 119 #Contact menu
120 def onAddContact(self): 120 def onAddContact(self):
121 """Q&D contact addition""" 121 """Q&D contact addition"""