[longomatch/newui: 35/157] Fix typo in Predifined.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/newui: 35/157] Fix typo in Predifined.
- Date: Mon, 1 Sep 2014 09:44:18 +0000 (UTC)
commit db062e3ca498d72271277bfb4b1f08e0c6e62622
Author: Julien Moutte <julien fluendo com>
Date: Thu Aug 21 12:40:14 2014 +0200
Fix typo in Predifined.
LongoMatch.Core/Common/Enums.cs | 2 +-
LongoMatch.Core/Store/Category.cs | 2 +-
LongoMatch.Drawing/CanvasObjects/CategoryObject.cs | 4 ++--
LongoMatch.Drawing/Widgets/PlaysTagger.cs | 2 +-
LongoMatch.GUI/Gui/Component/ButtonsWidget.cs | 2 +-
LongoMatch.GUI/Gui/Component/CategoryProperties.cs | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/LongoMatch.Core/Common/Enums.cs b/LongoMatch.Core/Common/Enums.cs
index 46bc1a5..58bf685 100644
--- a/LongoMatch.Core/Common/Enums.cs
+++ b/LongoMatch.Core/Common/Enums.cs
@@ -49,7 +49,7 @@ namespace LongoMatch.Common
}
public enum TagMode {
- Predifined,
+ Predefined,
Free,
Edit
}
diff --git a/LongoMatch.Core/Store/Category.cs b/LongoMatch.Core/Store/Category.cs
index 8997dbb..821fd41 100644
--- a/LongoMatch.Core/Store/Category.cs
+++ b/LongoMatch.Core/Store/Category.cs
@@ -50,7 +50,7 @@ namespace LongoMatch.Store
TagsPerRow = 2;
Color = Color.Red;
TextColor = Color.Grey2;
- TagMode = TagMode.Predifined;
+ TagMode = TagMode.Predefined;
Width = 30;
Height = 20;
}
diff --git a/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs
b/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs
index c225638..504f26c 100644
--- a/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs
+++ b/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs
@@ -210,7 +210,7 @@ namespace LongoMatch.Drawing.CanvasObjects
void CategoryClicked (Category category)
{
- if (Category.TagMode == TagMode.Predifined) {
+ if (Category.TagMode == TagMode.Predefined) {
catSelected = true;
}
}
@@ -222,7 +222,7 @@ namespace LongoMatch.Drawing.CanvasObjects
} else {
SelectedTags.Clear ();
SelectedTags.Add (tag);
- if (Category.TagMode == TagMode.Predifined) {
+ if (Category.TagMode == TagMode.Predefined) {
catSelected = true;
}
}
diff --git a/LongoMatch.Drawing/Widgets/PlaysTagger.cs b/LongoMatch.Drawing/Widgets/PlaysTagger.cs
index 41a3e4e..97931e7 100644
--- a/LongoMatch.Drawing/Widgets/PlaysTagger.cs
+++ b/LongoMatch.Drawing/Widgets/PlaysTagger.cs
@@ -265,7 +265,7 @@ namespace LongoMatch.Drawing.Widgets
return;
}
- if (tagger.Tagger.TagMode == TagMode.Predifined) {
+ if (tagger.Tagger.TagMode == TagMode.Predefined) {
stop = CurrentTime + tagger.Tagger.Stop;
start = CurrentTime - tagger.Tagger.Start;
} else {
diff --git a/LongoMatch.GUI/Gui/Component/ButtonsWidget.cs b/LongoMatch.GUI/Gui/Component/ButtonsWidget.cs
index 8aae4b7..81aad37 100644
--- a/LongoMatch.GUI/Gui/Component/ButtonsWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/ButtonsWidget.cs
@@ -57,7 +57,7 @@ namespace LongoMatch.Gui.Component
tagger.AddNewTagEvent += HandleAddNewTagEvent;
drawingarea1.CanFocus = true;
drawingarea1.KeyPressEvent += HandleKeyPressEvent;
- Mode = TagMode.Predifined;
+ Mode = TagMode.Predefined;
fieldeventbox.ButtonPressEvent += HandleFieldButtonPressEvent;
hfieldeventbox.ButtonPressEvent += HandleFieldButtonPressEvent;
goaleventbox.ButtonPressEvent += HandleFieldButtonPressEvent;
diff --git a/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
b/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
index 1302b8f..7dccd60 100644
--- a/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
+++ b/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
@@ -228,7 +228,7 @@ namespace LongoMatch.Gui.Component
void HandleTagModeChanged (object sender, EventArgs e)
{
tagger.TagMode = (TagMode) tagmodecombobox.Active;
- if (tagger.TagMode == TagMode.Predifined) {
+ if (tagger.TagMode == TagMode.Predefined) {
lagtimebutton.Sensitive = true;
leadtimebutton.Value = lastLeadTime.Seconds;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]