[longomatch/redesign3: 38/143] Remove prints



commit 93e1d099b18338f91e6a36c5ac93b2b0e169f290
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Dec 22 01:01:46 2010 +0100

    Remove prints

 LongoMatch/Gui/Component/ProjectDetailsWidget.cs |    3 ---
 LongoMatch/Gui/Component/TimeLineWidget.cs       |    3 +++
 LongoMatch/Store/Project.cs                      |    1 -
 LongoMatch/Utils/ProjectUtils.cs                 |    2 --
 4 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/ProjectDetailsWidget.cs b/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
index a154dc3..465e3ee 100644
--- a/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
+++ b/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
@@ -416,7 +416,6 @@ namespace LongoMatch.Gui.Component
 			tagscombobox.Active = index;
 			var reader = new CategoriesReader(System.IO.Path.Combine(MainClass.TemplatesDir(),SectionsFile));
 			Categories = reader.GetCategories();
-			Console.WriteLine (Categories.Count);
 		}
 
 		private void FillTeamsTemplate() {
@@ -509,7 +508,6 @@ namespace LongoMatch.Gui.Component
 						md.Icon=Stetic.IconLoader.LoadIcon(this, "longomatch", Gtk.IconSize.Dialog);
 						md.Show();
 						mFile = LongoMatch.Video.Utils.PreviewMediaFile.GetMediaFile(filename);
-						Console.WriteLine (mFile.Length.ToString());
 						if (!mFile.HasVideo || mFile.VideoCodec == "")
 							throw new Exception(Catalog.GetString("This file doesn't contain a video stream."));
 						if (mFile.HasVideo && mFile.Length == 0)
@@ -569,7 +567,6 @@ namespace LongoMatch.Gui.Component
 		{
 			ProjectTemplateEditorDialog ted = new ProjectTemplateEditorDialog();
 			ted.TransientFor = (Window)Toplevel;
-			Console.WriteLine (Categories.Count);
 			ted.Categories = Categories;
 			ted.Project = project;
 			ted.CanExport = Use == ProjectType.EditProject;
diff --git a/LongoMatch/Gui/Component/TimeLineWidget.cs b/LongoMatch/Gui/Component/TimeLineWidget.cs
index 7038339..54dc801 100644
--- a/LongoMatch/Gui/Component/TimeLineWidget.cs
+++ b/LongoMatch/Gui/Component/TimeLineWidget.cs
@@ -159,6 +159,9 @@ namespace LongoMatch.Gui.Component {
 
 				tr.Frames = frames;
 				tr.FrameRate = value.Description.File.Fps;
+				ushort fps = value.Description.File.Fps;
+				tr = new TimeReferenceWidget(frames,fps);
+				vbox1.PackStart(tr,false,false,0);
 				tr.Show();
 				
 				foreach (Category cat in  categories.CategoriesList) {
diff --git a/LongoMatch/Store/Project.cs b/LongoMatch/Store/Project.cs
index 2c910cf..cf52972 100644
--- a/LongoMatch/Store/Project.cs
+++ b/LongoMatch/Store/Project.cs
@@ -187,7 +187,6 @@ namespace LongoMatch.Store
 		}
 		
 		public List<Play> PlaysInCategory (Category category){
-			Console.WriteLine ("Plays are " + playsList.Count);
 			return (from play in playsList
 			        where play.Category.UUID == category.UUID
 			        select play).ToList();
diff --git a/LongoMatch/Utils/ProjectUtils.cs b/LongoMatch/Utils/ProjectUtils.cs
index cdf9588..76b8378 100644
--- a/LongoMatch/Utils/ProjectUtils.cs
+++ b/LongoMatch/Utils/ProjectUtils.cs
@@ -267,8 +267,6 @@ namespace LongoMatch.Utils
 			IFramesCapturer capturer;
 			BusyDialog dialog;
 			
-			Console.WriteLine("start thumbnails");
-			
 			dialog = new BusyDialog();
 			dialog.TransientFor = window;
 			dialog.Message = Catalog.GetString("Creating video thumbnails. This can take a while."); 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]