parameter-ize the URL used to donate from the nag screen
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "pbd/openuri.h"
|
||||
|
||||
#include "ardour/filesystem_paths.h"
|
||||
#include "ardour/rc_configuration.h"
|
||||
|
||||
#include "nag.h"
|
||||
#include "i18n.h"
|
||||
@@ -192,11 +193,9 @@ NagScreen::is_subscribed (bool& really)
|
||||
void
|
||||
NagScreen::offer_to_donate ()
|
||||
{
|
||||
const char* uri = "http://ardour.org/donate";
|
||||
|
||||
/* we don't care if it fails */
|
||||
|
||||
PBD::open_uri (uri);
|
||||
PBD::open_uri (Config->get_donate_url());
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -214,6 +214,7 @@ CONFIG_VARIABLE (std::string, linux_pingback_url, "linux-pingback-url", "http://
|
||||
CONFIG_VARIABLE (std::string, tutorial_manual_url, "tutorial-manual-url", "http://ardour.org/flossmanual")
|
||||
CONFIG_VARIABLE (std::string, reference_manual_url, "reference-manual-url", "http://manual.ardour.org/")
|
||||
CONFIG_VARIABLE (std::string, updates_url, "updates-url", "http://ardour.org/whatsnew.html")
|
||||
CONFIG_VARIABLE (std::string, donate_url, "donate-url", "http://ardour.org/donate")
|
||||
|
||||
#ifdef WITH_VIDEOTIMELINE
|
||||
CONFIG_VARIABLE (std::string, video_server_url, "video-server-url", "http://localhost:1554")
|
||||
|
||||
Reference in New Issue
Block a user