Commit 04605e8e authored by Christian Hergert's avatar Christian Hergert
Browse files

greeter: implement search text for greeter rows

parent 3ac23f19
......@@ -373,9 +373,16 @@ ide_greeter_row_set_project_info (IdeGreeterRow *self,
gchar *
ide_greeter_row_get_search_text (IdeGreeterRow *self)
{
IdeGreeterRowPrivate *priv = ide_greeter_row_get_instance_private (self);
GString *str;
g_return_val_if_fail (IDE_IS_GREETER_ROW (self), NULL);
return NULL;
str = g_string_new (NULL);
g_string_append_printf (str, "%s ", gtk_label_get_text (priv->title) ?: "");
g_string_append_printf (str, "%s ", gtk_label_get_text (priv->subtitle) ?: "");
return g_string_free (g_steal_pointer (&str), FALSE);
}
gboolean
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment