Commit 56d3e42a authored by Matthias Clasen's avatar Matthias Clasen

search entry: Add a style class

There should be little need to have separate styling for search
entries, so a separate name would be a bit overkill.
parent a840a6d5
......@@ -367,6 +367,8 @@ gtk_search_entry_init (GtkSearchEntry *entry)
atk_obj = gtk_widget_get_accessible (GTK_WIDGET (entry));
if (GTK_IS_ACCESSIBLE (atk_obj))
atk_object_set_name (atk_obj, _("Search"));
gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (entry)), "search");
}
/**
......
Markdown is supported
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