[gnome-documents] mainToolbar: Add the "titlebar" style class for rounded corners



commit 79151845e7afa678b9d06b07103e810a0e5b0632
Author: Debarshi Ray <debarshir gnome org>
Date:   Sun Sep 15 19:26:12 2013 +0200

    mainToolbar: Add the "titlebar" style class for rounded corners

 src/mainToolbar.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mainToolbar.js b/src/mainToolbar.js
index b65beb0..4503609 100644
--- a/src/mainToolbar.js
+++ b/src/mainToolbar.js
@@ -45,6 +45,7 @@ const MainToolbar = new Lang.Class({
         this.widget.show();
 
         this.toolbar = new Gtk.HeaderBar();
+        this.toolbar.get_style_context().add_class('titlebar');
         this.widget.add(this.toolbar);
         this.toolbar.show();
 


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