home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.4)
-
- from os.path import join
- from gettext import gettext as _
- from deskbar.defs import VERSION
- from deskbar.Utils import load_icon
- import gtk
- import gtk.gdk as gtk
- import gnomevfs
- import gobject
- import deskbar
-
- def on_email(about, mail):
- gnomevfs.url_show('mailto:%s' % mail)
-
-
- def on_url(about, link):
- gnomevfs.url_show(link)
-
- gtk.about_dialog_set_email_hook(on_email)
- gtk.about_dialog_set_url_hook(on_url)
-
- def show_about():
- about = gtk.AboutDialog()
- infos = {
- 'name': _('Deskbar'),
- 'logo-icon-name': 'deskbar-applet',
- 'version': VERSION,
- 'comments': _('An all-in-one action bar.'),
- 'copyright': 'Copyright \xc2\xa9 2004-2006 Nigel Tao, Raphael Slinckx, Mikkel Kamstrup Erlandsen.',
- 'website': 'http://raphael.slinckx.net/deskbar',
- 'website-label': _('Deskbar Website') }
- about.set_authors([
- 'Nigel Tao <nigel.tao@myrealbox.com>',
- 'Raphael Slinckx <raphael@slinckx.net>',
- 'Mikkel Kamstrup Erlandsen <kamstrup@daimi.au.dk>'])
- about.set_translator_credits(_('translator-credits'))
- for prop, val in infos.items():
- about.set_property(prop, val)
-
- about.connect('response', (lambda self: self.destroy()))
- about.show_all()
-
-