[gimp] themes: clean out some duplicate style.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] themes: clean out some duplicate style.
- Date: Tue, 12 Jan 2016 13:39:12 +0000 (UTC)
commit 6263ac5de658b56944c415cfd2223091d3879ff0
Author: Jehan <jehan girinstud io>
Date: Tue Jan 12 14:36:26 2016 +0100
themes: clean out some duplicate style.
The style "combobox-entry-button-style" was defined twice (with the
exact same implementation).
themes/The-Dark-Side-of-Gimp/gtkrc | 97 +----------------------------------
themes/The-Light-Side-of-Gimp/gtkrc | 97 +----------------------------------
2 files changed, 2 insertions(+), 192 deletions(-)
---
diff --git a/themes/The-Dark-Side-of-Gimp/gtkrc b/themes/The-Dark-Side-of-Gimp/gtkrc
index 82c45a2..fd36198 100644
--- a/themes/The-Dark-Side-of-Gimp/gtkrc
+++ b/themes/The-Dark-Side-of-Gimp/gtkrc
@@ -1705,6 +1705,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"
###########################################################
@@ -2118,102 +2119,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
diff --git a/themes/The-Light-Side-of-Gimp/gtkrc b/themes/The-Light-Side-of-Gimp/gtkrc
index a35196c..da9c29d 100644
--- a/themes/The-Light-Side-of-Gimp/gtkrc
+++ b/themes/The-Light-Side-of-Gimp/gtkrc
@@ -1709,6 +1709,7 @@ style "tlsog-combobox-entry-button-style"
widget_class "*<GtkComboBoxEntry>*<GtkEntry>" style "tlsog-combobox-entry-button-style"
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*<GtkEntry>" style
"tlsog-combobox-entry-button-style"
+widget_class "*<GtkComboBoxEntry>*<GtkButton>" style "tlsog-combobox-entry-button-style"
###########################################################
@@ -2122,102 +2123,6 @@ widget_class "*<GtkComboBox>*<GtkSeparator>" style "tlsog-combobox-separator-sty
###########################################################
-style "tlsog-combobox-entry-button-style"
-{
- xthickness = 6
-
- fg[ACTIVE] = "#343434"
-
- 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 "tlsog-combobox-entry-button-style"
-
-###########################################################
-
style "tlsog-combobox-button-style"
{
xthickness = 3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]