From 14c2409f470a1ca42916803dc5be139b1990f316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Mon, 2 Nov 2015 22:51:45 +0100 Subject: [PATCH] Show info dialog when opening chat via Help -> Chat. This should clarify for users that in IRC you post your question and wait, and not leave after a few minutes. --- gtk2_ardour/ardour_ui.cc | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index e9d9938e34..60e973e098 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -3325,13 +3325,24 @@ ARDOUR_UI::build_session (const std::string& path, const std::string& snap_name, void ARDOUR_UI::launch_chat () { + MessageDialog dialog(_("Just ask and wait for an answer.\nIt may take from minutes to hours."), true); + + dialog.set_title (_("About the Chat")); + dialog.set_secondary_text (_("When you're inside the chat just ask your question and wait for an answer. The chat is occupied by real people with real lives so many of them are passively online and might not read your question before minutes or hours later.\nSo please be patient and wait for an answer.\n\nYou should just leave the chat window open and check back regularly until someone has answered your question.")); + + switch (dialog.run()) { + case RESPONSE_OK: #ifdef __APPLE__ - open_uri("http://webchat.freenode.net/?channels=ardour-osx"); + open_uri("http://webchat.freenode.net/?channels=ardour-osx"); #elif defined PLATFORM_WINDOWS - open_uri("http://webchat.freenode.net/?channels=ardour-windows"); + open_uri("http://webchat.freenode.net/?channels=ardour-windows"); #else - open_uri("http://webchat.freenode.net/?channels=ardour"); + open_uri("http://webchat.freenode.net/?channels=ardour"); #endif + break; + default: + break; + } } void