summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-01-04 02:38:37 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-01-04 02:38:37 +0000
commit14c363f0bc90872797344312c3cc6ff144c3823b (patch)
treee6408daedaec9ec33fe86d6556325567c72c4597
parent6ddcd8f0b9a8c27cdc4b96966c6746a1a8c2dc15 (diff)
remove old paypal cruft from about dialog source, and delete config info window if/when about dialog is deleted
git-svn-id: svn://localhost/ardour2/branches/3.0@6440 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/about.cc45
-rw-r--r--gtk2_ardour/about.h6
2 files changed, 1 insertions, 50 deletions
diff --git a/gtk2_ardour/about.cc b/gtk2_ardour/about.cc
index d384daae32..322f81f8da 100644
--- a/gtk2_ardour/about.cc
+++ b/gtk2_ardour/about.cc
@@ -228,20 +228,11 @@ About::About ()
Gtk::Button* config_button = manage (new Button (_("Config")));
get_action_area()->pack_start (*config_button, false, false);
config_button->signal_clicked().connect (mem_fun (*this, &About::show_config_info));
-
-#ifdef WITH_PAYMENT_OPTIONS
- paypal_button.add (paypal_pixmap);
-
- HBox *payment_box = manage (new HBox);
- payment_box->pack_start (paypal_button, true, false);
-
- subvbox.pack_start (*payment_box, false, false);
-#endif
-
}
About::~About ()
{
+ delete config_info;
}
void
@@ -254,37 +245,3 @@ About::show_config_info ()
config_info->present ();
}
-#ifdef WITH_PAYMENT_OPTIONS
-void
-About::goto_paypal ()
-{
- char buf[PATH_MAX+16];
- char *argv[4];
- char *docfile = "foo";
- int grandchild;
-
- if (fork() == 0) {
-
- /* child */
-
- if ((grandchild = fork()) == 0) {
-
- /* grandchild */
-
- argv[0] = "mozilla";
- argv[1] = "-remote";
- snprintf (buf, sizeof(buf), "openurl(%s)", docfile);
- argv[2] = buf;
- argv[3] = 0;
-
- execvp ("mozilla", argv);
- error << "could not start mozilla" << endmsg;
-
- } else {
- int status;
- waitpid (grandchild, &status, 0);
- }
-
- }
-}
-#endif
diff --git a/gtk2_ardour/about.h b/gtk2_ardour/about.h
index 80e4618d22..dfd7213aa7 100644
--- a/gtk2_ardour/about.h
+++ b/gtk2_ardour/about.h
@@ -33,12 +33,6 @@ class About : public Gtk::AboutDialog
private:
ConfigInfoDialog* config_info;
void show_config_info ();
-
-#ifdef WITH_PAYMENT_OPTIONS
- Gtk::Image paypal_pixmap;
- Gtk::Button paypal_button;
- void goto_paypal ();
-#endif
};
#endif /* __ardour_gtk_about_h__ */