Commit 72d8deb6 authored by Matthias Clasen's avatar Matthias Clasen

GtkSearchEntry: add rtl support

Flip the clear icon in rtl locales.
https://bugzilla.gnome.org/show_bug.cgi?id=684607
parent cca8cd2b
......@@ -79,7 +79,10 @@ search_entry_changed_cb (GtkEntry *entry,
}
else
{
icon_name = "edit-clear-symbolic";
if (gtk_widget_get_direction (GTK_WIDGET (entry)) == GTK_TEXT_DIR_RTL)
icon_name = "edit-clear-rtl-symbolic";
else
icon_name = "edit-clear-symbolic";
active = TRUE;
}
......
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