/usr/share/pyshared/invest/about.py is in gnome-applets-data 3.4.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # -*- coding: utf-8 -*-
from os.path import join
from gettext import gettext as _
from invest.defs import VERSION
import invest
from gi.repository import Gtk, Gdk, GdkPixbuf
invest_logo = None
try:
invest_logo = GdkPixbuf.Pixbuf.new_from_file_at_size(join(invest.ART_DATA_DIR, "invest_neutral.svg"), 96, 96)
except Exception, msg:
pass
def show_about():
about = Gtk.AboutDialog()
infos = {
"program-name" : _("Invest"),
"logo" : invest_logo,
"version" : VERSION,
"comments" : _("Track your invested money."),
"copyright" : "Copyright © 2004-2005 Raphael Slinckx.\nCopyright © 2009-2011 Enrico Minack."
}
about.set_authors(["Raphael Slinckx <raphael@slinckx.net>", "Enrico Minack <enrico-minack@gmx.de>"])
# about.set_artists([])
# about.set_documenters([])
#translators: These appear in the About dialog, usual format applies.
about.set_translator_credits( _("translator-credits") )
for prop, val in infos.items():
about.set_property(prop, val)
about.connect ("response", lambda self, *args: self.destroy ())
about.show_all()
|