[longomatch] More fixes to the theme related to text selections, links, etc..
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] More fixes to the theme related to text selections, links, etc..
- Date: Fri, 28 Nov 2014 16:25:39 +0000 (UTC)
commit 401fa3cb9039063d612e1661970b727f725ef3cc
Author: Julien Moutte <julien fluendo com>
Date: Fri Nov 28 17:22:01 2014 +0100
More fixes to the theme related to text selections, links, etc..
data/theme/gtk-2.0/entry.rc | 14 --------------
data/theme/gtk-2.0/gtkrc | 17 +++++++++++------
2 files changed, 11 insertions(+), 20 deletions(-)
---
diff --git a/data/theme/gtk-2.0/entry.rc b/data/theme/gtk-2.0/entry.rc
index 1d752ff..bc8e631 100644
--- a/data/theme/gtk-2.0/entry.rc
+++ b/data/theme/gtk-2.0/entry.rc
@@ -4,20 +4,6 @@ style "longomatch-default-entry" = "longomatch-default" {
font = "Ubuntu 12"
xthickness = 2
ythickness = 2
-
- base[NORMAL] = @bg_dark_color
- base[INSENSITIVE] = darker (@bg_dark_color)
- # Text selection with Focus
- base[SELECTED] = @text_selection_color
- # Text selection without Focus
- base[ACTIVE] = @text_selection_color
-
- text[NORMAL] = @text_color
- text[INSENSITIVE] = darker (@text_color)
- # With Focus
- text[SELECTED] = @selected_text_color
- # Without Focus
- text[ACTIVE] = @selected_text_color_no_focus
}
style "longomatch-entry" = "longomatch-default-entry" {
diff --git a/data/theme/gtk-2.0/gtkrc b/data/theme/gtk-2.0/gtkrc
index 9ae0388..4c0c3a5 100644
--- a/data/theme/gtk-2.0/gtkrc
+++ b/data/theme/gtk-2.0/gtkrc
@@ -46,18 +46,23 @@ style "longomatch-default"
fg[PRELIGHT] = @base_color
fg[INSENSITIVE] = darker (@base_color)
+ base[NORMAL] = @bg_dark_color
+ base[PRELIGHT] = darker(@text_selection_color)
+ base[ACTIVE] = @text_selection_color
+ base[SELECTED] = @text_selection_color
+ base[INSENSITIVE] = darker(@bg_dark_color)
+
bg[NORMAL] = @bg_color
bg[ACTIVE] = @bg_color
bg[PRELIGHT] = @active_color
bg[SELECTED] = @active_color
bg[INSENSITIVE] = darker (@bg_color)
- text[NORMAL] = @base_color
- text[ACTIVE] = @base_color
- text[PRELIGHT] = @base_color
- text[SELECTED] = @base_color
- text[INSENSITIVE] = darker (@base_color)
-
+ text[NORMAL] = @text_color
+ text[ACTIVE] = @selected_text_color_no_focus
+ text[PRELIGHT] = @selected_text_color
+ text[SELECTED] = @selected_text_color
+ text[INSENSITIVE] = darker (@text_color)
stock["gtk-about"] = {{ "Stock/gtk-about.svg" }}
stock["gtk-add"] = {{ "Stock/gtk-add.svg" }}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]