[gnome-applets] [invest-applet] Do not use deprecated libgnome library
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] [invest-applet] Do not use deprecated libgnome library
- Date: Tue, 27 Apr 2010 21:01:23 +0000 (UTC)
commit 169b8f99e370f1577593ef5071c33d8ec641f4ee
Author: Enrico Minack <enrico-minack gmx de>
Date: Tue Apr 27 18:59:53 2010 +0200
[invest-applet] Do not use deprecated libgnome library
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=597842
Signed-off-by: Javier Jardón <jjardon gnome org>
invest-applet/invest/about.py | 3 ---
invest-applet/invest/invest-applet.py | 2 --
2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/invest-applet/invest/about.py b/invest-applet/invest/about.py
index 72e082e..986c281 100644
--- a/invest-applet/invest/about.py
+++ b/invest-applet/invest/about.py
@@ -4,9 +4,6 @@ from gettext import gettext as _
from invest.defs import VERSION
import invest
import gtk, gtk.gdk
-from gnome import url_show
-
-gtk.about_dialog_set_email_hook(lambda dialog, email: url_show("mailto:%s" % email))
invest_logo = None
try:
diff --git a/invest-applet/invest/invest-applet.py b/invest-applet/invest/invest-applet.py
index eeba9dd..c01dbca 100755
--- a/invest-applet/invest/invest-applet.py
+++ b/invest-applet/invest/invest-applet.py
@@ -87,8 +87,6 @@ if __name__ == "__main__":
standalone = True
if standalone:
- import gnome
- gnome.init(invest.defs.PACKAGE, invest.defs.VERSION)
build_window()
gtk.main()
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]