[anjuta] language-support-js: Load/Unload the plugin properly when a .js file is open
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] language-support-js: Load/Unload the plugin properly when a .js file is open
- Date: Thu, 6 May 2010 11:35:18 +0000 (UTC)
commit 430b3107e1b543da35bbfcc935ed50df513b52ca
Author: Johannes Schmid <jhs gnome org>
Date: Thu May 6 13:34:45 2010 +0200
language-support-js: Load/Unload the plugin properly when a .js file is open
This fixes bgo#617734 - Aborts when working on project with JavaScript files
plugins/language-support-js/Makefile.am | 5 +++--
.../js-support-plugin.plugin.in | 11 +++++++++++
.../js_support_plugin.plugin.in | 7 -------
3 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/plugins/language-support-js/Makefile.am b/plugins/language-support-js/Makefile.am
index 5f04725..0d62c03 100644
--- a/plugins/language-support-js/Makefile.am
+++ b/plugins/language-support-js/Makefile.am
@@ -13,7 +13,7 @@ js_support_plugin_pixmapsdir = $(anjuta_image_dir)
js_support_plugin_pixmaps_DATA = js_support_plugin.png
# Plugin description file
-plugin_in_files = js_support_plugin.plugin.in
+plugin_in_files = js-support-plugin.plugin.in
%.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
js_support_plugin_plugindir = $(anjuta_plugin_dir)
@@ -41,7 +41,8 @@ AM_CPPFLAGS = \
$(LIBANJUTA_CFLAGS) \
-DPACKAGE_SRC_DIR=\"$(srcdir)\" \
-DGIR_PATH=\"$(girdir)\" \
- -DGJS_PATH=\"$(gjsdir)\"
+ -DGJS_PATH=\"$(gjsdir)\" \
+ -DG_LOG_DOMAIN=\"language-support-js\"
# Where to install the plugin
plugindir = $(anjuta_plugin_dir)
diff --git a/plugins/language-support-js/js-support-plugin.plugin.in b/plugins/language-support-js/js-support-plugin.plugin.in
new file mode 100644
index 0000000..7cbc5db
--- /dev/null
+++ b/plugins/language-support-js/js-support-plugin.plugin.in
@@ -0,0 +1,11 @@
+[Anjuta Plugin]
+Location=js-support-plugin:JSLang
+Icon=js_support_plugin.png
+_Name=JS Support Plugin
+_Description=JavaScript Support Plugin
+Interfaces=IAnjutaLanguageSupport
+UserActivatable=no
+
+[Language Support]
+Languages=JavaScript
+MimeTypes=application/javascript
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]