[X2Go-Commits] [x2goclient] 194/276: src/pulsemanager.cpp: add warning message boxes where appropriate.
git-admin at x2go.org
git-admin at x2go.org
Sat Dec 31 01:35:19 CET 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit 086da738798b97f9d1e4ffcc7c73e87a916582b5
Author: Mihai Moldovan <ionic at 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 eb9ccee..94fa663 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -333,6 +333,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.
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
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
More information about the x2go-commits
mailing list