[X2Go-Commits] [x2goclient] 01/01: Check "norecord" option on the first start of PulseAudio.

git-admin at x2go.org git-admin at x2go.org
Mon May 15 18:10:14 CEST 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit 6dbf012b045c48b473c02e1eb5e00bfd4801148b
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date:   Mon May 15 18:09:08 2017 +0200

    Check "norecord" option on the first start of PulseAudio.
---
 debian/changelog     | 1 +
 src/onmainwindow.cpp | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 038ae9c..99cbffd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -164,6 +164,7 @@ x2goclient (4.1.0.1-0x2go1) UNRELEASED; urgency=medium
     - SSH Iteraction for method keyboard-interactive.
     - Move PulseManager MsgBox functions to main window:
       GUI functions should be used only from main thread.
+    - Check "norecord" option on the first start of PulseAudio.
 
   [ Robert Parts ]
   * New upstream version (4.1.0.1):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index e1d5b93..4141570 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -6753,6 +6753,10 @@ void ONMainWindow::pulseManagerWrapper () {
     connect(pulseManager, SIGNAL(sig_pulse_user_warning(bool, const QString&, const QString&, bool)),
             this, SLOT(slotShowPAMSGDialog(bool, const QString&, const QString&, bool)));
 
+    X2goSettings st ("settings");
+    bool disableInput = st.setting ()->value ("pulse/norecord",
+                                                     (QVariant) false).toBool ();
+    pulseManager->set_record (!disableInput);
     pulseManager->set_debug (debugging);
 
     pulseManager->moveToThread (pulseManagerThread);

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list