[chronojump] While doing a test, notebook_capture_analyze cannot be changed (only capture tab is shown). Good for



commit e855fc19e6563216dde7d598469ea7fe55fe4e68
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Jul 7 00:38:25 2016 +0200

    While doing a test, notebook_capture_analyze cannot be changed (only capture tab is shown). Good for 
jumpsProfile

 src/gui/chronojump.cs |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index dc26720..7d3f0cc 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -6693,6 +6693,15 @@ LogB.Debug("X");
                session_menuitem.Sensitive = false;
                menuitem_mode.Sensitive = false;
                notebook_sup_contacts.Sensitive = false;
+               
+               //jumpsProfile has Sqlite calls. Don't do them while jumping
+               //but don't unsensitive the notebook because user need to "finish" or cancel"
+               //notebook_capture_analyze.Sensitive = true; 
+               notebook_capture_analyze.GetNthPage(1).Hide();
+               if(radio_menuitem_mode_jumps.Active)
+                       notebook_capture_analyze.GetNthPage(2).Hide();
+               
+               
                help_menuitem.Sensitive = false;
                frame_persons.Sensitive = false;
                
@@ -6726,6 +6735,14 @@ LogB.Debug("X");
                session_menuitem.Sensitive = true;
                menuitem_mode.Sensitive = true;
                notebook_sup_contacts.Sensitive = true;
+
+               //jumpsProfile has Sqlite calls. Don't do them while jumping
+               //but don't unsensitive the notebook because user need to "finish" or cancel"
+               //notebook_capture_analyze.Sensitive = true; 
+               notebook_capture_analyze.GetNthPage(1).Show();
+               if(radio_menuitem_mode_jumps.Active)
+                       notebook_capture_analyze.GetNthPage(2).Show();
+               
                help_menuitem.Sensitive = true;
                frame_persons.Sensitive = true;
 


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