summaryrefslogtreecommitdiff
path: root/invest-applet/invest/about.py
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-13 13:54:33 +0300
committerraveit65 <[email protected]>2018-01-14 16:19:48 +0100
commit41f7b7a2a38ca9f3929fcbd88d228b3815034876 (patch)
tree4da95992b542ba378b7ccc82b8d55a3dd86302d3 /invest-applet/invest/about.py
parent55fbad37580a11d2ac539b382f463af2f12e114c (diff)
downloadmate-applets-41f7b7a2a38ca9f3929fcbd88d228b3815034876.tar.bz2
mate-applets-41f7b7a2a38ca9f3929fcbd88d228b3815034876.tar.xz
drop broken invest-applet and all Python dependencies
closes https://github.com/mate-desktop/mate-applets/issues/297
Diffstat (limited to 'invest-applet/invest/about.py')
-rw-r--r--invest-applet/invest/about.py40
1 files changed, 0 insertions, 40 deletions
diff --git a/invest-applet/invest/about.py b/invest-applet/invest/about.py
deleted file mode 100644
index 5a32cdb9..00000000
--- a/invest-applet/invest/about.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# -*- coding: utf-8 -*-
-from os.path import join
-from gettext import gettext as _
-from mate_invest.defs import VERSION
-import mate_invest
-
-import gi
-gi.require_version("Gtk", "3.0")
-from gi.repository import Gtk
-from gi.repository import Gdk
-from gi.repository import GdkPixbuf
-
-invest_logo = None
-try:
- invest_logo = GdkPixbuf.Pixbuf.new_from_file_at_size(join(mate_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-2010 Enrico Minack\nCopyright © 2012-2018 MATE developers"
- }
-
-# about.set_authors("Raphael Slinckx <[email protected]>\nEnrico Minack <[email protected]>")
-# 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()