1 | ############################################################# |
---|
2 | #SLICKNESS PANEL SETTINGS |
---|
3 | ############################################################# |
---|
4 | |
---|
5 | ############################################################# |
---|
6 | #THIS FIXES THE STANDARD SHUTDOWN-DIALOG ON GNOME |
---|
7 | ############################################################# |
---|
8 | |
---|
9 | style "fix" |
---|
10 | { |
---|
11 | xthickness = 0 |
---|
12 | ythickness = 0 |
---|
13 | bg_pixmap[NORMAL] = "shadows/window-bg.png" |
---|
14 | } |
---|
15 | |
---|
16 | class "*Panel*" style "fix" |
---|
17 | |
---|
18 | ############################################################# |
---|
19 | |
---|
20 | style "panel" |
---|
21 | { |
---|
22 | |
---|
23 | xthickness = 0 |
---|
24 | ythickness = 0 |
---|
25 | |
---|
26 | fg[NORMAL] = "#d7d7d7" #TEXT ON NORMAL PANEL BUTTONS |
---|
27 | fg[PRELIGHT] = "#ffffff" #TEXT ON MOUSEOVERED PANEL BUTTONS |
---|
28 | fg[ACTIVE] = "#f0f0f0" #TEXT ON ACTIVE PANEL BUTTON |
---|
29 | fg[SELECTED] = "#000000" |
---|
30 | fg[INSENSITIVE] = "#6B6B6B" |
---|
31 | # bg[SELECTED] = "#3d3d3d" |
---|
32 | bg_pixmap[NORMAL] = "panel/panel-bg.png" |
---|
33 | bg_pixmap[ACTIVE] = "panel/panel-bg.png" |
---|
34 | bg_pixmap[SELECTED] = "panel/panel-bg.png" |
---|
35 | bg_pixmap[INSENSITIVE] = "panel/panel-bg.png" |
---|
36 | bg_pixmap[PRELIGHT] = "panel/panel-bg.png" |
---|
37 | } |
---|
38 | |
---|
39 | |
---|
40 | ############################################################# |
---|
41 | #THESE DECLARATIONS MAKE SURE THE PANEL STILL USES PANEL STYLE |
---|
42 | ############################################################# |
---|
43 | |
---|
44 | class "*Mail*" style "panel" |
---|
45 | class "*notif*" style "panel" |
---|
46 | class "*Notif*" style "panel" |
---|
47 | class "*Tray*" style "panel" |
---|
48 | class "*tray*" style "panel" |
---|
49 | widget_class "*Mail*" style "panel" |
---|
50 | widget_class "*notif*" style "panel" |
---|
51 | widget_class "*Notif*" style "panel" |
---|
52 | widget_class "*Tray*" style "panel" |
---|
53 | widget_class "*tray*" style "panel" |
---|
54 | widget_class "*BonoboDockItem" style "panel" |
---|
55 | class "*BonoboDockItem" style "panel" |
---|
56 | widget "*TrayIcon*" style "panel" |
---|
57 | class "*Panel*Applet*" style "panel" |
---|
58 | widget_class "*Panel*GtkToggleButton" style "panel" |
---|
59 | widget_class "*Panel*GtkButton" style "panel" |
---|
60 | widget_class "*.Panel*Button*GtkLabel" style "panel" |
---|
61 | widget_class "*.Panel*GtkLabel" style "panel" |
---|
62 | widget "*PanelWidget*" style "panel" |
---|
63 | widget "*PanelApplet*" style "panel" |
---|
64 | |
---|
65 | |
---|
66 | ############################################################# |
---|
67 | #THIS MAKES THE APPLICATIONS PLACES SYSTEM MENU ON THE PANEL |
---|
68 | #USE PANEL STYLE |
---|
69 | ############################################################# |
---|
70 | |
---|
71 | |
---|
72 | style "panelbar" |
---|
73 | { |
---|
74 | engine "pixmap" |
---|
75 | |
---|
76 | { |
---|
77 | image |
---|
78 | { |
---|
79 | function = BOX |
---|
80 | state = NORMAL |
---|
81 | file = "panel/panel-bg.png" |
---|
82 | border = { 0 , 0 , 0 , 0} |
---|
83 | stretch = FALSE |
---|
84 | } |
---|
85 | |
---|
86 | |
---|
87 | image |
---|
88 | { |
---|
89 | function = BOX |
---|
90 | state = ACTIVE |
---|
91 | file = "panel/panel-bg.png" |
---|
92 | border = { 0 , 0 , 0 , 0} |
---|
93 | stretch = FALSE |
---|
94 | } |
---|
95 | |
---|
96 | |
---|
97 | image |
---|
98 | { |
---|
99 | function = BOX |
---|
100 | state = INSENSITIVE |
---|
101 | file = "panel/panel-bg.png" |
---|
102 | border = { 0 , 0 , 0 , 0} |
---|
103 | stretch = FALSE |
---|
104 | } |
---|
105 | |
---|
106 | |
---|
107 | image |
---|
108 | { |
---|
109 | function = BOX |
---|
110 | state = PRELIGHT |
---|
111 | recolorable = TRUE |
---|
112 | file = "menubar/menubar-item.png" |
---|
113 | border = { 4 , 4 , 4 , 4} |
---|
114 | stretch = TRUE |
---|
115 | } |
---|
116 | |
---|
117 | } |
---|
118 | |
---|
119 | } |
---|
120 | |
---|
121 | widget_class "*Panel*MenuBar*" style "panelbar" |
---|
122 | |
---|
123 | |
---|
124 | |
---|
125 | ############################################################# |
---|
126 | |
---|
127 | style "panelbuttons" |
---|
128 | { |
---|
129 | xthickness = 4 |
---|
130 | ythickness = 4 |
---|
131 | |
---|
132 | GtkWidget::focus_padding = 2 |
---|
133 | |
---|
134 | engine "pixmap" { |
---|
135 | |
---|
136 | image |
---|
137 | { |
---|
138 | function = BOX |
---|
139 | recolorable = TRUE |
---|
140 | state = NORMAL |
---|
141 | file = "panel/panel-button-inactive.png" |
---|
142 | border = { 3, 3, 3, 3 } |
---|
143 | stretch = TRUE |
---|
144 | } |
---|
145 | |
---|
146 | image |
---|
147 | { |
---|
148 | function = BOX |
---|
149 | shadow = OUT |
---|
150 | recolorable = TRUE |
---|
151 | state = PRELIGHT |
---|
152 | file = "panel/panel-button-prelight.png" |
---|
153 | border = { 3, 3, 3, 3 } |
---|
154 | stretch = TRUE |
---|
155 | overlay_file = "panel/panel-button-null.png" |
---|
156 | overlay_border = { 3, 3, 3, 3 } |
---|
157 | overlay_stretch = TRUE |
---|
158 | } |
---|
159 | |
---|
160 | image |
---|
161 | { |
---|
162 | function = BOX |
---|
163 | recolorable = TRUE |
---|
164 | shadow = IN |
---|
165 | state = PRELIGHT |
---|
166 | file = "panel/panel-button-active.png" |
---|
167 | border = { 3, 3, 3, 3 } |
---|
168 | stretch = TRUE |
---|
169 | overlay_file = "panel/panel-button-active.png" |
---|
170 | overlay_border = { 3, 3, 3, 3 } |
---|
171 | overlay_stretch = TRUE |
---|
172 | } |
---|
173 | |
---|
174 | |
---|
175 | image |
---|
176 | { |
---|
177 | function = BOX |
---|
178 | recolorable = TRUE |
---|
179 | state = ACTIVE |
---|
180 | file = "panel/panel-button-active.png" |
---|
181 | border = { 3, 3, 3, 3 } |
---|
182 | stretch = TRUE |
---|
183 | } |
---|
184 | |
---|
185 | image |
---|
186 | { |
---|
187 | function = BOX |
---|
188 | recolorable = TRUE |
---|
189 | state = INSENSITIVE |
---|
190 | file = "panel/panel-button-inactive.png" |
---|
191 | border = { 3, 3, 3, 3 } |
---|
192 | stretch = TRUE |
---|
193 | } |
---|
194 | |
---|
195 | image |
---|
196 | { |
---|
197 | function = BOX |
---|
198 | recolorable = TRUE |
---|
199 | state = SELECTED |
---|
200 | file = "panel/panel-button-active.png" |
---|
201 | border = { 3, 3, 3, 3 } |
---|
202 | stretch = TRUE |
---|
203 | } |
---|
204 | |
---|
205 | } |
---|
206 | |
---|
207 | } |
---|
208 | |
---|
209 | ############################################################# |
---|
210 | #THESE DECLARATIONS MAKE SURE THE LAUNCHER EDITOR USE |
---|
211 | #STANDARD STYLE AND NOT PANEL STYLE |
---|
212 | ############################################################# |
---|
213 | |
---|
214 | widget_class "*Panel*GtkToggleButton" style "panelbuttons" |
---|
215 | widget "*.tasklist-button" style "panelbuttons" |
---|