From 2380f6d380baf204e752427ae5348c9bfb9422ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org>
Date: Mon, 31 Jul 2023 22:31:50 +0200
Subject: [PATCH] Update URLs

---
 configure.ac.in                           | 2 +-
 data/appdata/xfce4-clipman.appdata.xml.in | 8 ++++----
 panel-plugin/plugin.c                     | 2 +-
 panel-plugin/xfce4-clipman-settings.c     | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index e7120b99..a256e2e1 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -22,7 +22,7 @@ dnl ***************************
 AC_COPYRIGHT([Copyright (c) 2003-2023
         The Xfce development team. All rights reserved.])
 AC_INIT([Clipman], [project_version], [https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin], [xfce4-clipman-plugin],
-        [https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin])
+        [https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin/start])
 AC_CONFIG_HEADERS([config.h])
 AC_PREREQ([2.50])
 AC_CANONICAL_TARGET()
diff --git a/data/appdata/xfce4-clipman.appdata.xml.in b/data/appdata/xfce4-clipman.appdata.xml.in
index fa78c297..16ac2f1b 100644
--- a/data/appdata/xfce4-clipman.appdata.xml.in
+++ b/data/appdata/xfce4-clipman.appdata.xml.in
@@ -18,13 +18,13 @@
 
   <screenshots>
     <screenshot type="default">
-      <image>http://docs.xfce.org/_media/extra/clipman/clipman-menu.png</image>
+      <image>https://docs.xfce.org/_media/panel-plugins/clipman/clipman-menu.png</image>
     </screenshot>
   </screenshots>
 
-  <url type="homepage">https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin</url>
-  <url type="bugtracker">https://bugzilla.xfce.org/</url>
-  <url type="help">https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin</url>
+  <url type="homepage">https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin/start</url>
+  <url type="bugtracker">https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin</url>
+  <url type="help">https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin/start</url>
 
   <updatecontact>xfce4-dev@xfce.org</updatecontact>
 
diff --git a/panel-plugin/plugin.c b/panel-plugin/plugin.c
index 2352e19c..2fff01f2 100644
--- a/panel-plugin/plugin.c
+++ b/panel-plugin/plugin.c
@@ -343,7 +343,7 @@ plugin_about (MyPlugin *plugin)
                          "version", PACKAGE_VERSION,
                          "copyright", "Copyright © 2003-2023 The Xfce development team",
                          "license", license,
-                         "website", "https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin",
+                         "website", PACKAGE_URL,
                          "website-label", "docs.xfce.org",
                          "authors", authors,
                          "documenters", documenters,
diff --git a/panel-plugin/xfce4-clipman-settings.c b/panel-plugin/xfce4-clipman-settings.c
index fd46de18..a94359eb 100644
--- a/panel-plugin/xfce4-clipman-settings.c
+++ b/panel-plugin/xfce4-clipman-settings.c
@@ -272,7 +272,7 @@ cb_show_help (GtkButton *button)
   else
     {
       g_free (docpath);
-      docpath = g_strdup ("http://docs.xfce.org/panel-plugins/clipman/start");
+      docpath = g_strdup (PACKAGE_URL);
     }
 
   /* Open documentation in webbrowser */
-- 
GitLab