adjust plugin-UI height when toggling expanders
[ardour.git] / gtk2_ardour / pingback.cc
index bbcd44111cb1039168606070b25904f36ff6a090..0153fd45b1ffc62ed1290b39a63d8c39ac325cef 100644 (file)
@@ -40,6 +40,7 @@
 #include "ardour/rc_configuration.h"
 
 #include "pingback.h"
+#include "utils.h"
 
 using std::string;
 using namespace ARDOUR;
@@ -241,6 +242,13 @@ namespace ARDOUR {
 
 void pingback (const string& version, const string& announce_path)
 {
+       if (ARDOUR_UI_UTILS::running_from_source_tree ()) {
+               /* we don't ping under these conditions, because the user is
+                  probably just paul or robin :)
+               */
+               return;
+       }
+
        ping_call* cm = new ping_call (version, announce_path);
        pthread_t thread;