[gnome-sound-recorder] Disable <space> shortcuts for recording list



commit 4cbbeddbd818a8095fc19009e50d407f7f1a4096
Author: Sophie Herold <sophie hemio de>
Date:   Tue Nov 24 00:47:09 2020 +0100

    Disable <space> shortcuts for recording list
    
    Closes #89, #92

 src/recorderWidget.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/recorderWidget.js b/src/recorderWidget.js
index 8b01278..2ba4d0d 100644
--- a/src/recorderWidget.js
+++ b/src/recorderWidget.js
@@ -155,6 +155,8 @@ var RecorderWidget = GObject.registerClass({
         case RecorderState.STOPPED:
             this.actionsGroup.lookup('start').enabled = true;
             this.actionsGroup.lookup('stop').enabled = false;
+            this.actionsGroup.lookup('pause').enabled = false;
+            this.actionsGroup.lookup('resume').enabled = false;
             break;
         }
     }


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