[gnome-sound-recorder] Fix the start icon in the toolbar in RTL



commit a5767ac558ffa9f66296d155e6134c2d5d90aca2
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Fri Jan 24 02:30:53 2014 +0200

    Fix the start icon in the toolbar in RTL
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722872
    
    Signed-off-by: Meg Ford <meg387 gmail com>

 src/mainWindow.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 85ab0d9..0dffbf0 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -365,7 +365,9 @@ const MainView = new Lang.Class({
 
                 // play button
                 this.playImage = Gtk.Image.new();
-                this.playImage.set_from_icon_name('media-playback-start-symbolic', Gtk.IconSize.BUTTON);
+                this.playImage.set_from_icon_name(rtl ? 'media-playback-start-rtl-symbolic' :
+                                                        'media-playback-start-symbolic',
+                                                  Gtk.IconSize.BUTTON);
                 this._playListButton = new Gtk.Button({ hexpand: false,
                                                         name: "PlayButton" });
                 this._playListButton.set_image(this.playImage);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]