search: Open event from search results

And this finally hooks up the last missing bit from the
search engine: opening events from search results.

All the necessary plumbing is there for extending search
with other commands or results, such as go to date, etc.
This commit is contained in:
Georges Basile Stavracas Neto
2019-04-29 17:08:54 -03:00
parent 1aecd1043d
commit d6c5bf032d
5 changed files with 51 additions and 4 deletions
+10
View File
@@ -27,6 +27,16 @@ gcal_search_hit_default_init (GcalSearchHitInterface *iface)
{
}
void
gcal_search_hit_activate (GcalSearchHit *self,
GtkWidget *for_widget)
{
g_return_if_fail (GCAL_IS_SEARCH_HIT (self));
g_return_if_fail (GCAL_SEARCH_HIT_GET_IFACE (self)->activate);
GCAL_SEARCH_HIT_GET_IFACE (self)->activate (self, for_widget);
}
gint
gcal_search_hit_get_priority (GcalSearchHit *self)
{