summaryrefslogtreecommitdiff
path: root/overrides/endless_private
diff options
context:
space:
mode:
authorMario Sanchez Prada <mario@endlessm.com>2016-03-24 18:23:37 +0000
committerMario Sanchez Prada <mario@endlessm.com>2016-03-24 18:23:37 +0000
commit94c101d8bbb7887c7179ef2007ee4e090d3790d5 (patch)
treeacb7b53e4e885f9562b66b8ba83ece7341a195b1 /overrides/endless_private
parente876b40b10e0ab49b1b30ba190697e924d266a6f (diff)
Do not explicitly lookup an RTL icon for the topbar's home icon
GTK+ >= 3.12 will do that automatically by appending a '-rtl' suffix to the icon name when needed. https://phabricator.endlessm.com/T11002
Diffstat (limited to 'overrides/endless_private')
-rw-r--r--overrides/endless_private/topbar_home_button.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/overrides/endless_private/topbar_home_button.js b/overrides/endless_private/topbar_home_button.js
index 62d74c6..224beda 100644
--- a/overrides/endless_private/topbar_home_button.js
+++ b/overrides/endless_private/topbar_home_button.js
@@ -19,12 +19,7 @@ const TopbarHomeButton = new Lang.Class({
_init: function(props={}) {
this.parent(props);
- let icon_name;
- if (Gtk.Widget.get_default_direction() === Gtk.TextDirection.RTL) {
- icon_name = 'go-home-rtl-symbolic';
- } else {
- icon_name = 'go-home-symbolic';
- }
+ let icon_name = 'go-home-symbolic';
let image = Gtk.Image.new_from_icon_name(icon_name, Gtk.IconSize.SMALL_TOOLBAR);
this.set_image(image);