[sushi/wip/cosimoc/no-clutter: 30/66] audio: don't set double horizontal margins



commit 46d95fee8e8d426c96e490f9a42022a1c6bf9ebc
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Apr 3 12:09:13 2017 -0700

    audio: don't set double horizontal margins
    
    The code in mainWindow will already set these.

 src/js/viewers/audio.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/js/viewers/audio.js b/src/js/viewers/audio.js
index a814bc6..d206178 100644
--- a/src/js/viewers/audio.js
+++ b/src/js/viewers/audio.js
@@ -248,8 +248,7 @@ const AudioRenderer = new Lang.Class({
     },
 
     createToolbar : function () {
-        this._mainToolbar = new Gtk.Toolbar({ margin_start: Constants.TOOLBAR_SPACING,
-                                              margin_end: Constants.TOOLBAR_SPACING });
+        this._mainToolbar = new Gtk.Toolbar();
         this._mainToolbar.get_style_context().add_class('osd');
         this._mainToolbar.set_icon_size(Gtk.IconSize.MENU);
         this._mainToolbar.show();


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