Code

more help commands
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 9 Oct 2006 23:54:04 +0000 (23:54 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 9 Oct 2006 23:54:04 +0000 (23:54 +0000)
share/extensions/Makefile.am
share/extensions/inkscape_help_commandline.inx [new file with mode: 0644]
share/extensions/inkscape_help_faq.inx [new file with mode: 0644]
share/extensions/webbrowser_commandline.py [new file with mode: 0755]
share/extensions/webbrowser_faq.py [new file with mode: 0755]

index 27deeffb2383e338f25bd771fc2a936e80815ce3..33afbd014d738bdc17ee160b8bc30236657bdc19 100644 (file)
@@ -61,7 +61,9 @@ extensions = \
        webbrowser_manual.py \
        webbrowser_relnotes.py \
        webbrowser_reportabug.py \
-       webbrowser_svgspec.py
+       webbrowser_svgspec.py \
+       webbrowser_commandline.py \
+       webbrowser_faq.py
 
 otherstuff = \
     aisvg.xslt
@@ -120,7 +122,9 @@ modules = \
        inkscape_help_manual.inx \
        inkscape_help_relnotes.inx \
        inkscape_help_reportabug.inx \
-       inkscape_help_svgspec.inx
+       inkscape_help_svgspec.inx \
+       inkscape_help_commandline.inx \
+       inkscape_help_faq.inx
 
 
 extension_SCRIPTS = \
diff --git a/share/extensions/inkscape_help_commandline.inx b/share/extensions/inkscape_help_commandline.inx
new file mode 100644 (file)
index 0000000..9fe1171
--- /dev/null
@@ -0,0 +1,12 @@
+<inkscape-extension>
+    <_name>Command Line Options</_name>
+    <id>org.inkscape.help.commandline</id>
+       <dependency type="executable" location="extensions">webbrowser_commandline.py</dependency>
+    <effect>
+               <object-type>all</object-type>
+               <effects-menu hidden="yes"/>
+    </effect>
+    <script>
+        <command reldir="extensions" interpreter="python">webbrowser_commandline.py</command>
+    </script>
+</inkscape-extension>
diff --git a/share/extensions/inkscape_help_faq.inx b/share/extensions/inkscape_help_faq.inx
new file mode 100644 (file)
index 0000000..58491b4
--- /dev/null
@@ -0,0 +1,12 @@
+<inkscape-extension>
+    <_name>FAQ</_name>
+    <id>org.inkscape.help.faq</id>
+       <dependency type="executable" location="extensions">webbrowser_faq.py</dependency>
+    <effect>
+               <object-type>all</object-type>
+               <effects-menu hidden="yes"/>
+    </effect>
+    <script>
+        <command reldir="extensions" interpreter="python">webbrowser_faq.py</command>
+    </script>
+</inkscape-extension>
diff --git a/share/extensions/webbrowser_commandline.py b/share/extensions/webbrowser_commandline.py
new file mode 100755 (executable)
index 0000000..5f91e43
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/env python 
+import webbrowser
+webbrowser.open("http://inkscape.org/doc/inkscape-man.html")
diff --git a/share/extensions/webbrowser_faq.py b/share/extensions/webbrowser_faq.py
new file mode 100755 (executable)
index 0000000..fb5967c
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/env python 
+import webbrowser
+webbrowser.open("http://wiki.inkscape.org/wiki/index.php/FAQ")