[longomatch] Disable resync for projects with a single video file
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Disable resync for projects with a single video file
- Date: Wed, 1 Apr 2015 20:39:22 +0000 (UTC)
commit a743ef2c5c80cce2b7bd8ffe9b8d5bd55a4d95c9
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Apr 1 21:22:41 2015 +0200
Disable resync for projects with a single video file
LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
index 70acda7..fe55ec4 100644
--- a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
@@ -140,6 +140,8 @@ namespace LongoMatch.Gui.Panel
}
videoFileInfos.Clear ();
+ resyncbutton.Sensitive = project.Description.FileSet.Count > 1;
+
foreach (MediaFile mf in project.Description.FileSet) {
VideoFileInfo vfi = new VideoFileInfo ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]