This is an automated email from the git hooks/post-receive script. nomad pushed a commit to branch master in repository apps/xfdashboard.
commit 69890b54838f782ee9c2d2307ae2979e40b10a4d Author: Stephan Haller <no...@froevel.de> Date: Tue Feb 9 07:46:22 2016 +0100 Use a macro for plugin ID in Gnome-Shell search provider plugin to ensure to use always the same ID at all places --- plugins/gnome-shell-search-provider/gnome-shell-search-provider.c | 2 +- plugins/gnome-shell-search-provider/gnome-shell-search-provider.h | 2 +- plugins/gnome-shell-search-provider/plugin.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/gnome-shell-search-provider/gnome-shell-search-provider.c b/plugins/gnome-shell-search-provider/gnome-shell-search-provider.c index 12a2d8b..ec0a303 100644 --- a/plugins/gnome-shell-search-provider/gnome-shell-search-provider.c +++ b/plugins/gnome-shell-search-provider/gnome-shell-search-provider.c @@ -89,7 +89,7 @@ static void _xfdashboard_gnome_shell_search_provider_initialize(XfdashboardSearc const gchar *providerID; providerID=xfdashboard_search_provider_get_id(inProvider); - priv->gnomeShellID=g_strdup(providerID+strlen(XFDASHBOARD_GNOME_SHELL_SEARCH_PROVIDER_PREFIX)); + priv->gnomeShellID=g_strdup(providerID+strlen(XFDASHBOARD_GNOME_SHELL_SEARCH_PROVIDER_PREFIX)+1); } g_debug("Initializing search provider '%s' of type %s for Gnome-Shell search provider ID '%s'", xfdashboard_search_provider_get_id(inProvider), diff --git a/plugins/gnome-shell-search-provider/gnome-shell-search-provider.h b/plugins/gnome-shell-search-provider/gnome-shell-search-provider.h index cdaec0b..3818171 100644 --- a/plugins/gnome-shell-search-provider/gnome-shell-search-provider.h +++ b/plugins/gnome-shell-search-provider/gnome-shell-search-provider.h @@ -58,7 +58,7 @@ struct _XfdashboardGnomeShellSearchProviderClass }; /* Public API */ -#define XFDASHBOARD_GNOME_SHELL_SEARCH_PROVIDER_PREFIX "de.froevel.xfdashboard.gnome-shell-search-provider." +#define XFDASHBOARD_GNOME_SHELL_SEARCH_PROVIDER_PREFIX "de.froevel.xfdashboard.gnome-shell-search-provider" GType xfdashboard_gnome_shell_search_provider_get_type(void) G_GNUC_CONST; void xfdashboard_gnome_shell_search_provider_type_register(GTypeModule *inModule); diff --git a/plugins/gnome-shell-search-provider/plugin.c b/plugins/gnome-shell-search-provider/plugin.c index f7d0cf4..77f81a0 100644 --- a/plugins/gnome-shell-search-provider/plugin.c +++ b/plugins/gnome-shell-search-provider/plugin.c @@ -113,7 +113,7 @@ static gboolean plugin_enable(XfdashboardPlugin *self, gpointer inUserData) /* Build unique provider name for Gnome-Shell search provider * using this plugin. */ - providerName=g_strdup_printf("%s%s", XFDASHBOARD_GNOME_SHELL_SEARCH_PROVIDER_PREFIX, gnomeShellSearchProviderName); + providerName=g_strdup_printf("%s.%s", XFDASHBOARD_GNOME_SHELL_SEARCH_PROVIDER_PREFIX, gnomeShellSearchProviderName); g_debug("Register gnome shell search provider '%s' from file %s", providerName, filename); /* Register search provider */ @@ -232,7 +232,7 @@ G_MODULE_EXPORT void plugin_init(XfdashboardPlugin *self) /* Set plugin info */ xfdashboard_plugin_set_info(self, - "id", "gnome-shell-search-provider", + "id", XFDASHBOARD_GNOME_SHELL_SEARCH_PROVIDER_PREFIX, "name", _("Gnome-Shell search provider"), "description", _("Uses Gnome-Shell search providers as source for searches"), "author", "Stephan Haller <no...@froevel.de>", -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits