Skip to content

Commit

Permalink
nocomments pugin. mate-desktop#206
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored and alexeyneu committed Dec 17, 2018
1 parent 444212e commit 869b606
Show file tree
Hide file tree
Showing 7 changed files with 482 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ Some of the plugins, packaged and installed with pluma include, among others:
* Sort
* Insert Date/Time
* Tag list

* Toggle comments

Other external plugins are also available.


Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ help/Makefile
pixmaps/Makefile
plugins/Makefile
plugins/changecase/Makefile
plugins/nocomments/Makefile
plugins/docinfo/Makefile
plugins/externaltools/data/Makefile
plugins/externaltools/Makefile
Expand Down
2 changes: 2 additions & 0 deletions plugins/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ DIST_SUBDIRS = \
spell \
taglist \
time \
nocomments \
trailsave

SUBDIRS = \
Expand All @@ -25,6 +26,7 @@ SUBDIRS = \
sort \
taglist \
time \
nocomments \
trailsave

if ENABLE_ENCHANT
Expand Down
33 changes: 33 additions & 0 deletions plugins/nocomments/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# nocomments plugin
plugindir = $(PLUMA_PLUGINS_LIBS_DIR)

AM_CPPFLAGS = \
-I$(top_srcdir) \
$(PLUMA_CFLAGS) \
$(WARN_CFLAGS)

plugin_LTLIBRARIES = libnocomments.la

libnocomments_la_SOURCES = \
pluma-nocomments-plugin.h \
pluma-nocomments-plugin.c

libnocomments_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
libnocomments_la_LIBADD = $(PLUMA_LIBS)

uidir = $(PLUMA_PLUGINS_DATA_DIR)/nocomments
ui_DATA =

plugin_in_files = nocomments.plugin.desktop.in

%.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:.plugin.desktop.in=.plugin)

EXTRA_DIST = $(ui_DATA) $(plugin_in_files)

CLEANFILES = $(plugin_DATA)
DISTCLEANFILES = $(plugin_DATA)


-include $(top_srcdir)/git.mk
6 changes: 6 additions & 0 deletions plugins/nocomments/nocomments.plugin.desktop.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Plugin]
Module=nocomments
IAge=2
_Name=No Comments
_Description=on/off code lines by a comment
Website=http://www.mate-desktop.org
Loading

0 comments on commit 869b606

Please sign in to comment.