Example #1
0
 def on_about(self, item ):
     dlg = gtk.AboutDialog()
     dlg.set_name('Lazyscripts')
     dlg.set_version(get_version())
     dlg.set_website('http://TBD/')
     if self.icon:
         dlg.set_logo(self.icon)
     dlg.set_authors(['洪任諭 (PCMan) <*****@*****.**>', '朱昱任 (Yuren Ju) <*****@*****.**>', '林哲瑋 (billy3321,雨蒼) <*****@*****.**>', '陳信屹 (Hychen) <*****@*****.**>'])
     dlg.set_copyright('Copyright (C) 2007 by Lazyscripts project')
     dlg.set_license('GNU General Public License')
     dlg.set_comments(_('Linux Lazy pack'))
     dlg.run()
     dlg.destroy()
Example #2
0
	def _show_header(self):
		print """Lazyscript TestConsole%s
Type "help" for more information.""" % get_version()