summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJamie McCracken <jamiemcc@src.gnome.org>2007-02-20 23:24:18 +0000
committerJamie McCracken <jamiemcc@src.gnome.org>2007-02-20 23:24:18 +0000
commit5a024a854b5b6a7904fe3fc16f95d79248a8557f (patch)
tree37e2d6111ee56fb984b6c69563f62a6dd06a1d8d /python
parenta1ca3b1471cf7c233f68cdc7c1df66277ad94f6c (diff)
downloadtracker-5a024a854b5b6a7904fe3fc16f95d79248a8557f.tar.gz
fixed utf8 issue in handler
svn path=/trunk/; revision=486
Diffstat (limited to 'python')
-rw-r--r--python/deskbar-handler/tracker-handler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/deskbar-handler/tracker-handler.py b/python/deskbar-handler/tracker-handler.py
index a369cf18e..113df4d69 100644
--- a/python/deskbar-handler/tracker-handler.py
+++ b/python/deskbar-handler/tracker-handler.py
@@ -10,7 +10,7 @@ import gnome
import gobject
from gettext import gettext as _
-import re,urllib
+import re, cgi
import os.path
import dbus
@@ -172,7 +172,7 @@ class TrackerLiveFileMatch (Match):
def action(self, text=None):
print "Opening Tracker hit:", self.result['uri']
- gnome.url_show ("file://"+urllib.quote(self.result['uri']))
+ gnome.url_show ("file://"+cgi.escape(self.result['uri']))
def get_category (self):
try: