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@xamarin.com>2016-04-14 09:41:29 +0300
committerVsevolod Kukol <sevoku@xamarin.com>2016-04-14 11:55:45 +0300
commit9bd0d01638799d61b675afb3067436f2a51e6fdf (patch)
treeaeb1a7a0161b86d1c14f1e2cbc8286c965f42e32 /main/src/addins/ChangeLogAddIn
parentca5c9110ea3c02f0bdcb10a04d716ebaa80c1cd3 (diff)
[Ide] Fix missing error color parametrization
Diffstat (limited to 'main/src/addins/ChangeLogAddIn')
-rw-r--r--main/src/addins/ChangeLogAddIn/CommitDialogExtensionWidget.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/addins/ChangeLogAddIn/CommitDialogExtensionWidget.cs b/main/src/addins/ChangeLogAddIn/CommitDialogExtensionWidget.cs
index c2831dfbfe..db187df352 100644
--- a/main/src/addins/ChangeLogAddIn/CommitDialogExtensionWidget.cs
+++ b/main/src/addins/ChangeLogAddIn/CommitDialogExtensionWidget.cs
@@ -99,7 +99,7 @@ namespace MonoDevelop.ChangeLogAddIn
AllowCommit = !requireComment;
if (!AuthorInformation.Default.IsValid) {
- msgLabel.Markup = "<b><span foreground='red'>" + GettextCatalog.GetString ("ChangeLog entries can't be generated.") + "</span></b>";
+ msgLabel.Markup = "<b><span foreground='" + Ide.Gui.Styles.ErrorForegroundColor.ToHexString (false) + "'>" + GettextCatalog.GetString ("ChangeLog entries can't be generated.") + "</span></b>";
pathLabel.Text = GettextCatalog.GetString ("The name or e-mail of the user has not been configured.");
logButton.Label = GettextCatalog.GetString ("Configure user data");
optionsButton.Visible = false;
@@ -114,11 +114,11 @@ namespace MonoDevelop.ChangeLogAddIn
string fc = GettextCatalog.GetString ("There are {0} files without a comment.\nThe ChangeLog entry for those files will not be generated.", uncommentedCount);
if (requireComment)
fc += "\n" + GettextCatalog.GetString ("Some of the projects require that files have comments when they are committed.");
- warning = "<b><span foreground='red'>" + fc + "</span></b>\n";
+ warning = "<b><span foreground='" + Ide.Gui.Styles.ErrorForegroundColor.ToHexString (false) + "'>" + fc + "</span></b>\n";
}
if (unknownFileCount > 0) {
string fc = GettextCatalog.GetPluralString ("{0} ChangeLog file not found. Some changes will not be logged.","{0} ChangeLog files not found. Some changes will not be logged.", unknownFileCount, unknownFileCount);
- msgLabel.Markup = warning + "<b><span foreground='red'>" + fc + "</span></b>";
+ msgLabel.Markup = warning + "<b><span foreground='" + Ide.Gui.Styles.ErrorForegroundColor.ToHexString (false) + "'>" + fc + "</span></b>";
pathLabel.Text = GettextCatalog.GetString ("Click on the 'Details' button for more info.");
} else if (entries.Count == 1) {
msgLabel.Markup = warning + "<b>" + GettextCatalog.GetString ("The following ChangeLog file will be updated:") + "</b>";