[gnome-documents] toolbar: add the menubar style



commit f8aa5f61f267065de740f1d1c8b89b42a56fa727
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun Aug 21 18:35:35 2011 +0200

    toolbar: add the menubar style

 src/mainToolbar.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mainToolbar.js b/src/mainToolbar.js
index 7653ee2..9abd340 100644
--- a/src/mainToolbar.js
+++ b/src/mainToolbar.js
@@ -38,6 +38,7 @@ MainToolbar.prototype = {
     _init: function() {
         this._searchEntryTimeout = 0;
         this.widget = new Gtk.Toolbar({ icon_size: Gtk.IconSize.MENU });
+        this.widget.get_style_context().add_class(Gtk.STYLE_CLASS_MENUBAR);
     },
 
     _clearToolbar: function() {



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