[chronojump] On Windows does not create chronopicRegisterList at every jump
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] On Windows does not create chronopicRegisterList at every jump
- Date: Thu, 13 Oct 2016 10:38:38 +0000 (UTC)
commit 5e7bc5dcb735d7363c312905d43cb191bce062be
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Oct 13 12:37:57 2016 +0200
On Windows does not create chronopicRegisterList at every jump
src/gui/chronojump.cs | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 9092ba0..d605395 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3603,7 +3603,9 @@ public partial class ChronoJumpWindow
bool canCaptureContacts()
{
- chronopicRegisterUpdate(false);
+ if(! UtilAll.IsWindows())
+ chronopicRegisterUpdate(false);
+
int numContacts = chronopicRegister.NumConnectedOfType(ChronopicRegisterPort.Types.CONTACTS);
LogB.Information("numContacts: " + numContacts);
@@ -4790,6 +4792,8 @@ public partial class ChronoJumpWindow
//chronopicWin.FakeWindowReload.Clicked += new EventHandler(chronopicWindowReload);
chronopicWin.FakeWindowDone.Clicked += new
EventHandler(on_chronopic_window_contacts_connected_or_done);
*/
+
+ //TODO: on Windows need to close the sp if it's open, and maybe the cp
chronopicRegisterUpdate(true);
}
@@ -4800,6 +4804,7 @@ public partial class ChronoJumpWindow
chronopicWin.FakeWindowDone.Clicked += new
EventHandler(on_chronopic_window_encoder_connected_or_done);
*/
+ //TODO: on Windows need to close the sp if it's open, and maybe the cp
chronopicRegisterUpdate(true);
}
@@ -6798,7 +6803,7 @@ LogB.Debug("X");
private void on_button_chronopic_register_clicked (object o, EventArgs args)
{
- chronopicRegisterUpdate(true);
+ //chronopicRegisterUpdate(true);
}
private void chronopicRegisterUpdate(bool openWindow)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]