Ejemplo n.º 1
0
    def plugin_about(self, _widget):
        plugin = self.plugin_get_selected()
        iconpb = self.plugin_get_icon_pixbuf(plugin)

        about_text = plugin.longname + "\n" + plugin.author + "\n"
        if len(plugin.author_email) > 0:
            about_text += "<" + plugin.author_email + ">"

        self.about_dialog = gtk.AboutDialog()
        self.about_dialog.set_name(plugin.longname)
        self.about_dialog.set_role('about')
        self.about_dialog.set_version(plugin.version_string)
        if len(plugin.description.strip()) > 0:
            self.about_dialog.set_comments(plugin.description)
        if len(plugin.author.strip()) > 0:
            author = plugin.author
            if len(plugin.author.strip()) > 0:
                author += ' <' + plugin.author_email + '>'
            self.about_dialog.set_authors([author])
        if len(plugin.url.strip()) > 0:
            gtk.about_dialog_set_url_hook(self.plugin_show_website)
            self.about_dialog.set_website(plugin.url)
        self.about_dialog.set_logo(iconpb)

        self.about_dialog.connect('response', self.plugin_about_close)
        self.about_dialog.connect('delete_event', self.plugin_about_close)
        self.about_dialog.show_all()
Ejemplo n.º 2
0
 def _aboutCb(self, unused_action):
     abt = gtk.AboutDialog()
     abt.set_name(APPNAME)
     abt.set_version(pitivi_version)
     gtk.about_dialog_set_url_hook(self._showWebsiteCb)
     abt.set_website(APPURL)
     authors = ["Edward Hervey <*****@*****.**>",
                "Alessandro Decina <*****@*****.**>",
                "Brandon Lewis <*****@*****.**> (UI)",
                "Jean-François Fortin Tam <*****@*****.**> (UI)",
                "Thibault Saunier <*****@*****.**>",
                "",
                _("Contributors:"),
                "Christophe Sauthier <*****@*****.**> (i18n)",
                "Laszlo Pandy <*****@*****.**> (UI)",
                "Ernst Persson  <*****@*****.**>",
                "Richard Boulton <*****@*****.**>",
                "Thibaut Girka <*****@*****.**> (UI)",
                "Johan Dahlin <*****@*****.**> (UI)",
                "Luca Della Santina <*****@*****.**>",
                "Thijs Vermeir <*****@*****.**>",
                "Sarath Lakshman <*****@*****.**>",
                "Alex Balut <*****@*****.**>"]
     abt.set_authors(authors)
     translators = _("translator-credits")
     if translators != "translator-credits":
         abt.set_translator_credits(translators)
     abt.set_license(_("GNU Lesser General Public License\n"
                       "See http://www.gnu.org/copyleft/lesser.html for more details"))
     abt.set_icon_name("pitivi")
     abt.set_logo_icon_name("pitivi")
     abt.connect("response", self._aboutResponseCb)
     abt.show()
Ejemplo n.º 3
0
def get_about_dialog():
    """Returns an AboutDialog with all the necessary info"""

    _MAX_WIDTH = 20
    wrapped_name = fill(consts.APP_LONG_NAME, _MAX_WIDTH)

    abt = gtk.AboutDialog()

    # attach an icon
    icon = abt.render_icon(gtk.STOCK_ABOUT, gtk.ICON_SIZE_MENU)
    abt.set_icon(icon)

    filepath = os.path.join(consts.IMAGES_DIR, 'VF_logo.png')
    logo = gtk.gdk.pixbuf_new_from_file(filepath)

    abt.set_logo(logo)
    gtk.about_dialog_set_url_hook(lambda abt, url: url_show(url))
    gtk.about_dialog_set_email_hook(lambda d, e: url_show("mailto:%s" % e))

    if gtk.pygtk_version >= (2, 11, 0):
        abt.set_program_name(wrapped_name)
    else:
        abt.set_name(wrapped_name)

    abt.set_version(consts.APP_VERSION)
    abt.set_copyright(_('Vodafone Spain S.A.'))
    abt.set_authors(consts.APP_AUTHORS)
    abt.set_documenters(consts.APP_DOCUMENTERS)
    abt.set_artists(consts.APP_ARTISTS)
    abt.set_website(consts.APP_URL)

    # XXX: pango here? I tried w/o success
    abt.set_website_label('http://forge.vodafonebetavine.net/..')

    trans_credits = _('translated to $LANG by $translater')
    # only enable them when necessary
    if trans_credits != 'translated to $LANG by $translater':
        abt.set_translator_credits(trans_credits)

    _license = """
Vodafone Mobile Connect Card driver for Linux
Copyright (C) 2006-2007 Vodafone España S.A.

This program 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.

This 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 Street, Fifth Floor, Boston, MA 02110-1301 USA"""
    abt.set_license(_license)

    return abt
