themes: clean out some duplicate style.

The style "combobox-entry-button-style" was defined twice (with the
exact same implementation).
This commit is contained in:
Jehan 2016-01-12 14:36:26 +01:00
parent b0731f9aed
commit 6263ac5de6
2 changed files with 2 additions and 192 deletions

View File

@ -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

View File

@ -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