Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-10-16 21:36:39 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-10-16 21:36:39 (GMT)
commitc8efd9c4c435a7c7ceea4a6ae6d3e01fbae8c288 (patch)
tree76b2b715ec5e5d6a6fff76a78911d8c0d3c144d4
parent118b1052cca1fcf2da4063286eb8924a541be88f (diff)
Refactor classes to avoid issues with GtkImagesv0.15
-rw-r--r--gtk-engine/theme/gtkrc42
1 files changed, 27 insertions, 15 deletions
diff --git a/gtk-engine/theme/gtkrc b/gtk-engine/theme/gtkrc
index c379b76..7dfe0b5 100644
--- a/gtk-engine/theme/gtkrc
+++ b/gtk-engine/theme/gtkrc
@@ -1,15 +1,6 @@
# Edit these colors and fonts however you like.
style "default"
{
- engine "olpc"
- {
- mark_type1 = NOTHING
- mark_type2 = NOTHING
- }
-}
-
-style "chrome-default" = "default"
-{
GtkToolbar::internal_padding = 0
GtkToolbar::shadow_type = 0
@@ -33,9 +24,15 @@ style "chrome-default" = "default"
text[PRELIGHT] = "#000000"
text[SELECTED] = "#FFFFFF"
text[INSENSITIVE] = "#747474"
+
+ engine "olpc"
+ {
+ mark_type1 = NOTHING
+ mark_type2 = NOTHING
+ }
}
-style "chrome-button" = "chrome-default"
+style "button" = "default"
{
GtkButton::default_border = { 0, 0, 0, 0 }
GtkButton::default_outsideborder = { 0, 0, 0, 0 }
@@ -46,7 +43,7 @@ style "chrome-button" = "chrome-default"
ythickness = 0
}
-style "chrome-entry" = "chrome-default"
+style "entry" = "default"
{
GtkWidget::cursor_color = "#FFFFFF"
xthickness = 12
@@ -54,7 +51,7 @@ style "chrome-entry" = "chrome-default"
font_name = 'Sans 14'
}
-style "scrollbar" = "chrome-default"
+style "scrollbar" = "default"
{
GtkRange::slider_width = 4
GtkRange::stepper_size = 1
@@ -66,7 +63,22 @@ style "scrollbar" = "chrome-default"
}
class "GtkWidget" style "default"
-class "GtkToolbar" style "chrome-default"
class "GtkScrollbar" style "scrollbar"
-widget_class "*.GtkToolbar.*.GtkButton" style "chrome-button"
-widget_class "*.GtkToolbar.*.<GtkEntry>" style "chrome-entry"
+class "GtkButton" style "button"
+class "GtkEntry" style "entry"
+
+# Mozilla
+
+style "mozilla" = "mozilla-default"
+{
+ base[NORMAL] = "#FFFFFF"
+ text[NORMAL] = "#000000"
+}
+
+style "mozilla-button" = "mozilla-default"
+{
+ bg[NORMAL] = "#D3D3DD"
+}
+
+class "GtkInvisible" style "mozilla"
+class "GtkButton" style "mozilla-button"