summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-26 12:05:31 +0100
committerraveit65 <[email protected]>2021-02-04 18:28:18 +0100
commit84de28686a201fd6ccda3ac562d7ed1d9369a730 (patch)
treedbbc48be2bc42f2446ee9dc406b1c7e62fad9657
parent3bda01153dec2167f9bb24df4c0eac49c1945320 (diff)
downloadmate-power-manager-84de28686a201fd6ccda3ac562d7ed1d9369a730.tar.bz2
mate-power-manager-84de28686a201fd6ccda3ac562d7ed1d9369a730.tar.xz
build: Use PACKAGE_URL variable
-rw-r--r--applets/brightness/brightness-applet.c2
-rw-r--r--applets/inhibit/inhibit-applet.c2
-rw-r--r--configure.ac3
-rw-r--r--src/gpm-tray-icon.c4
4 files changed, 6 insertions, 5 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c
index c4fa15e..e603d31 100644
--- a/applets/brightness/brightness-applet.c
+++ b/applets/brightness/brightness-applet.c
@@ -848,7 +848,7 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data)
"documenters", documenters,
"translator-credits", _("translator-credits"),
"wrap-license", TRUE,
- "website", "https://mate-desktop.org",
+ "website", PACKAGE_URL,
NULL);
g_free (license_trans);
diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c
index d66070b..849ff7c 100644
--- a/applets/inhibit/inhibit-applet.c
+++ b/applets/inhibit/inhibit-applet.c
@@ -317,7 +317,7 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data)
"documenters", documenters,
"translator-credits", _("translator-credits"),
"wrap-license", TRUE,
- "website", "https://mate-desktop.org",
+ "website", PACKAGE_URL,
NULL);
g_free (license_trans);
diff --git a/configure.ac b/configure.ac
index 7fbc820..d0bfaad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,7 @@
AC_PREREQ(2.63)
-AC_INIT([mate-power-manager], [1.25.0], [https://mate-desktop.org/])
+AC_INIT([mate-power-manager], [1.25.0], [https://github.com/mate-desktop/mate-power-manager/pulls],
+ [mate-power-manager], [https://mate-desktop.org])
AC_CONFIG_SRCDIR(src)
AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-xz check-news tar-ustar])
AC_CONFIG_HEADERS([config.h])
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index bc0cd61..48fdd3d 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -21,7 +21,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include <config.h>
+#include <config.h>
#endif
#include <stdlib.h>
@@ -211,7 +211,7 @@ gpm_tray_icon_show_about_cb (GtkMenuItem *item, gpointer data)
"translator-credits", _("translator-credits"),
"icon-name", "mate-power-manager",
"logo-icon-name", "mate-power-manager",
- "website", "https://mate-desktop.org",
+ "website", PACKAGE_URL,
NULL);
g_strfreev (authors);