Use 'GtkWidget' instead of '*' for default style rule.
It seems that wildcard '*' has higher precedenace than the base class in
style matching. Use 'GtkWidget' is better and we no longer have to explicitly
specify rules for dervied classes.
BUG=chromium-os:7479
TEST=Verify omnibox edit's selection color is still right.
Change-Id: I320efcdcc8066883e859d29a164962bef6754363
Review URL: http://codereview.chromium.org/3684004
diff --git a/resources/gtkrc b/resources/gtkrc
index e34dc32..660e84c 100644
--- a/resources/gtkrc
+++ b/resources/gtkrc
@@ -129,20 +129,14 @@
bg[ACTIVE] = "#FFF"
}
-class "*" style "default"
+class "GtkWidget" style "default"
class "GtkNotebook" style "NotebookStyle"
class "GtkEntry" style "TextStyle"
-class "GtkViewsEntry" style "TextStyle"
-
class "GtkTextView" style "TextStyle"
-class "GtkViewsTextView" style "TextStyle"
-
-class "GtkUndoView" style "TextStyle"
-
widget "gtk-tooltip*" style "TooltipStyle"
widget "*.chromeos-options-tab" style "WhiteBackgroundStyle"