Author: lluis
Date: 2007-09-04 11:39:06 -0400 (Tue, 04 Sep 2007)
New Revision: 85292
Modified:
trunk/stetic/ChangeLog
trunk/stetic/libstetic/wrapper/ComboBox.cs
Log:
* libstetic/wrapper/ComboBox.cs: Comboboxes are now of type Text by
default. Fixes bug #81763.
Modified: trunk/stetic/ChangeLog
===================================================================
--- trunk/stetic/ChangeLog 2007-09-04 15:37:12 UTC (rev 85291)
+++ trunk/stetic/ChangeLog 2007-09-04 15:39:06 UTC (rev 85292)
@@ -1,5 +1,10 @@
2007-09-04 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+ * libstetic/wrapper/ComboBox.cs: Comboboxes are now of type Text by
default.
+ Fixes bug #81763.
+
+2007-09-04 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
* libstetic/wrapper/Notebook.cs: Workaround for GTK bug. ShowAll is not
propagated to tab labels. Fixes bug #82476.
Modified: trunk/stetic/libstetic/wrapper/ComboBox.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/ComboBox.cs 2007-09-04 15:37:12 UTC (rev
85291)
+++ trunk/stetic/libstetic/wrapper/ComboBox.cs 2007-09-04 15:39:06 UTC (rev
85292)
@@ -14,7 +14,15 @@
c.EnsureStyle ();
return c;
}
+
+ public override void Wrap (object obj, bool initialized)
+ {
+ base.Wrap (obj, initialized);
+ if (!initialized)
+ textCombo = true;
+ }
+
string items = "";
string[] item = new string[0];
bool textCombo;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches