summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbionel <ionel.busuioc@gmail.com>2015-08-03 23:52:36 +0300
committerbionel <ionel.busuioc@gmail.com>2015-08-03 23:52:36 +0300
commit98a5d4ad5011edf8b59c69385dbdfb3c7efe90b0 (patch)
tree825775051135c4195ca168f786ab1edafaa12a00
parent0d050c1afa4ac2e346e3587f5b73311402659e44 (diff)
discard pixmap for menu-items, too ugly
-rwxr-xr-xKogaion-daylight/gtk-2.0/gtkrc195
-rwxr-xr-xKogaion-nighttime/gtk-2.0/gtkrc195
2 files changed, 0 insertions, 390 deletions
diff --git a/Kogaion-daylight/gtk-2.0/gtkrc b/Kogaion-daylight/gtk-2.0/gtkrc
index ccb7729..1bbbee7 100755
--- a/Kogaion-daylight/gtk-2.0/gtkrc
+++ b/Kogaion-daylight/gtk-2.0/gtkrc
@@ -364,201 +364,6 @@ style "menu_item_white" {
}
}
-#better items view, but ugly inactive icons
-style "menu_item_pixmap" {
-
- xthickness = 2
- ythickness = 3
-
- # HACK: Gtk doesn't actually read this value
- # while rendering the menu items, but Libreoffice
- # does; setting this value equal to the one in
- # fg[PRELIGHT] ensures a code path in the LO theming code
- # that falls back to a dark text color for menu item text
- # highlight. The price to pay is black text on menus as well,
- # but at least it's readable.
- # See https://bugs.freedesktop.org/show_bug.cgi?id=38038
- bg[SELECTED] = shade (1.00, @selected_bg_color)
-
- bg[PRELIGHT] = @selected_bg_color
- fg[PRELIGHT] = @selected_fg_color
- text[PRELIGHT] = @selected_fg_color
-
- engine "pixmap"
- {
-
- # Check Buttons
-
- image
- {
- function = CHECK
- recolorable = TRUE
- state = NORMAL
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = PRELIGHT
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = ACTIVE
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = INSENSITIVE
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = NORMAL
- shadow = IN
- overlay_file = "Check-Radio/menucheck.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = PRELIGHT
- shadow = IN
- overlay_file = "Check-Radio/menucheck_prelight.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = ACTIVE
- shadow = IN
- overlay_file = "Check-Radio/menucheck.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = INSENSITIVE
- shadow = IN
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
-
- # Radio Buttons
-
- image
- {
- function = OPTION
- state = NORMAL
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = PRELIGHT
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = ACTIVE
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = INSENSITIVE
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = NORMAL
- shadow = IN
- overlay_file = "Check-Radio/menuoption.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = PRELIGHT
- shadow = IN
- overlay_file = "Check-Radio/menuoption_prelight.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = ACTIVE
- shadow = IN
- overlay_file = "Check-Radio/menuoption.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = INSENSITIVE
- shadow = IN
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = SHADOW # This fixes boxy Qt menu items
- file = "Others/null.png"
- border = { 4, 4, 4, 4 }
- stretch = TRUE
- }
-
- # Arrow Buttons
-
- image
- {
- function = ARROW
- state = NORMAL
- overlay_file = "Arrows/menu-arrow.png"
- overlay_border = { 0, 0, 0, 0 }
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- image
- {
- function = ARROW
- state = PRELIGHT
- overlay_file = "Arrows/menu-arrow-prelight.png"
- overlay_border = { 0, 0, 0, 0 }
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- }
-}
-
style "menubar_menuitem" {
xthickness = 2
ythickness = 3
diff --git a/Kogaion-nighttime/gtk-2.0/gtkrc b/Kogaion-nighttime/gtk-2.0/gtkrc
index 2dbd796..ea03523 100755
--- a/Kogaion-nighttime/gtk-2.0/gtkrc
+++ b/Kogaion-nighttime/gtk-2.0/gtkrc
@@ -364,201 +364,6 @@ style "menu_item_white" {
}
}
-#better items view, but ugly inactive icons
-style "menu_item_pixmap" {
-
- xthickness = 2
- ythickness = 3
-
- # HACK: Gtk doesn't actually read this value
- # while rendering the menu items, but Libreoffice
- # does; setting this value equal to the one in
- # fg[PRELIGHT] ensures a code path in the LO theming code
- # that falls back to a dark text color for menu item text
- # highlight. The price to pay is black text on menus as well,
- # but at least it's readable.
- # See https://bugs.freedesktop.org/show_bug.cgi?id=38038
- bg[SELECTED] = shade (1.00, @selected_bg_color)
-
- bg[PRELIGHT] = @selected_bg_color
- fg[PRELIGHT] = @selected_fg_color
- text[PRELIGHT] = @selected_fg_color
-
- engine "pixmap"
- {
-
- # Check Buttons
-
- image
- {
- function = CHECK
- recolorable = TRUE
- state = NORMAL
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = PRELIGHT
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = ACTIVE
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = INSENSITIVE
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = NORMAL
- shadow = IN
- overlay_file = "Check-Radio/menucheck.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = PRELIGHT
- shadow = IN
- overlay_file = "Check-Radio/menucheck_prelight.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = ACTIVE
- shadow = IN
- overlay_file = "Check-Radio/menucheck.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = CHECK
- recolorable = TRUE
- state = INSENSITIVE
- shadow = IN
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
-
- # Radio Buttons
-
- image
- {
- function = OPTION
- state = NORMAL
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = PRELIGHT
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = ACTIVE
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = INSENSITIVE
- shadow = OUT
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = NORMAL
- shadow = IN
- overlay_file = "Check-Radio/menuoption.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = PRELIGHT
- shadow = IN
- overlay_file = "Check-Radio/menuoption_prelight.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = ACTIVE
- shadow = IN
- overlay_file = "Check-Radio/menuoption.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = OPTION
- state = INSENSITIVE
- shadow = IN
- overlay_file = "Others/null.png"
- overlay_stretch = FALSE
- }
- image
- {
- function = SHADOW # This fixes boxy Qt menu items
- file = "Others/null.png"
- border = { 4, 4, 4, 4 }
- stretch = TRUE
- }
-
- # Arrow Buttons
-
- image
- {
- function = ARROW
- state = NORMAL
- overlay_file = "Arrows/menu-arrow.png"
- overlay_border = { 0, 0, 0, 0 }
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- image
- {
- function = ARROW
- state = PRELIGHT
- overlay_file = "Arrows/menu-arrow-prelight.png"
- overlay_border = { 0, 0, 0, 0 }
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- }
-}
-
style "menubar_menuitem" {
xthickness = 2
ythickness = 3