[longomatch/redesign: 52/96] Set the fast tag option in the subcategory itself
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign: 52/96] Set the fast tag option in the subcategory itself
- Date: Tue, 29 Mar 2011 18:20:07 +0000 (UTC)
commit d4e58d4aad84a9a7becf67c4d68add31fa2bd86c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Jan 27 00:45:10 2011 +0100
Set the fast tag option in the subcategory itself
LongoMatch/Store/Category.cs | 21 ---------------------
LongoMatch/Store/SubCategory.cs | 5 +++++
LongoMatch/Store/Templates/CategoriesTemplate.cs | 1 -
3 files changed, 5 insertions(+), 22 deletions(-)
---
diff --git a/LongoMatch/Store/Category.cs b/LongoMatch/Store/Category.cs
index 786e36a..c8e46b3 100644
--- a/LongoMatch/Store/Category.cs
+++ b/LongoMatch/Store/Category.cs
@@ -93,21 +93,6 @@ namespace LongoMatch.Store
set;
}
- public bool FastTagLocalPlayers {
- get;
- set;
- }
-
- public bool FastTagVisitorPlayers {
- get;
- set;
- }
-
- public bool FastTagSubCategories {
- get;
- set;
- }
-
/// <summary>
/// Sort method string used for the UI
/// </summary>
@@ -148,9 +133,6 @@ namespace LongoMatch.Store
SubCategories = (List<SubCategory>)info.GetValue("subcategories", typeof(List<SubCategory>));
Position = info.GetInt32("position");
SortMethod = (SortMethodType)info.GetValue("sort_method", typeof(SortMethodType));
- FastTagLocalPlayers = info.GetBoolean("fast_local_players");
- FastTagVisitorPlayers = info.GetBoolean("fast_visitor_players");
- FastTagSubCategories = info.GetBoolean("fast_sub_cat");
// read 'red', 'blue' and 'green' values and convert it to Gdk.Color
Color c = new Color();
c.Red = (ushort)info.GetValue("red", typeof(ushort));
@@ -172,9 +154,6 @@ namespace LongoMatch.Store
info.AddValue("green", Color.Green);
info.AddValue("blue", Color.Blue);
info.AddValue("sort_method", SortMethod);
- info.AddValue("fast_local_players", FastTagLocalPlayers);
- info.AddValue("fast_visitor_players", FastTagVisitorPlayers);
- info.AddValue("fast_sub_cat", FastTagSubCategories);
}
#endregion
}
diff --git a/LongoMatch/Store/SubCategory.cs b/LongoMatch/Store/SubCategory.cs
index 5e0b0d7..267cea9 100644
--- a/LongoMatch/Store/SubCategory.cs
+++ b/LongoMatch/Store/SubCategory.cs
@@ -39,6 +39,11 @@ namespace LongoMatch.Store
get;
set;
}
+
+ public bool FastTag {
+ get;
+ set;
+ }
}
public class TagSubCategory: SubCategory
diff --git a/LongoMatch/Store/Templates/CategoriesTemplate.cs b/LongoMatch/Store/Templates/CategoriesTemplate.cs
index 1920117..46b9bf8 100644
--- a/LongoMatch/Store/Templates/CategoriesTemplate.cs
+++ b/LongoMatch/Store/Templates/CategoriesTemplate.cs
@@ -230,7 +230,6 @@ namespace LongoMatch.Store.Templates
SortMethod = SortMethodType.SortByStartTime,
HotKey = h,
Position = i-1,
- FastTagSubCategories = true
};
cat.SubCategories.Add(team);
cat.SubCategories.Add(localplayers);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]