[anjuta] Add a sample custom profile keeping only the editor



commit bbc3ece17de1739387062b01941bb0ed4de1df9f
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Fri May 10 19:41:25 2013 +0200

    Add a sample custom profile keeping only the editor

 data/Makefile.am                        |    3 ++-
 data/editor.profile                     |   22 ++++++++++++++++++++++
 plugins/sourceview/sourceview.plugin.in |    3 +++
 3 files changed, 27 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 2e6d7e9..d6c86db 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -11,6 +11,7 @@ anjuta_profiledir = $(anjuta_data_dir)/profiles
 
 dist_anjuta_data_DATA = welcome.txt
 
-dist_anjuta_profile_DATA = default.profile
+dist_anjuta_profile_DATA = default.profile \
+                           editor.profile
 
 -include $(top_srcdir)/git.mk
diff --git a/data/editor.profile b/data/editor.profile
new file mode 100644
index 0000000..e338f51
--- /dev/null
+++ b/data/editor.profile
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<anjuta>
+    <plugin name="File Loader"
+            url="http://anjuta.org/plugins/";
+            mandatory="yes">
+               <require group="Anjuta Plugin"
+                 attribute="Interfaces"
+                 value="IAnjutaFileLoader"/>
+    </plugin>
+    <plugin name="Document Manager"
+            url="http://anjuta.org/plugins/";
+            mandatory="yes">
+               <require group="Anjuta Plugin"
+                 attribute="Interfaces"
+                 value="IAnjutaDocumentManager"/>
+    </plugin>
+    <filter>
+               <require group="Anjuta Profile"
+                 attribute="Editor"
+                 value="yes"/>
+    </filter>
+</anjuta>
diff --git a/plugins/sourceview/sourceview.plugin.in b/plugins/sourceview/sourceview.plugin.in
index 8303956..6370509 100644
--- a/plugins/sourceview/sourceview.plugin.in
+++ b/plugins/sourceview/sourceview.plugin.in
@@ -5,3 +5,6 @@ _Name=GtkSourceView editor
 _Description=The default editor based on GtkSourceView
 Interfaces=IAnjutaEditorFactory
 UserActivatable=no
+
+[Anjuta Profile]
+Editor=yes


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]