[Mono-bugs] [Bug 375987] System.Windows. Forms dependency on GTK makes code to crash if it uses ATK# and GTK_MODULES contains 'atk-bridge'

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 2 14:37:11 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=375987

User sanfordarmstrong at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=375987#c9





--- Comment #9 from Sanford Armstrong <sanfordarmstrong at gmail.com>  2008-04-02 12:37:11 MST ---
Some suggestions from Miguel and Paolo on IRC (Miguel would really like to drop
MWF's dependency on GTK+):

* Write a GtkRc parser in C# to get colors
* See if there is a standard means to share system/default color between gtk
and qt, and use that
* Run a small external program:

<miguel_> The bottom line is: I always hated that WIndows.Forms loaded Gtk+
just for this
 I would even write a C program that dumps those colors
 And check some kind of theme-stamp of sort
 If there is no ~/.config/mono/whatever.colors
 Run the program, and then load the colors
 And compare that against whatever X property tracks the theme (if we even do)

This last idea would allow us to use GTK+ in the external program, making the
task a bit easier than writing a GtkRc parser (we would only have to parse our
own, simpler, file).  Miguel and Paolo seemed to favor this approach.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list