better about dialog
This commit is contained in:
parent
9e91c026b8
commit
15c0b71bf8
|
@ -1,8 +1,8 @@
|
||||||
## plugins/dialogs.py
|
## plugins/dialogs.py
|
||||||
##
|
##
|
||||||
## Gajim Team:
|
## Gajim Team:
|
||||||
## - Yann Le Boulanger <asterix@lagaule.org>
|
## - Yann Le Boulanger <asterix@lagaule.org>
|
||||||
## - Vincent Hanquez <tab@snarc.org>
|
## - Vincent Hanquez <tab@snarc.org>
|
||||||
## - Nikos Kouremenos <nkour@jabber.org>
|
## - Nikos Kouremenos <nkour@jabber.org>
|
||||||
## - Alex Podaras <bigpod@jabber.org>
|
## - Alex Podaras <bigpod@jabber.org>
|
||||||
##
|
##
|
||||||
|
@ -438,35 +438,26 @@ class About_dialog:
|
||||||
"""Class for about dialog"""
|
"""Class for about dialog"""
|
||||||
def __init__(self, plugin):
|
def __init__(self, plugin):
|
||||||
if gtk.pygtk_version < (2, 6, 0):
|
if gtk.pygtk_version < (2, 6, 0):
|
||||||
|
Information_dialog('Gajim - The best GTK jabber client')
|
||||||
return
|
return
|
||||||
self.plugin = plugin
|
self.plugin = plugin
|
||||||
#xml.get_widget('logo_image').set_from_file('plugins/gtkgui/pixmaps/logo.png')
|
|
||||||
dlg = gtk.AboutDialog()
|
dlg = gtk.AboutDialog()
|
||||||
dlg.set_name('Gajim')
|
dlg.set_name('Gajim')
|
||||||
dlg.set_version('0.6')
|
dlg.set_version('0.6')
|
||||||
dlg.set_copyright('Copyright (C) 2003-2005 Gajim Team')
|
s = u'Copyright \xa9 2003-2005 Gajim Team'
|
||||||
dlg.set_license('''This program is free software; you can redistribute it and/or modify
|
dlg.set_copyright(s)
|
||||||
it under the terms of the GNU General Public License as published
|
text = open('COPYING').read()
|
||||||
by the Free Software Foundation; version 2 only.
|
dlg.set_license(text)
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
dlg.set_comments('The best GTK jabber client')
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.''')
|
|
||||||
|
|
||||||
dlg.set_comments('The best GTK jabber-only client')
|
|
||||||
dlg.set_website('http://www.gajim.org')
|
dlg.set_website('http://www.gajim.org')
|
||||||
dlg.set_authors('Yann')
|
authors = ['Yann Le Boulanger', 'Vincent Hanquez', 'Nikos Kouremenos', 'Alex Podaras']
|
||||||
# dlg.set_authors('Yann Le Boulanger')
|
dlg.set_authors(authors)
|
||||||
|
|
||||||
dlg.set_logo(gtk.gdk.pixbuf_new_from_file('plugins/gtkgui/pixmaps/logo.png'))
|
dlg.set_logo(gtk.gdk.pixbuf_new_from_file('plugins/gtkgui/pixmaps/logo.png'))
|
||||||
|
dlg.set_translator_credits(_('translator_credits'))
|
||||||
|
|
||||||
rep = dlg.run()
|
rep = dlg.run()
|
||||||
dlg.destroy()
|
dlg.destroy()
|
||||||
'''
|
|
||||||
, version='0.6', 'Nikos Kouremenos', 'The best GTK jabber-only client', 'http://www.gajim.org', 'Official Page', 'GPL', 'Yann')
|
|
||||||
dlg.run()
|
|
||||||
'''
|
|
||||||
|
|
||||||
class Confirmation_dialog:
|
class Confirmation_dialog:
|
||||||
"""Class for confirmation dialog"""
|
"""Class for confirmation dialog"""
|
||||||
|
|
Loading…
Reference in New Issue