[gnome-themes-standard] buttons: add no-hilight version of GtkButton borders



commit 941901bc6638131c686b62fce5fead050394b4d2
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Aug 17 13:19:18 2012 +0200

    buttons: add no-hilight version of GtkButton borders
    
    And use it in inline-toolbars and GtkInfoBars.

 .../gtk-2.0/Buttons/button-default-nohilight.png   |  Bin 0 -> 391 bytes
 .../Buttons/button-insensitive-nohilight.png       |  Bin 0 -> 374 bytes
 .../gtk-2.0/Buttons/button-prelight-nohilight.png  |  Bin 0 -> 423 bytes
 .../gtk-2.0/Buttons/button-pressed-nohilight.png   |  Bin 0 -> 368 bytes
 themes/Adwaita/gtk-2.0/Makefile.am                 |    4 ++
 themes/Adwaita/gtk-2.0/gtkrc                       |   44 ++++++++++++++++++++
 6 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/Buttons/button-default-nohilight.png b/themes/Adwaita/gtk-2.0/Buttons/button-default-nohilight.png
new file mode 100644
index 0000000..5e42158
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Buttons/button-default-nohilight.png differ
diff --git a/themes/Adwaita/gtk-2.0/Buttons/button-insensitive-nohilight.png b/themes/Adwaita/gtk-2.0/Buttons/button-insensitive-nohilight.png
new file mode 100644
index 0000000..eb636b2
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Buttons/button-insensitive-nohilight.png differ
diff --git a/themes/Adwaita/gtk-2.0/Buttons/button-prelight-nohilight.png b/themes/Adwaita/gtk-2.0/Buttons/button-prelight-nohilight.png
new file mode 100644
index 0000000..c688993
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Buttons/button-prelight-nohilight.png differ
diff --git a/themes/Adwaita/gtk-2.0/Buttons/button-pressed-nohilight.png b/themes/Adwaita/gtk-2.0/Buttons/button-pressed-nohilight.png
new file mode 100644
index 0000000..328a241
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Buttons/button-pressed-nohilight.png differ
diff --git a/themes/Adwaita/gtk-2.0/Makefile.am b/themes/Adwaita/gtk-2.0/Makefile.am
index ae78d81..4a98c24 100644
--- a/themes/Adwaita/gtk-2.0/Makefile.am
+++ b/themes/Adwaita/gtk-2.0/Makefile.am
@@ -20,6 +20,10 @@ asset_data =
 	Buttons/button-insensitive.png \
 	Buttons/button-prelight.png \
 	Buttons/button-pressed.png \
+	Buttons/button-default-nohilight.png \
+	Buttons/button-insensitive-nohilight.png \
+	Buttons/button-prelight-nohilight.png \
+	Buttons/button-pressed-nohilight.png \
 	Check-Radio/check1.png \
 	Check-Radio/check2.png \
 	Check-Radio/menucheck.png \
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index 77b9f1d..177bcf0 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -827,6 +827,48 @@ style "button"
   }
 }
 
+style "button_nohilight"
+{
+	xthickness	= 4
+	ythickness	= 4
+
+  engine "pixmap"
+  {
+    image
+    {
+      function			= BOX
+      state			= NORMAL
+      file			= "Buttons/button-default-nohilight.png"
+      border			= { 4, 4, 4, 4 }
+      stretch			= TRUE
+    }
+    image
+    {
+      function			= BOX
+      state			= PRELIGHT
+      file			= "Buttons/button-prelight-nohilight.png"
+      border			= { 4, 4, 4, 4 }
+      stretch			= TRUE
+    }
+    image
+    {
+      function			= BOX
+      state			= ACTIVE
+      file			= "Buttons/button-pressed-nohilight.png"
+      border			= { 4, 4, 4, 4 }
+      stretch			= TRUE
+    }
+    image
+    {
+     function			= BOX
+     state			= INSENSITIVE
+     file			= "Buttons/button-insensitive-nohilight.png"
+     border			= { 4, 4, 4, 4 }
+     stretch			= TRUE
+    }
+  }
+}
+
 style "entry"
 {
 	xthickness	= 3
@@ -1761,8 +1803,10 @@ widget_class "*<GtkComboBox>*<GtkSeparator>"	style "combobox_separator"
 widget_class "*HandleBox"               style "handlebox"
 widget_class "*<GtkTreeView>*<GtkButton>*"      style "treeview_header"
 widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar"
+widget_class "*<GtkFileChooserDefault>*<GtkToolbar>*<GtkButton>" style "button_nohilight"
 widget_class "*<GtkComboBoxEntry>*<GtkEntry>"   style "combobox_entry"
 widget_class "*<GtkComboBoxEntry>*<GtkButton>"  style "combobox_entry_button"
+widget_class "*<GtkInfoBar>*<GtkButton>"        style "button_nohilight"
 
 widget_class "*Chrom*Button*"		style "button"
 



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