Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2011-09-17 17:33:43 (GMT)
committer Daniel Drake <dsd@laptop.org>2011-09-27 13:53:47 (GMT)
commit80c26b9187902b91abde15e9b47578c0800766e8 (patch)
treed3d8489545ee2a2b2cf8457ff162c8a1ba360840
parent374bc9a0140464bf4b17a2d903c7206da3a53899 (diff)
Add style for naming alert
Apply a white background to the window and the entry widget. The textbuffer widgets require a grey background still, as that is used to draw their borders.
-rw-r--r--gtk/theme/gtkrc.em5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/theme/gtkrc.em b/gtk/theme/gtkrc.em
index 4eb1892..98ea76f 100644
--- a/gtk/theme/gtkrc.em
+++ b/gtk/theme/gtkrc.em
@@ -773,6 +773,11 @@ widget_class "*<SugarSectionView>*" style "white-bg-child"
widget_class "*<SugarIntroWindow>" style "white-bg"
widget_class "*<SugarIntroWindow>*" style "white-bg-child"
+# Naming alert needs white background for main window and for entry widget,
+# but other backgrounds must be left grey as they are used for drawing borders
+widget_class "*<SugarNamingAlert>" style "white-bg"
+widget_class "*<SugarNamingAlert>*<GtkEntry>" style "white-bg-child"
+
# The notebook is very high, so that everything is overriden
# Only the color of the tab labels needs to be modified inside the