GNOME Bugzilla – Bug 685224
search-provider: add a timestamp argument to ActivateResult()
Last modified: 2012-12-06 20:55:44 UTC
Currently the shell doesn't pass any user interaction timestamp down to the search providers, leading to some ugly code in the providers themselves, like [1]. Change the DBus interface of the search provider to include such an argument instead. This will need changes in all the search providers; I will prepare patches and set them as dependent on this bug. Don't know if it's worth to try to get this in for 3.6.1, but it might be if we manage to patch all the providers at the same time. [1] http://git.gnome.org/browse/nautilus/commit/?id=6bb4e031633df39859fc6d1652a319b6edd5b54f
Created attachment 225504 [details] [review] search-provider: add a timestamp argument to ActivateResult() Since resutls are activated from user interaction from the provider itself, we need to pass a timestamp down to the provider, so that it can be passed to functions like gtk_show_uri(). Refactor all the activateResult() methods to have such a prototype - some are currently different because of dragActivateResult(), which we can completely handle, for those providers who support it, without touching activateResult().
Ping?
This was solved as part of bug 689735. *** This bug has been marked as a duplicate of bug 689735 ***