mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Drop gnomevfs dependency
This commit is contained in:
parent
9fc947a314
commit
2ce3fef46b
@ -18,16 +18,18 @@
|
|||||||
# MA 02110-1301 USA.
|
# MA 02110-1301 USA.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
import gtk
|
||||||
import gtk.glade
|
import gtk.glade
|
||||||
import gnomevfs
|
|
||||||
|
|
||||||
def on_email(about, mail):
|
def on_email(about, mail):
|
||||||
gnomevfs.url_show("mailto:%s" % mail)
|
if hasattr(gtk, "show_uri"):
|
||||||
|
gtk.show_uri(None, "mailto:%s" % mail, gtk.get_current_event_time())
|
||||||
|
|
||||||
gtk.about_dialog_set_email_hook(on_email)
|
gtk.about_dialog_set_email_hook(on_email)
|
||||||
|
|
||||||
def on_url(about, link):
|
def on_url(about, link):
|
||||||
gnomevfs.url_show(link)
|
if hasattr(gtk, "show_uri"):
|
||||||
|
gtk.show_uri(None, link, gtk.get_current_event_time())
|
||||||
|
|
||||||
gtk.about_dialog_set_url_hook(on_url)
|
gtk.about_dialog_set_url_hook(on_url)
|
||||||
|
|
||||||
|
@ -34,7 +34,6 @@ Requires: gnome-keyring >= 0.4.9
|
|||||||
# will work just fine - keyring functionality will simply be
|
# will work just fine - keyring functionality will simply be
|
||||||
# disabled
|
# disabled
|
||||||
Requires: gnome-python2-gnomekeyring >= 2.15.4
|
Requires: gnome-python2-gnomekeyring >= 2.15.4
|
||||||
Requires: gnome-python2-gnomevfs >= 2.15.4
|
|
||||||
# Minimum we've tested with
|
# Minimum we've tested with
|
||||||
Requires: libxml2-python >= 2.6.23
|
Requires: libxml2-python >= 2.6.23
|
||||||
# Absolutely require this version or later
|
# Absolutely require this version or later
|
||||||
|
Loading…
Reference in New Issue
Block a user