Ejemplo n.º 4
0
 def on_about(self, data):
     dialog = gtk.AboutDialog()
     dialog.set_name('Gant Monitor')
     dialog.set_version('0.1.0')
     dialog.set_comments('A tray icon to start Gant')
     dialog.set_website('http://cgit.get-open.com/cgit.cgi/gant/')
     dialog.run()
     dialog.destroy()
Ejemplo n.º 5
0
 def activate_about(self, action):
     dialog = gtk.AboutDialog()
     dialog.set_name("Simulation engine")
     dialog.set_copyright("No copyright")
     dialog.set_website("http://www.cyclicity-cdl.sourceforge.net/")
     ## Close dialog on user response
     dialog.connect("response", lambda d, r: d.destroy())
     dialog.show()
Ejemplo n.º 6
0
 def on_about(self, widget):
     about = gtk.AboutDialog()
     about.set_program_name("Battery")
     about.set_version("9.1.0.19")
     about.set_copyright("(c) Jay Chao")
     about.set_website("http://www.zhenchao.com")
     about.run()
     about.destroy()
Ejemplo n.º 7
0
 def action_about(self, a):
     d = gtk.AboutDialog()
     d.set_name(PRODUCT_TITLE)
     d.set_copyright("2008 Karl Pickett/penguindev")
     d.set_license("GPL3")
     d.set_website("http://fontmanager.blogspot.com/")
     d.run()
     d.destroy()
Ejemplo n.º 8
0
 def about(self, *args):
     about = gtk.AboutDialog()
     about.set_name("Gll")
     about.set_comments("A graphical user interface for microlensing "
                        "computations based on the Lucky Lensing Library")
     about.set_copyright(u"© Sven Marnach, 2010")
     about.run()
     about.destroy()
Ejemplo n.º 9
0
 def runAbout(self, widget):
     about = gtk.AboutDialog()
     about.set_program_name("Fault injection tool")
     about.set_copyright("(c) Martin Zelinka")
     about.set_comments(
         "A Fault Injection Bug Hunting Tool Based on Systemtap")
     about.run()
     about.destroy()
Ejemplo n.º 10
0
 def activate_about(self, action):
     dialog = gtk.AboutDialog()
     dialog.set_name("PyGTK Demo")
     dialog.set_copyright("\302\251 Copyright 200x the PyGTK Team")
     dialog.set_website("http://www.pygtk.org./")
     ## Close dialog on user response
     dialog.connect("response", lambda d, r: d.destroy())
     dialog.show()
Ejemplo n.º 11
0
	def __init__(self):
		about_dialog = gtk.AboutDialog()
		about_dialog.set_destroy_with_parent(True)
		about_dialog.set_name('Merceria Katy\nV. 1.11')
		#about_dialog.set_version('1.0')
		about_dialog.set_authors(['Fusa Desarollos\nE-mail:[email protected]'])
		about_dialog.run()
		about_dialog.destroy()
Ejemplo n.º 12
0
 def show_about(self, widget, data=None):
     about_dialog = gtk.AboutDialog()
     about_dialog.set_destroy_with_parent(True)
     about_dialog.set_name("IrssiProxy Notification")
     about_dialog.set_version(__version__)
     about_dialog.set_authors([__author__])
     about_dialog.run()
     about_dialog.destroy()
Ejemplo n.º 13
0
 def onAbout(self, widget):
     print "Help->About"
     dialog = gtk.AboutDialog()
     dialog.set_name("PyHildon Demo")
     dialog.set_copyright("\302\251 Copyright 2005 the INdT Team")
     dialog.set_website("http://www.indt.org/")
     dialog.connect ("response", lambda d, r: d.destroy())
     dialog.show()
Ejemplo n.º 14
0
 def show_about_dialog(self, widget):
     about_dialog = gtk.AboutDialog()
     about_dialog.set_destroy_with_parent(True)
     about_dialog.set_name("Parrot Zik Tray")
     about_dialog.set_version("0.3")
     about_dialog.set_authors(["Dmitry Moiseev [email protected]"])
     about_dialog.run()
     about_dialog.destroy()
