Show info dialog when opening chat via Help -> Chat.
authorAndré Nusser <andre.nusser@googlemail.com>
Mon, 2 Nov 2015 21:51:45 +0000 (22:51 +0100)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 4 Nov 2015 22:53:03 +0000 (17:53 -0500)
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

index e9d9938e3433439b1d39d0789ea59dafcafe71a6..60e973e098fb93ba319e968846770558455c444c 100644 (file)
@@ -3325,13 +3325,24 @@ ARDOUR_UI::build_session (const std::string& path, const std::string& snap_name,
 void
 ARDOUR_UI::launch_chat ()
 {
+       MessageDialog dialog(_("<b>Just ask and wait for an answer.\nIt may take from minutes to hours.</b>"), 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