Drop gnomevfs dependency

This commit is contained in:
Cole Robinson 2009-12-03 15:52:53 -05:00
parent 9fc947a314
commit 2ce3fef46b
2 changed files with 5 additions and 4 deletions

View File

@ -18,16 +18,18 @@
# MA 02110-1301 USA.
#
import gtk
import gtk.glade
import gnomevfs
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)
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)

View File

@ -34,7 +34,6 @@ Requires: gnome-keyring >= 0.4.9
# will work just fine - keyring functionality will simply be
# disabled
Requires: gnome-python2-gnomekeyring >= 2.15.4
Requires: gnome-python2-gnomevfs >= 2.15.4
# Minimum we've tested with
Requires: libxml2-python >= 2.6.23
# Absolutely require this version or later