[pybliographer] ui: Replace gnome.url_show by gtk.show_uri
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pybliographer] ui: Replace gnome.url_show by gtk.show_uri
- Date: Sun, 25 Mar 2018 22:56:29 +0000 (UTC)
commit a968aa16b16415ef521c4847fc8d1999b2c2096a
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Sun Mar 25 00:40:46 2018 -0300
ui: Replace gnome.url_show by gtk.show_uri
Pyblio/GnomeUI/Entry.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Pyblio/GnomeUI/Entry.py b/Pyblio/GnomeUI/Entry.py
index 8931670..9cc0cba 100644
--- a/Pyblio/GnomeUI/Entry.py
+++ b/Pyblio/GnomeUI/Entry.py
@@ -20,8 +20,9 @@
#
from gtk import *
+import gtk
-import pango, gnome, gobject
+import pango, gobject
import string
@@ -101,7 +102,7 @@ class Entry:
def url_open (w, url):
try:
- gnome.url_show (url)
+ gtk.show_uri(None, url, gtk.gdk.CURRENT_TIME)
except gobject.GError, msg:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]