Пример #1
0
	def __init__(self):
		AboutDialog.__init__(self)
		
		self.set_skip_pager_hint(True)
		self.set_skip_taskbar_hint(True)
		
		program_name = 'gnome-shortcuts'
		program_version = '0.1'
		website = 'http://gnomeshortcuts.googlecode.com/'
		logo = pixbuf_new_from_file(join(data_path, 'icon.svg'))
		
		authors = ['Fred Morcos <*****@*****.**>']
		documenters = ['Fred Morcos <*****@*****.**>']
		artists = ['Fred Morcos <*****@*****.**>']
		
		self.set_program_name(program_name)
		self.set_version(program_version)
		self.set_logo(logo)
		
		self.set_website(website)
		self.set_website_label(website)
		
		self.set_authors(authors)
		self.set_documenters(documenters)
		self.set_artists(artists)
		self.set_license(
				'Licensed under the GPLv3. See COPYING for more information.')
Пример #2
0
    def __init__(self, icon):
        from os.path import exists, abspath, join
        from gtk.gdk import pixbuf_new_from_file
        AboutDialog.__init__(self)

        self.set_icon(pixbuf_new_from_file(icon))
        self.set_name("gtkpacman")
        self.set_version("2.0")
        self.set_copyright(_("Copyright (C)2005-2008 by Stefano Esposito.\nRights to copy, modify, and redistribute are granted under the GNU General Public License Terms"))
        self.set_comments(_("Gtk package manager based on pacman"))
        self.set_license(_("""gtkPacman is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

gtkPacman program is distributed in the hope that it will be useful,
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.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA"""))
        self.set_website("http://gtkpacman.berlios.de")
        self.set_authors(["Stefano Esposito <*****@*****.**>"])
        self.set_artists(["James D <*****@*****.**>"])

        path = "/usr/share/gtkpacman/"
        if not exists(path):
            path = abspath("data/")
            
        fname = join(path, "icons/pacman.png")
        logo = pixbuf_new_from_file(fname)
        self.set_logo(logo)
Пример #3
0
    def __init__(self):
        AboutDialog.__init__(self)

        self.set_skip_pager_hint(True)
        self.set_skip_taskbar_hint(True)

        program_name = 'Grafer'
        program_version = '0.2'
        website = 'http://grafer.googlecode.com/'
        logo = gdk.pixbuf_new_from_file(join(data_path, 'icons', 'grafer.svg'))

        authors = ['Fred Morcos <*****@*****.**>']
        documenters = ['Fred Morcos <*****@*****.**>']
        artists = [
            'Fred Morcos <*****@*****.**>',
            'Laila Hassaballa <*****@*****.**>'
        ]

        self.set_program_name(program_name)
        self.set_version(program_version)
        self.set_logo(logo)

        self.set_website(website)
        self.set_website_label(website)

        self.set_authors(authors)
        self.set_documenters(documenters)
        self.set_artists(artists)
        self.set_license(
            'Licensed under the GPLv3. See COPYING for more information.')