~davidc3/onehundredscopes/deviantart

« back to all changes in this revision

Viewing changes to src/unity-scope-deviantart

  • Committer: David Callé
  • Date: 2012-03-13 23:50:04 UTC
  • Revision ID: davidc@framli.eu-20120313235004-khgbxzxw2l1psjgf
Work around an annoying crasher on activate uri

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
            self.update_results_model (search, results, page)
47
47
            return Unity.ActivationResponse(handled=Unity.HandledType.SHOW_DASH, goto_uri="")
48
48
        else:
49
 
#        GLib.spawn_command_line_async("eog %s" % uri)
50
 
            return Unity.ActivationResponse(Unity.HandledType.HIDE_DASH, uri)
 
49
            GLib.spawn_command_line_async("gvfs-open %s" % uri)
 
50
            return Unity.ActivationResponse(handled=Unity.HandledType.HIDE_DASH, goto_uri="")
51
51
 
52
52
    def on_filtering_changed(self, *_):
53
53
        """Run another search when a filter change is notified."""