[sushi] audio: Fix the icons in RTL
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] audio: Fix the icons in RTL
- Date: Thu, 4 Sep 2014 21:12:00 +0000 (UTC)
commit 6a77fa85b07059835713a469aa23629b5b5529d0
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Fri Sep 5 00:06:59 2014 +0300
audio: Fix the icons in RTL
With newer GTK+ the custom handling for RTL
icons are wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=736079
src/js/viewers/audio.js | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/js/viewers/audio.js b/src/js/viewers/audio.js
index c00d953..9220667 100644
--- a/src/js/viewers/audio.js
+++ b/src/js/viewers/audio.js
@@ -237,9 +237,7 @@ AudioRenderer.prototype = {
this._toolbarPlay.set_icon_name('media-playback-pause-symbolic');
break;
default:
- let iconName =
- (this._toolbarPlay.get_direction() == Gtk.TextDirection.RTL) ?
- 'media-playback-start-rtl-symbolic' : 'media-playback-start-symbolic';
+ let iconName = 'media-playback-start-symbolic';
this._toolbarPlay.set_icon_name(iconName);
}
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]