diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2008-01-18 00:53:42 +0000 |
|---|---|---|
| committer | jucablues <jucablues@users.sourceforge.net> | 2008-01-18 00:53:42 +0000 |
| commit | 168d3f7585a64acbb3232deb3a1bd1ac2c60b031 (patch) | |
| tree | af0ca8f8a7a0eea40a1a47125414753c3160bf1a /share | |
| parent | Fixed crash in the filter effects dialog on loading files with the unimplemen... (diff) | |
| download | inkscape-168d3f7585a64acbb3232deb3a1bd1ac2c60b031.tar.gz inkscape-168d3f7585a64acbb3232deb3a1bd1ac2c60b031.zip | |
added "Ask Us a Question" to the Help menu linking to http://answers.launchpad.net/inkscape/+addquestion
(bzr r4546)
Diffstat (limited to 'share')
| -rw-r--r-- | share/extensions/Makefile.am | 2 | ||||
| -rw-r--r-- | share/extensions/inkscape_help_askaquestion.inx | 12 | ||||
| -rw-r--r-- | share/extensions/webbrowser_askaquestion.py | 3 |
3 files changed, 17 insertions, 0 deletions
diff --git a/share/extensions/Makefile.am b/share/extensions/Makefile.am index acf4f2f91..b728b0e59 100644 --- a/share/extensions/Makefile.am +++ b/share/extensions/Makefile.am @@ -96,6 +96,7 @@ extensions = \ text_randomcase.py \ text_replace.py \ txt2svg.pl \ + webbrowser_askaquestion.py \ webbrowser_commandline.py \ webbrowser_faq.py\ webbrowser_manual.py \ @@ -154,6 +155,7 @@ modules = \ 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 new file mode 100644 index 000000000..df1194dcc --- /dev/null +++ b/share/extensions/inkscape_help_askaquestion.inx @@ -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 new file mode 100644 index 000000000..7af6b125f --- /dev/null +++ b/share/extensions/webbrowser_askaquestion.py @@ -0,0 +1,3 @@ +#!/usr/bin/env python +import webbrowser +webbrowser.open("http://answers.launchpad.net/inkscape/+addquestion") |
