summaryrefslogtreecommitdiff
path: root/plugins/changecase
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-12-05 17:36:57 +0300
committermonsta <[email protected]>2016-12-05 17:36:57 +0300
commite1fbe56adf49a5f4d3a3bb493933d9ae5a5c081f (patch)
treedb922a4aa29bfabf5572e44e334e23c19af3641c /plugins/changecase
parentce25be232024458af2a28f4cf145d8cd22f2db29 (diff)
downloadpluma-e1fbe56adf49a5f4d3a3bb493933d9ae5a5c081f.tar.bz2
pluma-e1fbe56adf49a5f4d3a3bb493933d9ae5a5c081f.tar.xz
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
Diffstat (limited to 'plugins/changecase')
-rw-r--r--plugins/changecase/Makefile.am6
-rw-r--r--plugins/changecase/changecase.plugin.desktop.in (renamed from plugins/changecase/changecase.pluma-plugin.desktop.in)2
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/changecase/Makefile.am b/plugins/changecase/Makefile.am
index 6b3a1cdd..5cb37347 100644
--- a/plugins/changecase/Makefile.am
+++ b/plugins/changecase/Makefile.am
@@ -19,11 +19,11 @@ libchangecase_la_LIBADD = $(PLUMA_LIBS)
uidir = $(PLUMA_PLUGINS_DATA_DIR)/changecase
ui_DATA =
-plugin_in_files = changecase.pluma-plugin.desktop.in
+plugin_in_files = changecase.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)
EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
diff --git a/plugins/changecase/changecase.pluma-plugin.desktop.in b/plugins/changecase/changecase.plugin.desktop.in
index d8383125..d1539d99 100644
--- a/plugins/changecase/changecase.pluma-plugin.desktop.in
+++ b/plugins/changecase/changecase.plugin.desktop.in
@@ -1,4 +1,4 @@
-[Pluma Plugin]
+[Plugin]
Module=changecase
IAge=2
_Name=Change Case