[Xfce4-commits] [apps/xfdashboard] 03/04: Make plugin ID a definition specified in Makefile instead of source files also at hot-corner plugin

noreply at xfce.org noreply at xfce.org
Sun Feb 14 16:13:28 CET 2016


This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 27845e3097021718a7e3ad5d10d34f00cc0887cb
Author: Stephan Haller <nomad at froevel.de>
Date:   Sun Feb 14 14:20:09 2016 +0100

    Make plugin ID a definition specified in Makefile instead of source files also at hot-corner plugin
---
 plugins/hot-corner/Makefile.am | 3 ++-
 plugins/hot-corner/plugin.c    | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/plugins/hot-corner/Makefile.am b/plugins/hot-corner/Makefile.am
index 19c8e9a..2f02509 100644
--- a/plugins/hot-corner/Makefile.am
+++ b/plugins/hot-corner/Makefile.am
@@ -6,7 +6,8 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/xfdashboard \
 	-DG_LOG_DOMAIN=\"xfdashboard-plugin-hot_corner\" \
 	-DLIBEXECDIR=\"$(libexecdir)\" \
-	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"
+	-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
+	-DPLUGIN_ID=\"de.froevel.xfdashboard.hot-corner\"
 
 plugin_LTLIBRARIES = \
 	hot-corner.la
diff --git a/plugins/hot-corner/plugin.c b/plugins/hot-corner/plugin.c
index 51dfb00..25c3534 100644
--- a/plugins/hot-corner/plugin.c
+++ b/plugins/hot-corner/plugin.c
@@ -72,7 +72,7 @@ G_MODULE_EXPORT void plugin_init(XfdashboardPlugin *self)
 
 	/* Set plugin info */
 	xfdashboard_plugin_set_info(self,
-								"id", "de.froevel.xfdashboard.hot-corner",
+								"id", PLUGIN_ID,
 								"name", _("Hot corner"),
 								"description", _("Activates xfdashboard when pointer is moved to a configured corner of monitor"),
 								"author", "Stephan Haller <nomad at froevel.de>",

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list