From e1fbe56adf49a5f4d3a3bb493933d9ae5a5c081f Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 5 Dec 2016 17:36:57 +0300 Subject: plugins: make them actually recognized and loaded by Pluma - use *.plugin extension instead of *.pluma-plugin - use "Plugin" section name instead of "Pluma Plugin" mostly adapted from: https://git.gnome.org/browse/gedit/commit/?id=1d56b827f14096891bb03dbd5e8211fdad1331ad https://git.gnome.org/browse/gedit/commit/?id=7c22769d73f756b9d1388febd147c9d267ed54cb --- plugins/spell/Makefile.am | 6 +++--- plugins/spell/spell.plugin.desktop.in | 9 +++++++++ plugins/spell/spell.pluma-plugin.desktop.in | 9 --------- 3 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 plugins/spell/spell.plugin.desktop.in delete mode 100644 plugins/spell/spell.pluma-plugin.desktop.in (limited to 'plugins/spell') diff --git a/plugins/spell/Makefile.am b/plugins/spell/Makefile.am index 001b25ae..9b15bc36 100644 --- a/plugins/spell/Makefile.am +++ b/plugins/spell/Makefile.am @@ -44,11 +44,11 @@ pluma-spell-marshal.c: pluma-spell-marshal.list $(GLIB_GENMARSHAL) $(AM_V_GEN) echo "#include \"pluma-spell-marshal.h\"" > $@ && \ $(GLIB_GENMARSHAL) $< --body --prefix=pluma_marshal >> $@ -plugin_in_files = spell.pluma-plugin.desktop.in +plugin_in_files = spell.plugin.desktop.in -%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache -plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) +plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) @INTLTOOL_XML_NOMERGE_RULE@ spell_gschema_in = org.mate.pluma.plugins.spell.gschema.xml.in diff --git a/plugins/spell/spell.plugin.desktop.in b/plugins/spell/spell.plugin.desktop.in new file mode 100644 index 00000000..9bf11b72 --- /dev/null +++ b/plugins/spell/spell.plugin.desktop.in @@ -0,0 +1,9 @@ +[Plugin] +Module=spell +IAge=2 +_Name=Spell Checker +_Description=Checks the spelling of the current document. +Icon=tools-check-spelling +Authors=Paolo Maggi +Copyright=Copyright © 2002-2005 Paolo Maggi +Website=http://www.mate-desktop.org diff --git a/plugins/spell/spell.pluma-plugin.desktop.in b/plugins/spell/spell.pluma-plugin.desktop.in deleted file mode 100644 index 970a505f..00000000 --- a/plugins/spell/spell.pluma-plugin.desktop.in +++ /dev/null @@ -1,9 +0,0 @@ -[Pluma Plugin] -Module=spell -IAge=2 -_Name=Spell Checker -_Description=Checks the spelling of the current document. -Icon=tools-check-spelling -Authors=Paolo Maggi -Copyright=Copyright © 2002-2005 Paolo Maggi -Website=http://www.mate-desktop.org -- cgit v1.2.1