def show_about_dialog(self, app_name, config_dir):
"""about dialog"""
#open controller ini file
self.ctrlr_ini = MameWahIni(os.path.join(config_dir, 'ctrlr', 'default.ini'), 'ctrlr')
#create about dialog
dlg = gtk.AboutDialog()
dlg.set_name(app_name)
dlg.set_version('\n%s "%s"' % (VERSION, VERSION_NAME))
dlg.set_logo(gtk.gdk.pixbuf_new_from_file(
os.path.join(APP_PATH, 'pixmaps', 'wahcade-logo.png')))
gtk.about_dialog_set_url_hook(self.show_website, None)
dlg.set_website('http:///www.anti-particle.com/wahcade.shtml')
dlg.set_website_label('www.anti-particle.com/wahcade')
dlg.set_authors([
'Andy Balcombe', 'sairuk',
'Bug Reports and Patches:',
' Sylvain Fauveau', ' Robbforce', ' Jim Merullo',
' SeTTleR', ' Mike Crawford', ' Mike Schwartz',
' Nellistc', ' Captbaritone', ' Delphipool', ' 3NF',
' Zerodiv', ' Natrix', ' Bonzo', ' Battlecat', ' Krisbee',
' Buks', ' KillsTheWeak', ' Martin Kalitis', ' Zerojay',
' Dave Baer', ' Spudgunman', ' RomKnight', ' Jason Carter',
' Zombie', ' Pinball Wizard', ' hamelg', ' 3vi1',
' Vítor Baptista', ' Enrico Magrella', 'zagadka',
' and anyone I\'ve forgotten...', '',
'Translations:',
' de: SeTTleR', ' es: Nicolás Álvarez',
' fr: Sylvain Faveau', ' it: Diego Pierotto',
' sv: Daniel Nylander', '',
'bdist_debian.py: Gene Cash', '',
])
dlg.set_artists(['Andy Balcombe', 'Buks', 'Battlecat'])
dlg.set_copyright('%s 2005-2010 Andy Balcombe' % (
unichr(169)).encode("utf-8"))
dlg.set_comments('Thanks to:\nMinWah and also the Mame / xMame team')
dlg.set_translator_credits(_('translator-credits'))
dlg.set_license(open(os.path.join(APP_PATH, 'doc', 'COPYING')).read())
dlg.connect('key_press_event', self.on_dlgAbout_key_press)
dlg.run()
dlg.hide()
评论列表
文章目录