summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8325961)
raw | patch | inline | side by side (parent: 8325961)
author | jucablues <jucablues@users.sourceforge.net> | |
Fri, 18 Jan 2008 00:53:42 +0000 (00:53 +0000) | ||
committer | jucablues <jucablues@users.sourceforge.net> | |
Fri, 18 Jan 2008 00:53:42 +0000 (00:53 +0000) |
share/extensions/Makefile.am | patch | blob | history | |
share/extensions/inkscape_help_askaquestion.inx | [new file with mode: 0644] | patch | blob |
share/extensions/webbrowser_askaquestion.py | [new file with mode: 0644] | patch | blob |
src/menus-skeleton.h | patch | blob | history |
index acf4f2f91597959a6c46f173f28242e453bbd9a7..b728b0e59ab485a91ed59def7b9e7c9240c8fdc0 100644 (file)
text_randomcase.py \
text_replace.py \
txt2svg.pl \
+ webbrowser_askaquestion.py \
webbrowser_commandline.py \
webbrowser_faq.py\
webbrowser_manual.py \
gears.inx\
gimp_xcf.inx \
handles.inx \
+ inkscape_help_askaquestion.inx \
inkscape_help_commandline.inx \
inkscape_help_faq.inx\
inkscape_help_manual.inx \
diff --git a/share/extensions/inkscape_help_askaquestion.inx b/share/extensions/inkscape_help_askaquestion.inx
--- /dev/null
@@ -0,0 +1,12 @@
+<inkscape-extension>
+ <_name>Ask Us a Question</_name>
+ <id>org.inkscape.help.askaquestion</id>
+ <dependency type="executable" location="extensions">webbrowser_askaquestion.py</dependency>
+ <effect needs-document="no">
+ <object-type>all</object-type>
+ <effects-menu hidden="yes"/>
+ </effect>
+ <script>
+ <command reldir="extensions" interpreter="python">webbrowser_askaquestion.py</command>
+ </script>
+</inkscape-extension>
diff --git a/share/extensions/webbrowser_askaquestion.py b/share/extensions/webbrowser_askaquestion.py
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+import webbrowser
+webbrowser.open("http://answers.launchpad.net/inkscape/+addquestion")
diff --git a/src/menus-skeleton.h b/src/menus-skeleton.h
index b96ee230269c550cf7407e9b9ec76ad0f9ad9fb7..ac420970302c53caee67f5a4b5c1a431b5838852 100644 (file)
--- a/src/menus-skeleton.h
+++ b/src/menus-skeleton.h
" <submenu name=\"" N_("_Help") "\">\n"
" <verb verb-id=\"org.inkscape.help.manual\" />\n"
" <verb verb-id=\"org.inkscape.help.keys\" />\n"
+" <verb verb-id=\"org.inkscape.help.askaquestion\" />\n"
" <submenu name=\"" N_("Tutorials") "\">\n"
" <verb verb-id=\"TutorialsBasic\" />\n"
" <verb verb-id=\"TutorialsShapes\" />\n"