gnome-mag r738 - in trunk: . colorblind colorblind/ui



Author: wwalker
Date: Sat Apr  4 15:03:51 2009
New Revision: 738
URL: http://svn.gnome.org/viewvc/gnome-mag?rev=738&view=rev

Log:
Fix for bug #573023 - Migrate deprecated gnome-vfs to gio/gvfs


Modified:
   trunk/ChangeLog
   trunk/colorblind/ColorblindApplet.py
   trunk/colorblind/Utils.py
   trunk/colorblind/ui/About.py

Modified: trunk/colorblind/ColorblindApplet.py
==============================================================================
--- trunk/colorblind/ColorblindApplet.py	(original)
+++ trunk/colorblind/ColorblindApplet.py	Sat Apr  4 15:03:51 2009
@@ -1,6 +1,6 @@
 import os, time
 from os.path import *
-import gnomeapplet, gtk, gtk.gdk, gconf, gnomevfs, gobject, bonobo, ORBit
+import gnomeapplet, gtk, gtk.gdk, gconf, gobject, bonobo, ORBit
 from gettext import gettext as _
 
 import colorblind, colorblind.ui

Modified: trunk/colorblind/Utils.py
==============================================================================
--- trunk/colorblind/Utils.py	(original)
+++ trunk/colorblind/Utils.py	Sat Apr  4 15:03:51 2009
@@ -2,7 +2,7 @@
 from os.path import *
 from gettext import gettext as _
 import colorblind
-import gtk, gtk.gdk, gnome.ui, gobject, gnomevfs
+import gtk, gtk.gdk, gnome.ui, gobject
 
 ICON_THEME = gtk.icon_theme_get_default()
 factory = gnome.ui.ThumbnailFactory(colorblind.ICON_HEIGHT)

Modified: trunk/colorblind/ui/About.py
==============================================================================
--- trunk/colorblind/ui/About.py	(original)
+++ trunk/colorblind/ui/About.py	Sat Apr  4 15:03:51 2009
@@ -3,15 +3,15 @@
 from gettext import gettext as _
 from colorblind.defs import VERSION
 from colorblind.Utils import load_icon
-import gtk, gtk.gdk, gnomevfs, gobject
+import gtk, gtk.gdk, gobject
 import colorblind
 
 
 def on_email(about, mail):
-	gnomevfs.url_show("mailto:%s"; % mail)
+	gtk.show_uri(None, "mailto:%s"; % mail, 0)
 
 def on_url(about, link):
-	gnomevfs.url_show(link)
+	gtk.show_uri(None, link, 0)
 
 gtk.about_dialog_set_email_hook(on_email)
 gtk.about_dialog_set_url_hook(on_url)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]