[chronojump] configChronojump.Read called earlier on start program
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] configChronojump.Read called earlier on start program
- Date: Tue, 18 Jul 2017 14:13:47 +0000 (UTC)
commit 4603e1d124a2b0df4ebe47a0fa40df53fed827fe
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Jul 18 16:13:01 2017 +0200
configChronojump.Read called earlier on start program
src/chronojump.cs | 13 +++++++------
src/gui/chronojump.cs | 1 +
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/src/chronojump.cs b/src/chronojump.cs
index 64cfd1e..c20cc80 100644
--- a/src/chronojump.cs
+++ b/src/chronojump.cs
@@ -43,7 +43,8 @@ public class ChronoJump
private string messageToShowOnBoot = "";
private string messageCrashedBefore = "";
private bool chronojumpHasToExit = false;
-
+ private Config configChronojump;
+
[Widget] Gtk.Button fakeSplashButton; //raised when splash win ended
Thread thread;
bool needEndSplashWin = false;
@@ -237,7 +238,11 @@ public class ChronoJump
//used when Chronojump is being running two or more times (quadriple-click on start)
bool quitNowCjTwoTimes = false;
- protected void sqliteThings () {
+ protected void sqliteThings ()
+ {
+ configChronojump = new Config();
+ configChronojump.Read();
+
bool badExit = checkIfChronojumpExitAbnormally();
if(badExit) {
if(chronojumpIsExecutingNTimes())
@@ -690,7 +695,6 @@ public class ChronoJump
return true;
}
- Config configChronojump;
private void on_splash_ended(object o, EventArgs args)
{
LogB.Information("splash screen going to END");
@@ -702,9 +706,6 @@ public class ChronoJump
LogB.Information("splash screen ENDED!");
- configChronojump = new Config();
- configChronojump.Read();
-
readMessageToStart();
}
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 49efeda..04aa601 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3474,6 +3474,7 @@ public partial class ChronoJumpWindow
try {
capturer.Stop();
} catch {}
+ LogB.Information("videoCapturePPPPPPPPPPPPPPPPPrepare done !");
capturer.Run();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]