From 7ab88b6864946390d170180d88f78f182c97abb0 Mon Sep 17 00:00:00 2001 From: lluis Date: Fri, 13 Feb 2009 13:16:26 +0000 Subject: [PATCH] * MonoDevelop.Ide.Gui.Dialogs/CommonAboutDialog.cs: Fixed Bug 447428 - About dialog is completely unreadable when using a dark theme. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/monodevelop@126833 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- main/src/core/MonoDevelop.Ide/ChangeLog | 6 ++++++ .../MonoDevelop.Ide.Gui.Dialogs/CommonAboutDialog.cs | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/main/src/core/MonoDevelop.Ide/ChangeLog b/main/src/core/MonoDevelop.Ide/ChangeLog index b18cfbb86..e6fe6fccc 100644 --- a/main/src/core/MonoDevelop.Ide/ChangeLog +++ b/main/src/core/MonoDevelop.Ide/ChangeLog @@ -1,5 +1,11 @@ 2009-02-13 Lluis Sanchez Gual + * MonoDevelop.Ide.Gui.Dialogs/CommonAboutDialog.cs: Fixed Bug + 447428 - About dialog is completely unreadable when using a + dark theme. + +2009-02-13 Lluis Sanchez Gual + * MonoDevelop.Ide.Gui.Pads/ErrorListPad.cs: Properly refresh on line changes. diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/CommonAboutDialog.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/CommonAboutDialog.cs index 354e510a6..5ed957520 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/CommonAboutDialog.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/CommonAboutDialog.cs @@ -176,7 +176,7 @@ namespace MonoDevelop.Ide.Gui.Dialogs int tw, maxHeight; layout.GetPixelSize (out tw, out maxHeight); - this.GdkWindow.DrawLayout (this.Style.TextGC (StateType.Normal), 0, textTop - scroll, layout); + this.GdkWindow.DrawLayout (this.Style.BlackGC, 0, textTop - scroll, layout); this.GdkWindow.DrawPixbuf (this.Style.BackgroundGC (StateType.Normal), monoPowered, 0, 0, (w/2) - (monoPowered.Width/2), textTop - scroll + maxHeight + monoLogoSpacing, -1, -1, RgbDither.Normal, 0, 0); if (scroll == maxHeight && scrollPause == 0) @@ -238,7 +238,7 @@ namespace MonoDevelop.Ide.Gui.Dialogs nb.BorderWidth = 6; // nb.SetSizeRequest (440, 240); this.ModifyBg (Gtk.StateType.Normal, new Gdk.Color (255, 255, 255)); - nb.ModifyBg (Gtk.StateType.Normal, new Gdk.Color (255, 255, 255)); +// nb.ModifyBg (Gtk.StateType.Normal, new Gdk.Color (255, 255, 255)); VersionInformationTabPage vinfo = new VersionInformationTabPage (); nb.AppendPage (new AboutMonoDevelopTabPage (), new Label (GettextCatalog.GetString ("About MonoDevelop"))); -- 2.11.4.GIT