mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
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.
This commit is contained in:
parent
a840a6d597
commit
56d3e42a00
@ -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");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user