Ejemplo n.º 15
0
 def on_about(self, data):
   dialog = gtk.AboutDialog()
   dialog.set_name('Tracker')
   dialog.set_version('0.5.0')
   dialog.set_comments('A desktop indexing and search tool')
   dialog.set_website('www.freedesktop.org/Tracker')
   dialog.run()
   dialog.destroy()
Ejemplo n.º 16
0
 def show_about(self, widget):
     about = gtk.AboutDialog()
     about.set_program_name("Early Warning System")
     about.set_version("0.1")
     about.set_copyright("(c) Akhmat Safrudin 2011")
     about.set_website("http://www.airputih.or.id")
     about.run()
     about.destroy()
Ejemplo n.º 17
0
 def about_cb(self, action):
     about = gtk.AboutDialog()
     about.set_name("Image Creator")
     about.set_copyright("Copyright (C) 2011 Intel Corporation")
     about.set_authors(["Joshua Lock <*****@*****.**>"])
     about.set_logo_icon_name("applications-development")
     about.run()
     about.destroy()
Ejemplo n.º 18
0
	def activate_about(self, action):
		dialog = gtk.AboutDialog()
		dialog.set_name("colupatr v"+version)
		dialog.set_copyright("\302\251 Copyright 2011 frob")
		dialog.set_website("http://www.gimp.ru/")
		## Close dialog on user response
		dialog.connect ("response", lambda d, r: d.destroy())
		dialog.show()
Ejemplo n.º 19
0
def help_about_cb(action, sourceview):
    dialog = gtk.AboutDialog()
    dialog.set_name("Python USFM Viewer")
    dialog.set_authors("Matt Postiff")
    dialog.set_copyright("(C) 2018 Matt Postiff")
    dialog.set_version("1.0")
    response = dialog.run()
    dialog.destroy()
Ejemplo n.º 20
0
    def about_mypaint_cb(self, action):
        d = gtk.AboutDialog()
        d.set_transient_for(self)
        d.set_program_name("MyPaint")
        d.set_version(self.app.version)
        d.set_copyright(_("Copyright (C) 2005-2012\nMartin Renold and the MyPaint Development Team"))
        d.set_website("http://mypaint.info/")
        d.set_logo(self.app.pixmaps.mypaint_logo)
        d.set_license(
            _(u"This program is free software; you can redistribute it and/or modify "
              u"it under the terms of the GNU General Public License as published by "
              u"the Free Software Foundation; either version 2 of the License, or "
              u"(at your option) any later version.\n"
              u"\n"
              u"This program is distributed in the hope that it will be useful, "
              u"but WITHOUT ANY WARRANTY. See the COPYING file for more details.")
            )
        d.set_wrap_license(True)
        d.set_authors([
            # (in order of appearance)
            u"Martin Renold (%s)" % _('programming'),
            u"Yves Combe (%s)" % _('portability'),
            u"Popolon (%s)" % _('programming'),
            u"Clement Skau (%s)" % _('programming'),
            u"Jon Nordby (%s)" % _('programming'),
            u"Álinson Santos (%s)" % _('programming'),
            u"Tumagonx (%s)" % _('portability'),
            u"Ilya Portnov (%s)" % _('programming'),
            u"Jonas Wagner (%s)" % _('programming'),
            u"Luka Čehovin (%s)" % _('programming'),
            u"Andrew Chadwick (%s)" % _('programming'),
            u"Till Hartmann (%s)" % _('programming'),
            u'David Grundberg (%s)' % _('programming'),
            u"Krzysztof Pasek (%s)" % _('programming'),
            u"Ben O'Steen (%s)" % _('programming'),
            u"Ferry Jérémie (%s)" % _('programming'),
            u"しげっち 'sigetch' (%s)" % _('programming'),
            u"Richard Jones (%s)" % _('programming'),
            u"David Gowers (%s)" % _('programming'),
            ])
        d.set_artists([
            u"Artis Rozentāls (%s)" % _('brushes'),
            u"Popolon (%s)" % _('brushes'),
            u"Marcelo 'Tanda' Cerviño (%s)" % _('patterns, brushes'),
            u"David Revoy (%s)" % _('brushes, tool icons'),
            u"Ramón Miranda (%s)" % _('brushes, patterns'),
            u"Enrico Guarnieri 'Ico_dY' (%s)" % _('brushes'),
            u'Sebastian Kraft (%s)' % _('desktop icon'),
            u"Nicola Lunghi (%s)" % _('patterns'),
            u"Toni Kasurinen (%s)" % _('brushes'),
            u"Сан Саныч 'MrMamurk' (%s)" % _('patterns'),
            u"Andrew Chadwick (%s)" % _('tool icons'),
            u"Ben O'Steen (%s)" % _('tool icons'),
            ])
        d.set_translator_credits(_("translator-credits"));

        d.run()
        d.destroy()
