File: gtkrc.dpatch

package info (click to toggle)
eazel-engine 0.3-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,236 kB
  • ctags: 404
  • sloc: sh: 9,807; ansic: 4,342; makefile: 250; perl: 76
file content (86 lines) | stat: -rw-r--r-- 1,999 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#! /bin/sh -e

if [ $# -ne 1 ]; then
    echo >&2 "$0: script expects -patch|-unpatch as argument"
    exit 1
fi
case "$1" in
    -patch) patch -f -p0 < $0;;
    -unpatch) patch -f -R -p0 < $0;;
    *)
        echo >&2 "$0: script expects -patch|-unpatch as argument"
        exit 1
esac
exit 0

--- gtkrc.in.orig
+++ gtkrc.in
@@ -49,11 +49,11 @@
 module_path ".:@enginedir@"
 
 # Default style for all widgets to build from
 style "default"
 {
-  font = "-adobe-helvetica-medium-r-normal-*-*-120-*-*-p-*-iso8859-1"
+  font = "-adobe-helvetica-medium-r-normal-*-*-120-*-*-p-*-iso8859-*"
 
   fg[NORMAL] = "#000000"
   fg[ACTIVE] = "#000000"
   fg[PRELIGHT] = "#000000"
   fg[SELECTED] = "#ffffff"
@@ -459,21 +459,21 @@
 # turn off prelighted background for check/radio buttons
 class "GtkRadioButton" style "no-prelight"
 class "GtkCheckButton" style "no-prelight"
 @endif@
 
-style "entry"
-{
-  engine "eazel-engine"
-  {
-    thickness = 3
-  }
-}
-
-# some extra padding around text entries, so the focus marking fits
-class "GtkEntry" style "entry"
-class "GtkText" style "entry"
+#style "entry"
+#{
+#  engine "eazel-engine"
+#  {
+#    thickness = 3
+#  }
+#}
+#
+## some extra padding around text entries, so the focus marking fits
+#class "GtkEntry" style "entry"
+#class "GtkText" style "entry"
 
 
 style "slider"
 {
   engine "eazel-engine"
@@ -504,10 +504,22 @@
 class "GtkPlug" style "eventbox"
 class "BonoboSocket" style "eventbox"
 class "BonoboPlug" style "eventbox"
 class "NautilusZoomControl" style "eventbox"
 
+# Fixes title-bar like widgets' labels
+style "label"
+{
+  #fg[NORMAL] = "#000000"
+  #fg[ACTIVE] = "#000000"
+  #fg[PRELIGHT] = "#000000"
+  fg[SELECTED] = "#000000"
+  #fg[INSENSITIVE] = "#555555"
+  #engine "eazel-engine" {}
+}
+
+class "GtkLabel" style "label"
 
 # This sucks, but so far I've found no way to get a gradient drawn
 # in the middle part of the Foobar. Maybe it's possible to hardcode
 # a hack in eazel-theme-draw.c? (draw_flat_box perhaps?)