window: set search terms API
This commit is contained in:
@@ -1585,6 +1585,14 @@ gcal_window_set_search_mode (GcalWindow *window,
|
|||||||
enabled);
|
enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
gcal_window_set_search_query (GcalWindow *window,
|
||||||
|
const gchar *query)
|
||||||
|
{
|
||||||
|
GcalWindowPrivate *priv = gcal_window_get_instance_private (window);
|
||||||
|
gtk_entry_set_text (GTK_ENTRY (priv->search_entry), query);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gcal_window_open_event_by_uuid (GcalWindow *window,
|
gcal_window_open_event_by_uuid (GcalWindow *window,
|
||||||
const gchar *uuid)
|
const gchar *uuid)
|
||||||
|
|||||||
@@ -56,6 +56,8 @@ GtkWidget* gcal_window_new_with_view_and_date (GcalApplication *app,
|
|||||||
void gcal_window_new_event (GcalWindow *window);
|
void gcal_window_new_event (GcalWindow *window);
|
||||||
void gcal_window_set_search_mode (GcalWindow *window,
|
void gcal_window_set_search_mode (GcalWindow *window,
|
||||||
gboolean enabled);
|
gboolean enabled);
|
||||||
|
void gcal_window_set_search_query (GcalWindow *window,
|
||||||
|
const gchar *query);
|
||||||
void gcal_window_open_event_by_uuid (GcalWindow *window,
|
void gcal_window_open_event_by_uuid (GcalWindow *window,
|
||||||
const gchar *uuid);
|
const gchar *uuid);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user