[chronojump] webcam deactivated always at start
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] webcam deactivated always at start
- Date: Wed, 24 Apr 2013 13:39:49 +0000 (UTC)
commit f6fb9d7b295111a17c7adf4a8703b9a4e02eed4b
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Apr 24 15:23:49 2013 +0200
webcam deactivated always at start
src/gui/chronojump.cs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 8779a85..928161f 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -457,6 +457,10 @@ public partial class ChronoJumpWindow
//i think report it's deactivated until a new session is created or loaded,
//but check what happens if report window is opened
+ //put videoOn as false before loading preferences to start always without the camera
+ //this is good if camera produces crash
+ SqlitePreferences.Update("videoOn", "False", false);
+
//preferencesLoaded is a fix to a gtk#-net-windows-bug where radiobuttons raise signals
//at initialization of chronojump and gives problems if this signals are raised while
preferences are loading
loadPreferences ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]