Commit e67d0119 authored by Joanmarie Diggs's avatar Joanmarie Diggs

gtksearchentry: Provide an accessible name

https://bugzilla.gnome.org/show_bug.cgi?id=706014
parent 68ce183d
......@@ -27,6 +27,7 @@
#include "config.h"
#include "gtkaccessible.h"
#include "gtksearchentry.h"
#include "gtkmarshalers.h"
#include "gtkintl.h"
......@@ -226,11 +227,17 @@ gtk_search_entry_changed (GtkEditable *editable)
static void
gtk_search_entry_init (GtkSearchEntry *entry)
{
AtkObject *atk_obj;
g_object_set (entry,
"primary-icon-name", "edit-find-symbolic",
"primary-icon-activatable", FALSE,
"primary-icon-sensitive", FALSE,
NULL);
atk_obj = gtk_widget_get_accessible (GTK_WIDGET (entry));
if (GTK_IS_ACCESSIBLE (atk_obj))
atk_object_set_name (atk_obj, _("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