diff options
author | John Stebbins <[email protected]> | 2016-10-06 08:14:54 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-10-06 08:14:54 -0700 |
commit | 949cf00a7f04f8817fa4d3aa88563da69ce176b4 (patch) | |
tree | ebd6704fdf17fcafe773a06e4395bbfcbedb0a14 | |
parent | 3fe7f1de0362a38b36edae2a831cec450089d202 (diff) |
LinGui: update hb docs link
Old docs are offline. So use new docs.
-rw-r--r-- | gtk/src/callbacks.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index e70d57f15..4d027c881 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -3829,13 +3829,13 @@ browse_url(const gchar *url) argv[0] = "kfmclient"; argv[1] = "exec"; - argv[2] = "http://trac.handbrake.fr/wiki/HandBrakeGuide"; + argv[2] = (gchar*)url; result = g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); if (result) return; argv[0] = "firefox"; - argv[1] = "http://trac.handbrake.fr/wiki/HandBrakeGuide"; + argv[1] = (gchar*)url; argv[2] = NULL; result = g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); @@ -3871,10 +3871,12 @@ about_activate_cb(GtkWidget *xwidget, signal_user_data_t *ud) gtk_widget_show (widget); } +#define HB_DOCS "https://handbrake.fr/docs/" + G_MODULE_EXPORT void guide_activate_cb(GtkWidget *xwidget, signal_user_data_t *ud) { - browse_url("http://trac.handbrake.fr/wiki/HandBrakeGuide"); + browse_url(HB_DOCS); } G_MODULE_EXPORT void |