Don't hardcode the project name in its URI
This commit is contained in:
parent
f1e9e47e13
commit
cfa90fb7de
2
fiv.c
2
fiv.c
@ -404,7 +404,7 @@ show_about_dialog(GtkWidget *parent)
|
||||
|
||||
GtkWidget *website = gtk_label_new(NULL);
|
||||
gtk_label_set_selectable(GTK_LABEL(website), TRUE);
|
||||
const char *url = "https://git.janouch.name/p/fiv";
|
||||
const char *url = "https://git.janouch.name/p/" PROJECT_NAME;
|
||||
gchar *link = g_strdup_printf("<a href='%s'>%s</a>", url, url);
|
||||
gtk_label_set_markup(GTK_LABEL(website), link);
|
||||
g_free(link);
|
||||
|
Loading…
Reference in New Issue
Block a user