Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVsevolod Kukol <sevoku@microsoft.com>2016-10-31 21:57:47 +0300
committerVsevolod Kukol <sevoku@microsoft.com>2016-10-31 21:57:47 +0300
commit796a9a6ad33f1069bd260cdc68840d4bdd60ff08 (patch)
treee8ee37b3495bb44718b186377233c9fb7470615d /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs
parent2e21278d7d7bacbd05eb335387818bc981a924d9 (diff)
[Ide] Fix light theme link color in About dialog
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/AboutMonoDevelopTabPage.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/AboutMonoDevelopTabPage.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/AboutMonoDevelopTabPage.cs
index 7baf30d49f..b0aba104ee 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/AboutMonoDevelopTabPage.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/AboutMonoDevelopTabPage.cs
@@ -82,6 +82,9 @@ namespace MonoDevelop.Ide.Gui.Dialogs
Markup = "<span underline='true'>aka.ms/visual-studio-license</span>",
Cursor = Xwt.CursorType.Hand,
};
+ if (IdeTheme.UserInterfaceTheme == Theme.Light)
+ linkLabel.Markup = string.Format ("<span color='#5C2D91'>{0}</span>", linkLabel.Markup);
+
linkLabel.ButtonReleased += (sender, e) => DesktopService.ShowUrl ("https://aka.ms/visual-studio-license");
cbox.PackStart (linkLabel);
infoBox.PackStart (cbox);
@@ -91,6 +94,8 @@ namespace MonoDevelop.Ide.Gui.Dialogs
Cursor = Xwt.CursorType.Hand,
MarginLeft = 12
};
+ if (IdeTheme.UserInterfaceTheme == Theme.Light)
+ linkLabel.Markup = string.Format ("<span color='#5C2D91'>{0}</span>", linkLabel.Markup);
linkLabel.ButtonReleased += (sender, e) => DesktopService.ShowUrl ("https://privacy.microsoft.com/");
infoBox.PackStart (linkLabel);