[gnome-documents] notifications: Turn off relief and focus-on-click for close button



commit 97b24983a19cd638af70f8f694245079ac61952e
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Jul 24 12:21:59 2014 +0200

    notifications: Turn off relief and focus-on-click for close button
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733656

 src/notifications.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/notifications.js b/src/notifications.js
index b61da76..0ced93a 100644
--- a/src/notifications.js
+++ b/src/notifications.js
@@ -205,7 +205,9 @@ const IndexingNotification = new Lang.Class({
                                                             pixel_size: 16,
                                                             margin_top: 2,
                                                             margin_bottom: 2 }),
-                                     valign: Gtk.Align.CENTER });
+                                     valign: Gtk.Align.CENTER,
+                                     focus_on_click: false,
+                                     relief: Gtk.ReliefStyle.NONE });
         close.connect('clicked', Lang.bind(this,
             function() {
                 this._destroy(true);


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