From 6829d1593fad2fa3edb7ee2744def2aad198d087 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Thu, 17 Sep 2015 11:55:22 +1000 Subject: Use PBD::open_uri in about dialog to open website, should fix #6463 --- gtk2_ardour/about.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gtk2_ardour/about.cc') diff --git a/gtk2_ardour/about.cc b/gtk2_ardour/about.cc index c80f3cd973..1288fc599c 100644 --- a/gtk2_ardour/about.cc +++ b/gtk2_ardour/about.cc @@ -26,6 +26,7 @@ #include "pbd/error.h" #include "pbd/file_utils.h" +#include "pbd/openuri.h" #include "ardour/profile.h" #include "ardour/revision.h" @@ -628,6 +629,7 @@ About::About () if (btn) { btn->signal_clicked().connect(sigc::mem_fun(static_cast(this), &Gtk::Window::hide)); } + set_url_hook (sigc::ptr_fun(&About::launch_homepage)); } About::~About () @@ -646,3 +648,8 @@ About::show_config_info () config_info->hide (); } +void +About::launch_homepage (AboutDialog& /* about */, const Glib::ustring& website_url) +{ + PBD::open_uri (website_url); +} -- cgit v1.2.3