[gnome-themes-standard/wip/jimmac/updated-gtk2: 76/106] Disable button assets on link buttons.



commit 4938b976c9db5ac52075496736fa0ca08238d562
Author: Juraj Fiala <doctorjellyface riseup net>
Date:   Sat Feb 20 16:17:53 2016 +0100

    Disable button assets on link buttons.

 themes/Adwaita/gtk-2.0/main.rc |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/main.rc b/themes/Adwaita/gtk-2.0/main.rc
index c1597ad..ae5383a 100644
--- a/themes/Adwaita/gtk-2.0/main.rc
+++ b/themes/Adwaita/gtk-2.0/main.rc
@@ -1092,6 +1092,32 @@ style "button" {
 
 }
 
+style "link_button" {
+
+  engine "pixmap" {
+
+    image {
+      function = BOX
+      state    = PRELIGHT
+      file     = "assets/null.png"
+    }
+
+    image {
+      function = BOX
+      state    = ACTIVE
+      file     = "assets/null.png"
+    }
+
+    image {
+      function = BOX
+      state    = INSENSITIVE
+      file     = "assets/null.png"
+    }
+
+  }
+
+}
+
 style "button_infobar" {
 
   engine "pixmap" {
@@ -2305,6 +2331,7 @@ class "GtkWidget"            style "default"
 class "GtkLabel"             style "label"
 class "GtkScrollbar"         style "scrollbar"
 class "GtkButton"            style "button"
+class "GtkLinkButton"        style "link_button"
 class "GtkEntry"             style "entry"
 class "GtkOldEditable"       style "entry"
 class "GtkSpinButton"        style "spinbutton"


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