[chronojump] Not allow to use hbox_menu_and_preferences_outside_menu while capturing



commit 6fd23e0bf862f9a89e5f2aacef9e956b199fa3ca
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jan 31 18:24:04 2017 +0100

    Not allow to use hbox_menu_and_preferences_outside_menu while capturing

 src/gui/chronojump.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index b756fb4..d6ba1ff 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -6646,9 +6646,11 @@ LogB.Debug("X");
        private void sensitiveGuiYesEvent () {
        }
        
-       private void sensitiveGuiEventDoing () {
+       private void sensitiveGuiEventDoing ()
+       {
                session_menuitem.Sensitive = false;
                menuitem_mode.Sensitive = false;
+               hbox_menu_and_preferences_outside_menu.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"
@@ -6685,11 +6687,13 @@ LogB.Debug("X");
                //hbox_multi_chronopic_buttons.Sensitive = false;
        }
    
-       private void sensitiveGuiEventDone () {
+       private void sensitiveGuiEventDone ()
+       {
                LogB.Information(" sensitiveGuiEventDone start ");
 
                session_menuitem.Sensitive = true;
                menuitem_mode.Sensitive = true;
+               hbox_menu_and_preferences_outside_menu.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"


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