[gimp] themes: add missing fixes for 'The Dark Side of Gimp' theme



commit 2e7ebde19d0a425066bdd7cb4a5a1fb88bac8ca5
Author: Benoit Touchette <draekko software+gimp gmail com>
Date:   Thu Jan 14 10:23:33 2016 -0500

    themes: add missing fixes for 'The Dark Side of Gimp' theme
    
    Adds missing plugins fix, reverts part of previous commit to
    remove duplicate styles.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759649

 themes/The-Dark-Side-of-Gimp/gtkrc |  122 +++++++-----------------------------
 1 files changed, 24 insertions(+), 98 deletions(-)
---
diff --git a/themes/The-Dark-Side-of-Gimp/gtkrc b/themes/The-Dark-Side-of-Gimp/gtkrc
index d945532..55a34eb 100644
--- a/themes/The-Dark-Side-of-Gimp/gtkrc
+++ b/themes/The-Dark-Side-of-Gimp/gtkrc
@@ -1711,6 +1711,7 @@ style "tdsog-combobox-entry-button-style"
 
 widget_class "*<GtkComboBoxEntry>*<GtkEntry>" style "tdsog-combobox-entry-button-style"
 widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*<GtkEntry>" style 
"tdsog-combobox-entry-button-style"
+widget_class "*<GtkComboBoxEntry>*<GtkButton>" style "tdsog-combobox-entry-button-style"
 
 ###########################################################
 
@@ -2124,102 +2125,6 @@ widget_class "*<GtkComboBox>*<GtkSeparator>" style "tdsog-combobox-separator-sty
 
 ###########################################################
 
-style "tdsog-combobox-entry-button-style"
-{
-  xthickness = 6
-
-  fg[ACTIVE] = "#CBCBCB"
-
-  engine "pixmap"
-    {
-      # LTR version
-      image
-        {
-          function = BOX
-          state = NORMAL
-          file = "ui/combo-entry-button.png"
-          border = { 4, 4, 5, 4 }
-          stretch = TRUE
-          direction = LTR
-        }
-
-      image
-        {
-          function = BOX
-          state = PRELIGHT
-          file = "ui/combo-entry-button.png"
-          border = { 4, 4, 5, 4 }
-          stretch = TRUE
-          direction = LTR
-        }
-
-      image
-        {
-          function = BOX
-          state = INSENSITIVE
-          file = "ui/combo-entry-button-disabled.png"
-          border = { 4, 4, 5, 4 }
-          stretch = TRUE
-          direction = LTR
-        }
-
-      image
-        {
-          function = BOX
-          state = ACTIVE
-          file = "ui/combo-entry-button-active.png"
-          border = { 4, 4, 5, 4 }
-          stretch = TRUE
-          direction = LTR
-        }
-
-      # RTL version
-      image
-        {
-          function = BOX
-          state = NORMAL
-          file = "ui/combo-entry-button-rtl.png"
-          border = { 4, 4, 5, 4 }
-          stretch = TRUE
-          direction = RTL
-        }
-
-      image
-        {
-          function = BOX
-          state = PRELIGHT
-          file = "ui/combo-entry-button-rtl.png"
-          border = { 4, 4, 5, 4 }
-          stretch = TRUE
-          direction = RTL
-        }
-
-      image
-        {
-          function = BOX
-          state = INSENSITIVE
-          file = "ui/combo-entry-button-disabled-rtl.png"
-          border = { 4, 4, 5, 4 }
-          stretch = TRUE
-          direction = RTL
-        }
-
-      image
-        {
-          function = BOX
-          state = ACTIVE
-          file = "ui/combo-entry-button-active-rtl.png"
-          border = { 4, 4, 5, 4 }
-          stretch = TRUE
-          direction = RTL
-        }
-    }
-}
-
-widget_class "*<GtkComboBoxEntry>*<GtkButton>" style "tdsog-combobox-entry-button-style"
-
-###########################################################
-
 style "tdsog-combobox-button-style"
 {
   xthickness = 3
@@ -2295,8 +2200,6 @@ style "kde_hack_1"
   fg[SELECTED] = @clr2
   fg[INSENSITIVE] = @clr3
 
-  bg[NORMAL] = @clr4
-
   base[NORMAL] = @clr6
   base[PRELIGHT] = @clr7
   base[ACTIVE] = @clr7
@@ -2542,4 +2445,27 @@ widget_class "*<OsThumb>" style "tdsog-overlay-scrollbar"
 
 ###########################################################
 
+# Fix for GMIC/plugins
+style "tlsog-plugin-scrolled-window-style"
+{
+  xthickness = 1
+  ythickness = 1
+
+  engine "pixmap"
+    {
+      image
+        {
+          function = SHADOW
+          file = "ui/frame.png"
+          border = { 1, 1, 1, 1 }
+          stretch = TRUE
+          shadow = IN
+        }
+    }
+}
+
+widget_class "*<GtkScrolledWindow>*<GtkViewport>" style "tlsog-plugin-scrolled-window-style"
+
+###########################################################
+
 # EOF


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