2006-09-13 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Wed, 13 Sep 2006 20:36:37 +0000 (20:36 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 13 Sep 2006 20:36:37 +0000 (20:36 -0000)
* X11DesktopColors.cs: Start the droppage of debugging messages.

svn path=/trunk/mcs/; revision=65368

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/X11DesktopColors.cs

index 42d4a485ef3462826ad9b1e8d255aefd3f32624a..30603886d1bec424ab15c55ff88ba3b0bc1a438f 100644 (file)
@@ -1,5 +1,7 @@
 2006-09-13  Miguel de Icaza  <miguel@novell.com>
 
+       * X11DesktopColors.cs: Start the droppage of debugging messages.
+
        * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
 
 2006-09-13  Jonathan Pobst <monkey@jpobst.com>
index d914fad8d693a0b6d6a5afc034cdc8d191823508..3a8eba58372c6910670bc54683cb3bb0cabc68ab 100644 (file)
@@ -124,29 +124,25 @@ namespace System.Windows.Forms {
 
                                                ThemeEngine.Current.ColorMenu = ColorFromGdkColor (style.bg [0]);
                                                ThemeEngine.Current.ColorMenuText = ColorFromGdkColor (style.text [0]);
-                                               Console.WriteLine("Gtk colorscheme read");
                                        }
 
                                        catch (DllNotFoundException) {
-                                               Console.WriteLine("Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme");
+                                               Console.Error.WriteLine("Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme");
                                        }
 
                                        catch {
-                                               Console.WriteLine("Gtk colorscheme read failure, using built-in colorscheme");
+                                               Console.Error.WriteLine("Gtk colorscheme read failure, using built-in colorscheme");
                                        }
                                        break;
                                }
                                        
                                case Desktop.KDE: {
-                                               if ( ReadKDEColorsheme() )
-                                                       Console.WriteLine("KDE colorscheme read");
-                                               else
-                                                       Console.WriteLine("KDE colorscheme read failure, using built-in colorscheme");
+                                               if (! ReadKDEColorsheme() )
+                                                       Console.Error.WriteLine("KDE colorscheme read failure, using built-in colorscheme");
                                                break;
                                        }
                                        
                                default: {
-                                       Console.WriteLine("Unknown desktop manager, using default colors");
                                        break;
                                }
                        }