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

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit f6b58a559ee9eac6c0d5ef59ca9c8e1e86c2cec5
Author: Mihai Moldovan <io...@ionic.de>
Date:   Wed Jun 22 04:19:27 2016 +0200

    src/pulsemanager.cpp: add warning message boxes where appropriate.
---
 debian/changelog     |    1 +
 src/pulsemanager.cpp |   16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6439c2e..834bd8d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -327,6 +327,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
     - src/pulsemanager.cpp: fix startup when using the system-PA version.
     - src/pulsemanager.cpp: fix startup sound playback when using the
       system-PA version.
+    - src/pulsemanager.cpp: add warning message boxes where appropriate.
 
  -- X2Go Release Manager <git-ad...@x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/pulsemanager.cpp b/src/pulsemanager.cpp
index e837a97..223b7df 100644
--- a/src/pulsemanager.cpp
+++ b/src/pulsemanager.cpp
@@ -263,6 +263,14 @@ void PulseManager::start_generic () {
   }
   else {
     x2goErrorf (27) << "PulseAudio failed to start! Sound support will not be 
available.";
+    show_RichText_WarningMsgBox (tr ("PulseAudio failed to start!"),
+                                 tr ("Sound support will not be available.\n\n"
+                                     "If you downloaded the bundled, 
pre-compiled version from the official home page, "
+                                     "please report a bug on:\n"
+                                     "<center><a 
href=\"https://wiki.x2go.org/doku.php/wiki:bugs\";>"
+                                       
"https://wiki.x2go.org/doku.php/wiki:bugs";
+                                     "</a></center>\n"),
+                                 true);
   }
 }
 
@@ -731,6 +739,14 @@ void PulseManager::slot_play_startup_sound () {
     }
     else {
       x2goErrorf (26) << "Unable to play startup sound! Something may be 
wrong.";
+      show_RichText_WarningMsgBox (tr ("Unable to play startup sound."),
+                                   tr ("If you downloaded the bundled, 
pre-compiled version from the official home page "
+                                       "or the upstream Linux packages, "
+                                       "please report a bug on:\n"
+                                       "<center><a 
href=\"https://wiki.x2go.org/doku.php/wiki:bugs\";>"
+                                         
"https://wiki.x2go.org/doku.php/wiki:bugs";
+                                       "</a></center>\n"),
+                                   true);
     }
   }
 }

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email 
on /srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-commits

Reply via email to