From 9404711233cd0547d576156cd77a4a1af187661c Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 6 May 2008 19:27:42 +0000 Subject: [PATCH] include the version in the gtk online help's URL --- gtk/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/main.c b/gtk/main.c index 211dd0810..65d186597 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -40,6 +40,8 @@ #include #endif +#include + #include "actions.h" #include "add-dialog.h" #include "conf.h" @@ -1185,7 +1187,8 @@ doAction ( const char * action_name, gpointer user_data ) } else if (!strcmp (action_name, "help")) { - gtr_open_file( "http://www.transmissionbt.com/help/gtk" ); + gtr_open_file( "http://www.transmissionbt.com/help/gtk/" + SHORT_VERSION_STRING ); } else if (!strcmp (action_name, "toggle-main-window")) {