[nk]Clean "about" dialog
This commit is contained in:
parent
5655449d08
commit
1309befd16
|
@ -525,11 +525,14 @@ class AboutDialog:
|
||||||
text = open('../COPYING').read()
|
text = open('../COPYING').read()
|
||||||
dlg.set_license(text)
|
dlg.set_license(text)
|
||||||
|
|
||||||
|
#FIXME: do versions strings translatable after .10
|
||||||
|
#FIXME: use %s then
|
||||||
dlg.set_comments(_('A GTK+ jabber client') + '\nGTK+ Version: ' + \
|
dlg.set_comments(_('A GTK+ jabber client') + '\nGTK+ Version: ' + \
|
||||||
self.tuple2str(gtk.gtk_version) + '\nPyGTK Version: ' + \
|
self.tuple2str(gtk.gtk_version) + '\nPyGTK Version: ' + \
|
||||||
self.tuple2str(gtk.pygtk_version))
|
self.tuple2str(gtk.pygtk_version))
|
||||||
dlg.set_website('http://www.gajim.org')
|
dlg.set_website('http://www.gajim.org')
|
||||||
|
|
||||||
|
#FIXME: do current devs a translatable string
|
||||||
authors = [
|
authors = [
|
||||||
'Current Developers:',
|
'Current Developers:',
|
||||||
'Yann Le Boulanger <asterix@lagaule.org>',
|
'Yann Le Boulanger <asterix@lagaule.org>',
|
||||||
|
@ -570,9 +573,9 @@ class AboutDialog:
|
||||||
rep = dlg.run()
|
rep = dlg.run()
|
||||||
dlg.destroy()
|
dlg.destroy()
|
||||||
|
|
||||||
def tuple2str(self, tuple):
|
def tuple2str(self, tuple_):
|
||||||
str_ = ''
|
str_ = ''
|
||||||
for num in tuple:
|
for num in tuple_:
|
||||||
str_ += str(num) + '.'
|
str_ += str(num) + '.'
|
||||||
return str_[0:-1] # remove latest .
|
return str_[0:-1] # remove latest .
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue