[gnome-sound-recorder] Prevent the Play/Pause button from shapeshifting



commit e12a1fbbc078102b9566c07e7b49fa827eac0ec7
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Wed Jan 25 16:34:54 2017 -0500

    Prevent the Play/Pause button from shapeshifting
    
    Fixes the crux of bug #777765

 src/mainWindow.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 591c1d5..52dcd69 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -407,7 +407,7 @@ var MainView = new Lang.Class({
                 this.playImage = new Gtk.Image({ name: "PlayImage" });
                 this.playImage.set_from_icon_name('media-playback-start-symbolic', Gtk.IconSize.BUTTON);
                 this._playListButton = new Gtk.Button({ name: "PlayButton",
-                                                        hexpand: true,
+                                                        hexpand: false,
                                                         vexpand: true });
                 this._playListButton.set_image(this.playImage);
                 this._playListButton.set_tooltip_text(_("Play"));
@@ -428,7 +428,7 @@ var MainView = new Lang.Class({
                 this.pauseImage = Gtk.Image.new();
                 this.pauseImage.set_from_icon_name('media-playback-pause-symbolic', Gtk.IconSize.BUTTON);
                 this._pauseListButton = new Gtk.Button({ name: "PauseButton",
-                                                         hexpand: true,
+                                                         hexpand: false,
                                                          vexpand: true });
                 this._pauseListButton.set_image(this.pauseImage);
                 this._pauseListButton.set_tooltip_text(_("Pause"));


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