Use the new RTL icons from adwaita

Use the suffix -rtl and -ltr.

https://bugzilla.gnome.org/show_bug.cgi?id=732301
This commit is contained in:
Yosef Or Boczko 2014-06-27 01:25:22 +03:00
parent 84bc445593
commit c7f5f172dd

View File

@ -83,10 +83,10 @@ const ViewSelector = new Lang.Class({
icon_name: 'edit-find-symbolic' })); icon_name: 'edit-find-symbolic' }));
if (this._entry.get_text_direction() == Clutter.TextDirection.RTL) if (this._entry.get_text_direction() == Clutter.TextDirection.RTL)
this._clearIcon = new St.Icon({ style_class: 'search-entry-icon', this._clearIcon = new St.Icon({ style_class: 'search-entry-icon',
icon_name: 'edit-clear-rtl-symbolic' }); icon_name: 'edit-clear-symbolic-rtl' });
else else
this._clearIcon = new St.Icon({ style_class: 'search-entry-icon', this._clearIcon = new St.Icon({ style_class: 'search-entry-icon',
icon_name: 'edit-clear-symbolic' }); icon_name: 'edit-clear-symbolic-ltr' });
this._iconClickedId = 0; this._iconClickedId = 0;
this._capturedEventId = 0; this._capturedEventId = 0;