Code

add webbrowser extensions
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 9 Oct 2006 23:14:53 +0000 (23:14 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 9 Oct 2006 23:14:53 +0000 (23:14 +0000)
share/extensions/Makefile.am
share/extensions/inkscape_help_manual.inx [new file with mode: 0644]
share/extensions/inkscape_help_relnotes.inx [new file with mode: 0644]
share/extensions/inkscape_help_reportabug.inx [new file with mode: 0644]
share/extensions/inkscape_help_svgspec.inx [new file with mode: 0644]
share/extensions/webbrowser_manual.py [new file with mode: 0755]
share/extensions/webbrowser_relnotes.py [new file with mode: 0755]
share/extensions/webbrowser_reportabug.py [new file with mode: 0755]
share/extensions/webbrowser_svgspec.py [new file with mode: 0755]

index 87e4e5da3c9ee753fc941081378434f0a8be5508..27deeffb2383e338f25bd771fc2a936e80815ce3 100644 (file)
@@ -57,7 +57,11 @@ extensions = \
        gimp_xcf.py \
        eqtexsvg.py \
        markers_strokepaint.py \
-       lorem_ipsum.py
+       lorem_ipsum.py \
+       webbrowser_manual.py \
+       webbrowser_relnotes.py \
+       webbrowser_reportabug.py \
+       webbrowser_svgspec.py
 
 otherstuff = \
     aisvg.xslt
@@ -108,11 +112,15 @@ modules = \
        flatten.inx \
        measure.inx \
        gimp_xcf.inx \
-        randompnt.inx \
-        randompos.inx \
+       randompnt.inx \
+       randompos.inx \
        eqtexsvg.inx \
        markers_strokepaint.inx \
-       lorem_ipsum.inx
+       lorem_ipsum.inx \
+       inkscape_help_manual.inx \
+       inkscape_help_relnotes.inx \
+       inkscape_help_reportabug.inx \
+       inkscape_help_svgspec.inx
 
 
 extension_SCRIPTS = \
diff --git a/share/extensions/inkscape_help_manual.inx b/share/extensions/inkscape_help_manual.inx
new file mode 100644 (file)
index 0000000..5fd0e91
--- /dev/null
@@ -0,0 +1,12 @@
+<inkscape-extension>
+    <_name>Inkscape Manual</_name>
+    <id>org.inkscape.help.manual</id>
+       <dependency type="executable" location="extensions">webbrowser_manual.py</dependency>
+    <effect>
+               <object-type>all</object-type>
+               <effects-menu hidden="yes"/>
+    </effect>
+    <script>
+        <command reldir="extensions" interpreter="python">webbrowser_manual.py</command>
+    </script>
+</inkscape-extension>
diff --git a/share/extensions/inkscape_help_relnotes.inx b/share/extensions/inkscape_help_relnotes.inx
new file mode 100644 (file)
index 0000000..8fc3ff1
--- /dev/null
@@ -0,0 +1,12 @@
+<inkscape-extension>
+    <_name>New in This Version</_name>
+    <id>org.inkscape.help.relnotes</id>
+       <dependency type="executable" location="extensions">webbrowser_relnotes.py</dependency>
+    <effect>
+               <object-type>all</object-type>
+               <effects-menu hidden="yes"/>
+    </effect>
+    <script>
+        <command reldir="extensions" interpreter="python">webbrowser_relnotes.py</command>
+    </script>
+</inkscape-extension>
diff --git a/share/extensions/inkscape_help_reportabug.inx b/share/extensions/inkscape_help_reportabug.inx
new file mode 100644 (file)
index 0000000..47cc19c
--- /dev/null
@@ -0,0 +1,12 @@
+<inkscape-extension>
+    <_name>Report a Bug</_name>
+    <id>org.inkscape.help.reportabug</id>
+       <dependency type="executable" location="extensions">webbrowser_reportabug.py</dependency>
+    <effect>
+               <object-type>all</object-type>
+               <effects-menu hidden="yes"/>
+    </effect>
+    <script>
+        <command reldir="extensions" interpreter="python">webbrowser_reportabug.py</command>
+    </script>
+</inkscape-extension>
diff --git a/share/extensions/inkscape_help_svgspec.inx b/share/extensions/inkscape_help_svgspec.inx
new file mode 100644 (file)
index 0000000..1da3288
--- /dev/null
@@ -0,0 +1,12 @@
+<inkscape-extension>
+    <_name>SVG 1.1 Specification</_name>
+    <id>org.inkscape.help.svgspec</id>
+       <dependency type="executable" location="extensions">webbrowser_svgspec.py</dependency>
+    <effect>
+               <object-type>all</object-type>
+               <effects-menu hidden="yes"/>
+    </effect>
+    <script>
+        <command reldir="extensions" interpreter="python">webbrowser_svgspec.py</command>
+    </script>
+</inkscape-extension>
diff --git a/share/extensions/webbrowser_manual.py b/share/extensions/webbrowser_manual.py
new file mode 100755 (executable)
index 0000000..daa2e14
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/env python 
+import webbrowser
+webbrowser.open("http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.php")
diff --git a/share/extensions/webbrowser_relnotes.py b/share/extensions/webbrowser_relnotes.py
new file mode 100755 (executable)
index 0000000..d630251
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/env python 
+import webbrowser
+webbrowser.open("http://wiki.inkscape.org/wiki/index.php/ReleaseNotes045")
diff --git a/share/extensions/webbrowser_reportabug.py b/share/extensions/webbrowser_reportabug.py
new file mode 100755 (executable)
index 0000000..cec55a4
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/env python 
+import webbrowser
+webbrowser.open("http://inkscape.org/report_bugs.php")
diff --git a/share/extensions/webbrowser_svgspec.py b/share/extensions/webbrowser_svgspec.py
new file mode 100755 (executable)
index 0000000..9ea131e
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/env python 
+import webbrowser
+webbrowser.open("http://www.w3.org/TR/SVG11/")