diff -Nru unity-scope-colourlovers-0.1/debian/bzr-builder.manifest unity-scope-colourlovers-0.1/debian/bzr-builder.manifest --- unity-scope-colourlovers-0.1/debian/bzr-builder.manifest 2011-12-30 18:22:07.000000000 +0000 +++ unity-scope-colourlovers-0.1/debian/bzr-builder.manifest 2012-01-01 20:39:05.000000000 +0000 @@ -1,2 +1,2 @@ -# bzr-builder format 0.3 deb-version {debupstream}-0~5 -lp:~davidc3/onehundredscopes/colourlovers revid:davidc@framli.eu-20111230181445-b3gk0hvz5azwx1hk +# bzr-builder format 0.3 deb-version {debupstream}-0~6 +lp:~davidc3/onehundredscopes/colourlovers revid:davidc@framli.eu-20120101174521-xriasfh5zt140wku diff -Nru unity-scope-colourlovers-0.1/debian/changelog unity-scope-colourlovers-0.1/debian/changelog --- unity-scope-colourlovers-0.1/debian/changelog 2011-12-30 18:22:07.000000000 +0000 +++ unity-scope-colourlovers-0.1/debian/changelog 2012-01-01 20:39:05.000000000 +0000 @@ -1,8 +1,8 @@ -unity-scope-colourlovers (0.1-0~5~oneiric1) oneiric; urgency=low +unity-scope-colourlovers (0.1-0~6~oneiric1) oneiric; urgency=low * Auto build. - -- David Callé Fri, 30 Dec 2011 18:22:07 +0000 + -- David Callé Sun, 01 Jan 2012 20:39:05 +0000 unity-scope-colourlovers (0.1) oneiric; urgency=low diff -Nru unity-scope-colourlovers-0.1/src/unity-scope-colourlovers unity-scope-colourlovers-0.1/src/unity-scope-colourlovers --- unity-scope-colourlovers-0.1/src/unity-scope-colourlovers 2011-12-30 18:22:07.000000000 +0000 +++ unity-scope-colourlovers-0.1/src/unity-scope-colourlovers 2012-01-01 20:39:05.000000000 +0000 @@ -36,7 +36,7 @@ self.scope.export() def on_activate_uri (self, scope, uri): - title = uri.split('___')[0] + title = uri.split('___')[0].replace ('\'', '\\\'') palette = uri.split('___')[1] #Determine GIMP/Inkscape path try: @@ -61,8 +61,8 @@ except: print "Agave not found" notification_title = 'Palettes' - notification_text = '%s has been added to your collection.' % title - GLib.spawn_command_line_async("notify-send -i '%s' '%s' '%s'" % ('applications-graphics',notification_title, notification_text)) + notification_text = "%s has been added to your collection." % title + GLib.spawn_command_line_async('notify-send -i "%s" "%s" "%s"' % ('applications-graphics',notification_title, notification_text)) return Unity.ActivationResponse(handled=Unity.HandledType.HIDE_DASH, goto_uri='') def get_search_string (self):