[X2Go-Commits] [x2goclient] 194/197: src/pulsemanager.cpp: add warning message boxes where appropriate.
git-admin at x2go.org
git-admin at x2go.org
Thu Jun 30 23:53:50 CEST 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 32f408e15068bfe6cf5c06ca8f0cfec29218e060
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 0126f33..e94a81f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -354,6 +354,7 @@ x2goclient (4.0.5.2-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.
* debian/control:
- Maintainer change in package: X2Go Developers <x2go-dev at lists.x2go.org>.
- Uploaders: add myself. Also, force a rebuild due to the changed
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