Ejemplo n.º 21
0
 def on_about(self, data=None):
     """ Opens the About Dialog. """
     dialog = gtk.AboutDialog()
     dialog.set_name('Wicd Tray Icon')
     dialog.set_version('2.0')
     dialog.set_comments('An icon that shows your network connectivity')
     dialog.set_website('http://launchpad.net/wicd')
     dialog.run()
     dialog.destroy()
Ejemplo n.º 22
0
	def on_about(self, data):
		dialog = gtk.AboutDialog()
		dialog.set_name('ISO Loader')
		dialog.set_version(__version__)
		dialog.set_comments(__comment__)
		dialog.set_website(__website__)
		dialog.set_copyright(__copyright__)
		dialog.run()
		dialog.destroy()
Ejemplo n.º 23
0
 def aboutEvent(self, widget):
     d = gtk.AboutDialog()
     d.set_authors(["Davide Gessa"])
     d.set_license(license)
     d.set_wrap_license(True)
     d.set_name("YoutubeMD")
     d.set_logo(self.icon)
     d.run()
     d.destroy()
Ejemplo n.º 24
0
 def Ab(self, widget):
     about = gtk.AboutDialog()
     about.set_program_name("BitLog")
     about.set_version("2.0")
     about.set_copyright("(c) Liam")
     about.set_comments(u"一款用于登录外网的开源客户端")
     about.set_website_label("http://liamchzh.com")
     about.run()
     about.destroy()
Ejemplo n.º 25
0
 def about(self, action):
     dialog = gtk.AboutDialog()
     dialog.set_name("EveTimer")
     dialog.set_copyright("\302\251 %s" % __copyright__)
     dialog.set_version(__version__)
     dialog.set_website("http://claus.beerta.net/")
     dialog.set_comments("A tool to monitor your Skill Training in EVE-Online.\n\nIf you enjoy this tool, feel free to send ISK donations to 'Kyara'.")
     dialog.connect ("response", lambda d, r: d.destroy())
     dialog.show()
Ejemplo n.º 26
0
 def show_about_dialog(self, widget):
     about_dialog = gtk.AboutDialog()
     about_dialog.set_destroy_with_parent(True)
     about_dialog.set_icon_name("Decision Support System Logger V 1.0")
     about_dialog.set_name('DSS')
     about_dialog.set_version('1.0')
     about_dialog.set_comments(("Practicum Fall 2016"))
     about_dialog.run()
     about_dialog.destroy()
Ejemplo n.º 27
0
 def about(self,widget):
     about = gtk.AboutDialog()
     about.set_program_name("Jarvis")
     about.set_version("1.0")
     about.set_copyright("(c) Jarvis ")
     about.set_comments("Control your computer using hand motion, gestures to improve Human-Computer Interaction.")
     #about.set_logo(gtk.gdk.pixbuf_new_from_file("battery.png"))
     about.run()
     about.destroy()
Ejemplo n.º 28
0
 def show_about_dialog(self, widget, data=None):
     about = gtk.AboutDialog()
     about.set_program_name('Light Icon')
     about.set_version('1.0')
     about.set_comments(
         'Light Icon is a simple tool to adjust your brightness. It uses "light" module to set and get the brightness.\n\nWritten by FSX and Himanshu'
     )
     about.run()
     about.destroy()
Ejemplo n.º 29
0
 def on_about_activate(self, widget):
     about = gtk.AboutDialog()
     about.set_program_name(self.myname)
     about.set_version(self.version)
     about.set_comments('A simple Dots and Boxes AI.')
     about.set_copyright(
         'Written by:\nYimmon Zhuang\n<*****@*****.**>')
     about.run()
     about.destroy()
Ejemplo n.º 30
0
	def about_dialog(self):
		about=gtk.AboutDialog()
		about.set_program_name('Работа с весами Metler Toledo Tiger P')
		about.set_version('1.0')
		about.set_copyright('(c) CAV Inc')
		about.set_license('LGPL')
		
		about.run()
		about.destroy()