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
+6
View File
@@ -31,12 +31,18 @@ struct _GcalSearchHitInterface
{
GTypeInterface parent;
void (*activate) (GcalSearchHit *self,
GtkWidget *for_widget);
gint (*get_priority) (GcalSearchHit *self);
gint (*compare) (GcalSearchHit *a,
GcalSearchHit *b);
};
void gcal_search_hit_activate (GcalSearchHit *self,
GtkWidget *for_widget);
gint gcal_search_hit_get_priority (GcalSearchHit *self);
gint gcal_search_hit_compare (GcalSearchHit *a,