[chronojump] Sound error message now only on Linux (was for all systems on last commits)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Sound error message now only on Linux (was for all systems on last commits)
- Date: Mon, 22 Dec 2014 10:55:42 +0000 (UTC)
commit 70baafbfeb5696b5848afd23c4f4943063dbf8fa
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Dec 22 11:55:07 2014 +0100
Sound error message now only on Linux (was for all systems on last commits)
src/gui/chronojump.cs | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index def715e..48df4c5 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3115,11 +3115,12 @@ public partial class ChronoJumpWindow
//on Linux put volumeOn on false on start because there's a bug on Mono and audio
//https://github.com/mono/mono/pull/1376
- new DialogMessage(Constants.MessageTypes.WARNING,
- "There's an audio problem with Mono on Linux.\n" +
- "We recommend to have sound disabled. More info:\n" +
- "https://github.com/mono/mono/pull/1376"
- );
+ if(UtilAll.GetOSEnum() == UtilAll.OperatingSystems.LINUX)
+ new DialogMessage(Constants.MessageTypes.WARNING,
+ "There's an audio problem with Mono on Linux.\n" +
+ "We recommend to have sound disabled. More info:\n" +
+ "https://github.com/mono/mono/pull/1376"
+ );
} else {
preferences.volumeOn = false;
SqlitePreferences.Update("volumeOn", "False", false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]