[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-cvs
Subject:    [ jEdit-commits ] SF.net SVN: jedit:[15347]
From:       kpouer () users ! sourceforge ! net
Date:       2009-05-27 9:38:33
Message-ID: E1M9Faj-0001sT-4i () c3vjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 15347
          http://jedit.svn.sourceforge.net/jedit/?rev=15347&view=rev
Author:   kpouer
Date:     2009-05-27 09:38:23 +0000 (Wed, 27 May 2009)

Log Message:
-----------
fixed ComboBox colors to match jEdit's TextArea colors

Modified Paths:
--------------
    jEdit/trunk/org/gjt/sp/jedit/jEdit.java

Modified: jEdit/trunk/org/gjt/sp/jedit/jEdit.java
===================================================================
--- jEdit/trunk/org/gjt/sp/jedit/jEdit.java	2009-05-26 21:41:00 UTC (rev 15346)
+++ jEdit/trunk/org/gjt/sp/jedit/jEdit.java	2009-05-27 09:38:23 UTC (rev 15347)
@@ -3600,16 +3600,22 @@
 			for(int i = 0; i < prefixes.length; i++)
 			{
 				String prefix = prefixes[i];
-				defaults.put(prefix + ".disabledBackground",background);
+				defaults.put(prefix + ".foreground",foreground);
 				defaults.put(prefix + ".background",background);
 				defaults.put(prefix + ".disabledForeground",foreground);
-				defaults.put(prefix + ".foreground",foreground);
+				defaults.put(prefix + ".disabledBackground",background);
 				defaults.put(prefix + ".caretForeground",caretColor);
 				defaults.put(prefix + ".selectionForeground",foreground);
 				defaults.put(prefix + ".selectionBackground",selectionColor);
-				//defaults.put(prefix + ".inactiveForeground",foreground);
 			}
 
+			defaults.put("ComboBox.foreground",foreground);
+			defaults.put("ComboBox.background",background);
+			defaults.put("ComboBox.disabledForeground",foreground);
+			defaults.put("ComboBox.disabledBackground",background);
+			defaults.put("ComboBox.selectedForeground",foreground);
+			defaults.put("ComboBox.selectedBackground",selectionColor);
+
 			defaults.put("Tree.background",background);
 			defaults.put("Tree.foreground",foreground);
 			defaults.put("Tree.textBackground",background);


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
jEdit-CVS mailing list
jEdit-CVS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic