SF.net SVN: geany-plugins:[699] trunk/geany-plugins

frlan at users.sourceforge.net frlan at xxxxx
Wed Jun 10 23:23:07 UTC 2009


Revision: 699
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=699&view=rev
Author:   frlan
Date:     2009-06-10 23:23:06 +0000 (Wed, 10 Jun 2009)

Log Message:
-----------
Merge GeanySendMail into geany-plugins project

Modified Paths:
--------------
    trunk/geany-plugins/po/POTFILES.in
    trunk/geany-plugins/po/de.po
    trunk/geany-plugins/po/geany-plugins.pot
    trunk/geany-plugins/wscript

Added Paths:
-----------
    trunk/geany-plugins/geanysendmail/
    trunk/geany-plugins/geanysendmail/AUTHORS
    trunk/geany-plugins/geanysendmail/COPYING
    trunk/geany-plugins/geanysendmail/ChangeLog
    trunk/geany-plugins/geanysendmail/INSTALL
    trunk/geany-plugins/geanysendmail/NEWS
    trunk/geany-plugins/geanysendmail/README
    trunk/geany-plugins/geanysendmail/TODO
    trunk/geany-plugins/geanysendmail/src/
    trunk/geany-plugins/geanysendmail/src/geanysendmail.c
    trunk/geany-plugins/geanysendmail/src/icon.h

Copied: trunk/geany-plugins/geanysendmail/AUTHORS (from rev 698, trunk/geanysendmail/AUTHORS)
===================================================================
--- trunk/geany-plugins/geanysendmail/AUTHORS	                        (rev 0)
+++ trunk/geany-plugins/geanysendmail/AUTHORS	2009-06-10 23:23:06 UTC (rev 699)
@@ -0,0 +1 @@
+Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>

Copied: trunk/geany-plugins/geanysendmail/COPYING (from rev 698, trunk/geanysendmail/COPYING)
===================================================================
--- trunk/geany-plugins/geanysendmail/COPYING	                        (rev 0)
+++ trunk/geany-plugins/geanysendmail/COPYING	2009-06-10 23:23:06 UTC (rev 699)
@@ -0,0 +1,340 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+	51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	    How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year  name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.

Copied: trunk/geany-plugins/geanysendmail/ChangeLog (from rev 698, trunk/geanysendmail/ChangeLog)
===================================================================
--- trunk/geany-plugins/geanysendmail/ChangeLog	                        (rev 0)
+++ trunk/geany-plugins/geanysendmail/ChangeLog	2009-06-10 23:23:06 UTC (rev 699)
@@ -0,0 +1,103 @@
+2009-05-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Make usage of Geany's ui_widget_set_tooltip_text() function.
+
+
+2009-04-24  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Applied a patch by Timothy Boronczyk which allows aborting when inserting
+   recipient's email address.
+
+
+2008-10-14  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Applied a patch by Nick to make use of Geany Plugin API r100 and the
+   add_document_sensitive() function from plugin API.
+
+
+2008-10-13  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Applied a patch by Nick to make use of Geany Plugin API r99 and the
+   add item to toolbar function.
+
+
+2008-10-03  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Implement a %b placeholder for adding basename of file to mailer command.
+   Thanks to Timothy Boronczyk for idea.
+
+
+2008-09-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Make configuration example copyable.
+
+
+2008-09-25  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Added a patch by Timothy Boronczyk to support creating a mail with
+   recipients email. Thanks for it.
+
+
+2008-09-01  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Build environment: Update of Makefiles to include icon.h into source
+   package
+ * Build environment: Added makefile for Windows (needs to be tested)
+ * configure.in: Update of version string
+
+
+2008-07-11  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Make plugin compile with Geany svn r2767.
+
+
+2008-06-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Update of used plugin API to v71.
+
+
+2008-06-16  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Make plugin also work together with GTK-2.8. Thanks to Nick for
+   providing patch.
+
+
+2008-06-14  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Update of plugin API
+
+
+2008-05-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Ported build system from spellcheck plugin. Thanks for it.
+ * Updated Geany plugin API.
+ * Activating of i18n support and adding a first German translation.
+
+
+2008-05-13  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Restart using ChangeLog.
+
+
+2007-11-29  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * geanysendmail.c: Applied a patch from Enrico to improve code;
+   Version 0.2b
+
+
+2007-11-23  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * geanysendmail.c, TODO: %f added Filename placeholder
+   Fixes a few segfaults and momory problems
+
+
+2007-11-23  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * geanysendmail.c: Added support configuration dialog called by
+   plugin manager and configuration file support to store mailer.
+ * TODO: Added list to keep in mind what is still missing
+
+
+2007-11-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * *: Initial commit

Copied: trunk/geany-plugins/geanysendmail/INSTALL (from rev 698, trunk/geanysendmail/INSTALL)
===================================================================
--- trunk/geany-plugins/geanysendmail/INSTALL	                        (rev 0)
+++ trunk/geany-plugins/geanysendmail/INSTALL	2009-06-10 23:23:06 UTC (rev 699)
@@ -0,0 +1,16 @@
+These installation instructions are written for a Linux system.
+
+At the time of this writing, building the plugin requires a recent SVN checkout
+of the Geany sources (API version 104, Geany v0.16svn+).
+
+To compile and install just follow the typical three steps:
+
+ % configure
+ % make
+ % make install
+
+The plugin will be installed into your $prefix/lib/geany of your Geany
+installation. This should be in most cases /usr/ or /usr/local. So you will
+need in most cases to run make install under root. If you don't want to
+install it global, but on your own home dir, just --prefix option for configure.
+Please check README for more detailed information.

Copied: trunk/geany-plugins/geanysendmail/NEWS (from rev 698, trunk/geanysendmail/NEWS)
===================================================================
--- trunk/geany-plugins/geanysendmail/NEWS	                        (rev 0)
+++ trunk/geany-plugins/geanysendmail/NEWS	2009-06-10 23:23:06 UTC (rev 699)
@@ -0,0 +1,17 @@
+GeanySendMail 0.4.2 (26. May 2009=:
+    * Added cancel button to recipient's address dialog
+	* Some minor code cleanup
+
+
+GeanySendMail 0.4.1 (16. February 2009):
+	* Update to Geany pugin API v116
+	* Minor improvments on wording and cleanup of code
+
+
+GeanySendMail 0.4 (22. October 2008):
+
+	* Adding support for creating a mail with recipients email
+	  (Basic Patch by Timothy Boronczyk)
+	* Added placeholder for file's basename (Idea by Timothy Boronczyk)
+	* Added build support for Windows (not very well tested)
+	* Updates at translation, documentation and buildsystem

Copied: trunk/geany-plugins/geanysendmail/README (from rev 698, trunk/geanysendmail/README)
===================================================================
--- trunk/geany-plugins/geanysendmail/README	                        (rev 0)
+++ trunk/geany-plugins/geanysendmail/README	2009-06-10 23:23:06 UTC (rev 699)
@@ -0,0 +1,134 @@
+GeanySendMail Plugin
+(0.4.2)
+
+
+About
+------
+
+GeanySendMail is a little plugin to send a document as attachment
+using the preferred mail client from inside Geany. It is similar to
+the envelope symbol of most office tools and requires a mail client
+that is supporting remote calls.
+
+
+Requirements
+------------
+
+For compiling the plugin yourself, you will need the GTK (>= 2.6.0)
+libraries and header files. You will also need its dependency
+libraries and header files, such as Pango, Glib and ATK. All these
+files are available at http://www.gtk.org.
+
+And obviously, you will need to have Geany installed. If you have Geany
+installed from the sources, you should be ready to go. If you used a
+prepared package e.g. from your distribution you probably need to
+install an additional package, this might be called geany-dev or
+geany-devel. Please note that in order to compile and use this plugin,
+you need Geany 0.16 or later (Geany Plugin API v116 or higher).
+
+Furthermore you need, of course, a C compiler and the Make tool. The
+GNU versions of these tools are recommended.
+
+
+Installation
+------------
+
+Compiling and installing the code is done by the following three
+commands:
+
+$ ./configure
+$ make
+$ make install
+
+For more configuration details run
+$ ./configure --help
+
+If there are any errors during compilation, check your build environment
+and try to find the error, otherwise contact one of the authors. (See below)
+
+
+Usage
+-----
+
+After installed successfully, load the plugin in Geany's plugin manager
+and a new menu item in the Tools menu will appear. Before you can start
+you need to configure your mail client. This can be done in the
+configuration dialog (details on it later). You can also assign a
+keyboard shortcut in Geany's preferences dialog to send your document.
+
+
+Configuration
+-------------
+
+In the configuration dialog you can set up a command that is called by the
+plugin to communicate with your mail client. Depending on what's
+your favorite mailer, the command will differ. A number of placeholders
+are available for doing this:
+
+* %s: Will be replaced by the complete path of the file that should be send.
+* %r: Will be replaced by one or more recipient's email address that can
+be entered inside a separate dialog. (Please remember during input,
+what your mail client is expecting here)
+* %b: Will be replace by the file name. For a file /tmp/foo.baa it will
+be replaced by foo.baa.
+
+Depending on how you like to use, you can combine all of the placeholders
+to build up your command. It is possible to use one placeholder
+several times. Examples could be:
+	sylpheed --attach "%f" --compose "%r"
+	mutt -s "Sending '%b'" -a "%f" "%r"
+	"C:\Program Files\Mozilla Thunderbird\thunderbird.exe" \
+		-compose to="%r",subject="%b",attachment="%f"
+
+
+Development
+-----------
+
+You can checkout the current source code from the Subversion repository at
+Sourceforge.net. Get the code from:
+
+svn checkout
+http://geany-plugins.svn.sourceforge.net/svnroot/geany-plugins/trunk/geanysendmail
+
+If you want to create a patch, please respect the license of GeanySendMail
+as well as intellectual property of third. Patches that should be
+included to the default distribution must be licensed under the same conditions
+as GeanySendMail by the copyright owner.
+
+
+Known issues
+-----------
+
+During installation it might happen, that the plugin wants to install the
+files for localization to /usr/local as a prefix. This can be avoided by
+adding --prefix="/new/path" when running configure/autogen.sh.
+
+In case you are working with white spaces either in your path names,
+file names or at mail addresses (e.g. for separating two addresses) you
+should keep care of proper quoting since %s, %b and %r will be replaced
+without any quotes.
+
+For more recent information all reported issues will be tracked at
+http://sourceforge.net/tracker/?group_id=222729
+
+
+License
+-------
+
+GeanySendMail and all its parts is distributed under the terms of the
+GNU General Public License as published by the Free Software
+Foundation; either version 2 of the License, or (at your option) any
+later version. A copy of this license can be found in the file COPYING
+included with the source code of this program. If not, you will be
+able to get a copy by contacting the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+Bugs, questions, bugs, homepage
+---------------------------------
+
+If you found any bugs or want to provide a patch, please contact Frank
+Lanitz (frank(at)geany(dot)org). Please also do so, if you got any
+questions and visiting http://frank.uvena.de/en/Geany/geanysendmail
+didn't help you to figure out the answer. Visiting the website is also
+a good start if you want to check for any update on this plugin.

Copied: trunk/geany-plugins/geanysendmail/TODO (from rev 698, trunk/geanysendmail/TODO)
===================================================================
--- trunk/geany-plugins/geanysendmail/TODO	                        (rev 0)
+++ trunk/geany-plugins/geanysendmail/TODO	2009-06-10 23:23:06 UTC (rev 699)
@@ -0,0 +1,6 @@
+TODO
+----
+
+ * Buildsupport for Win32 (Needs some testing)
+ * Support for Inline-mailing (embedded text inside mail)
+ * Send mail directly (only UNIX like systems)

Copied: trunk/geany-plugins/geanysendmail/src/geanysendmail.c (from rev 698, trunk/geanysendmail/src/geanysendmail.c)
===================================================================
--- trunk/geany-plugins/geanysendmail/src/geanysendmail.c	                        (rev 0)
+++ trunk/geany-plugins/geanysendmail/src/geanysendmail.c	2009-06-10 23:23:06 UTC (rev 699)
@@ -0,0 +1,434 @@
+/*
+ *      geanysendmail.c
+ *
+ *      Copyright 2007-2009 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+ *      Copyright 2007 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+ *      Copyright 2007, 2008 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+ *      Copyright 2008, 2009 Timothy Boronczyk <tboronczyk(at)gmail(dot)com>
+ *
+ *      This program is free software; you can redistribute it and/or modify
+ *      it under the terms of the GNU General Public License as published by
+ *      the Free Software Foundation; either version 2 of the License, or
+ *      (at your option) any later version.
+ *
+ *      This program is distributed in the hope that it will be useful,
+ *      but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *      GNU General Public License for more details.
+ *
+ *      You should have received a copy of the GNU General Public License
+ *      along with this program; if not, write to the Free Software
+ *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+/* A little plugin to send a document as attachment using the preferred mail client */
+
+#include "geany.h"
+#include "ui_utils.h"
+#include "support.h"
+#include "plugindata.h"
+#include "document.h"
+#include "filetypes.h"
+#include "utils.h"
+#include "keybindings.h"
+#include "icon.h"
+#include "geanyfunctions.h"
+
+#ifdef HAVE_LOCALE_H
+# include <locale.h>
+#endif
+
+GeanyPlugin		*geany_plugin;
+GeanyData		*geany_data;
+GeanyFunctions	*geany_functions;
+
+PLUGIN_VERSION_CHECK(116)
+
+PLUGIN_SET_INFO(_("GeanySendMail"), _("A little plugin to send the current \
+file as attachment by user's favorite mailer"), "0.4.2", "Frank Lanitz <frank at frank.uvena.de>")
+
+/* Keybinding(s) */
+enum
+{
+	SENDMAIL_KB,
+	COUNT_KB
+};
+
+PLUGIN_KEY_GROUP(sendmail, COUNT_KB)
+
+static gchar *config_file = NULL;
+static gchar *mailer = NULL;
+static gchar *address = NULL;
+gboolean icon_in_toolbar = FALSE;
+gboolean use_address_dialog = FALSE;
+/* Needed global to remove from toolbar again */
+GtkWidget *mailbutton = NULL;
+static GtkWidget *main_menu_item = NULL;
+
+/* Callback for sending file as attachment */
+static void
+send_as_attachment(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointer gdata)
+{
+	GeanyDocument *doc;
+	gchar	*locale_filename = NULL;
+	gchar	*command = NULL;
+	GError	*error = NULL;
+	GString	*cmd_str = NULL;
+	GtkWidget	*dialog = NULL;
+	GtkWidget 	*label = NULL;
+	GtkWidget 	*entry = NULL;
+	GtkWidget	*vbox = NULL;
+	GKeyFile 	*config = g_key_file_new();
+	gchar 		*config_dir = g_path_get_dirname(config_file);
+	gchar 		*data;
+
+	doc = document_get_current();
+
+	if (doc->file_name == NULL)
+	{
+		dialogs_show_save_as();
+	}
+	else
+	{
+		document_save_file(doc, FALSE);
+	}
+
+    if (doc->file_name != NULL)
+	{
+		if (mailer)
+		{
+			locale_filename = utils_get_locale_from_utf8(doc->file_name);
+			cmd_str = g_string_new(mailer);
+
+			if ((use_address_dialog == TRUE) && (g_strrstr(mailer, "%r") != NULL))
+			{
+				gint tmp;
+
+				dialog = gtk_dialog_new_with_buttons(_("Recipient's Address"),
+										GTK_WINDOW(geany->main_widgets->window),
+										GTK_DIALOG_DESTROY_WITH_PARENT,
+										GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+										GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+										NULL);
+				gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT);
+ 				vbox = ui_dialog_vbox_new(GTK_DIALOG(dialog));
+ 				gtk_widget_set_name(dialog, "GeanyDialog");
+ 				gtk_box_set_spacing(GTK_BOX(vbox), 10);
+
+ 				label = gtk_label_new(_("Enter the recipient's e-mail address:"));
+ 				gtk_widget_show(label);
+ 				gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
+ 				entry = gtk_entry_new();
+ 				gtk_widget_show(entry);
+ 				if (address != NULL)
+ 					gtk_entry_set_text(GTK_ENTRY(entry), address);
+
+ 				gtk_container_add(GTK_CONTAINER(vbox), label);
+ 				gtk_container_add(GTK_CONTAINER(vbox), entry);
+ 				gtk_widget_show(vbox);
+
+ 				tmp = gtk_dialog_run(GTK_DIALOG(dialog));
+
+				if (tmp != GTK_RESPONSE_ACCEPT)
+				{
+					gtk_widget_destroy(dialog);
+					return;
+				}
+				else
+				{
+					g_key_file_load_from_file(config, config_file, G_KEY_FILE_NONE, NULL);
+
+					g_free(address);
+ 					address = g_strdup(gtk_entry_get_text(GTK_ENTRY(entry)));
+
+ 					g_key_file_set_string(config, "tools", "address", address);
+ 				}
+
+				if (! g_file_test(config_dir, G_FILE_TEST_IS_DIR) &&
+				      utils_mkdir(config_dir, TRUE) != 0)
+ 				{
+ 					dialogs_show_msgbox(GTK_MESSAGE_ERROR,
+ 						_("Plugin configuration directory could not be created."));
+ 				}
+ 				else
+ 				{
+ 					/* write config to file */
+ 					data = g_key_file_to_data(config, NULL, NULL);
+ 					utils_write_file(config_file, data);
+					g_free(data);
+					g_key_file_free(config);
+ 					g_free(config_dir);
+ 				}
+ 			}
+
+			if (! utils_string_replace_all(cmd_str, "%f", locale_filename))
+				ui_set_statusbar(FALSE,
+				_("Filename placeholder not found. The executed command might have failed."));
+
+			if (use_address_dialog == TRUE && address != NULL)
+			{
+				if (! utils_string_replace_all(cmd_str, "%r", address))
+ 					ui_set_statusbar(FALSE,
+					_("Recipient address placeholder not found. The executed command might have failed."));
+			}
+			else
+				/* Removes %r if option was not activ but was included into command */
+				utils_string_replace_all(cmd_str, "%r", NULL);
+
+			utils_string_replace_all(cmd_str, "%b", g_path_get_basename(locale_filename));
+
+			command = g_string_free(cmd_str, FALSE);
+			g_spawn_command_line_async(command, &error);
+			if (error != NULL)
+			{
+				ui_set_statusbar(FALSE, _("Could not execute mailer. Please check your configuration."));
+				g_error_free(error);
+			}
+
+			g_free(locale_filename);
+			g_free(command);
+
+			if (dialog != NULL)
+				gtk_widget_destroy(dialog);
+		}
+		else
+		{
+			ui_set_statusbar(FALSE, _("Please define a mail client first."));
+		}
+	}
+	else
+	{
+		ui_set_statusbar(FALSE, _("File has to be saved before sending."));
+	}
+}
+
+static void key_send_as_attachment(G_GNUC_UNUSED guint key_id)
+{
+	send_as_attachment(NULL, NULL);
+}
+
+#define GEANYSENDMAIL_STOCK_MAIL "geanysendmail-mail"
+
+static void add_stock_item(void)
+{
+	GtkIconSet *icon_set;
+	GtkIconFactory *factory = gtk_icon_factory_new();
+	GtkIconTheme *theme = gtk_icon_theme_get_default();
+	GtkStockItem item = { GEANYSENDMAIL_STOCK_MAIL, _("Mail"), 0, 0, GETTEXT_PACKAGE };
+
+	if (gtk_icon_theme_has_icon(theme, "mail-message-new"))
+	{
+		GtkIconSource *icon_source = gtk_icon_source_new();
+		icon_set = gtk_icon_set_new();
+		gtk_icon_source_set_icon_name(icon_source, "mail-message-new");
+		gtk_icon_set_add_source(icon_set, icon_source);
+		gtk_icon_source_free(icon_source);
+	}
+	else
+	{
+		GdkPixbuf *pb = gdk_pixbuf_new_from_inline(-1, mail_pixbuf, FALSE, NULL);
+		icon_set = gtk_icon_set_new_from_pixbuf(pb);
+		g_object_unref(pb);
+	}
+	gtk_icon_factory_add(factory, item.stock_id, icon_set);
+	gtk_stock_add(&item, 1);
+	gtk_icon_factory_add_default(factory);
+
+	g_object_unref(factory);
+	gtk_icon_set_unref(icon_set);
+}
+
+
+void show_icon()
+{
+	mailbutton = GTK_WIDGET(gtk_tool_button_new_from_stock(GEANYSENDMAIL_STOCK_MAIL));
+	plugin_add_toolbar_item(geany_plugin, GTK_TOOL_ITEM(mailbutton));
+	ui_add_document_sensitive(mailbutton);
+#if GTK_CHECK_VERSION(2, 12, 0)
+	gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(mailbutton), _("Send by mail"));
+#endif
+	g_signal_connect (G_OBJECT(mailbutton), "clicked", G_CALLBACK(send_as_attachment), NULL);
+	gtk_widget_show_all (mailbutton);
+}
+
+void cleanup_icon()
+{
+	if (mailbutton != NULL)
+	{
+		gtk_container_remove(GTK_CONTAINER (geany->main_widgets->toolbar), mailbutton);
+	}
+}
+
+
+static struct
+{
+	GtkWidget *entry;
+	GtkWidget *checkbox_icon_to_toolbar;
+	GtkWidget *checkbox_use_addressdialog;
+}
+pref_widgets;
+
+static void
+on_configure_response(G_GNUC_UNUSED GtkDialog *dialog, gint response, G_GNUC_UNUSED  gpointer user_data)
+{
+	if (response == GTK_RESPONSE_OK || response == GTK_RESPONSE_APPLY)
+	{
+		GKeyFile 	*config = g_key_file_new();
+		gchar 		*config_dir = g_path_get_dirname(config_file);
+
+		g_free(mailer);
+		mailer = g_strdup(gtk_entry_get_text(GTK_ENTRY(pref_widgets.entry)));
+
+		if (icon_in_toolbar == FALSE &&
+		    gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_icon_to_toolbar)) == TRUE)
+		{
+			icon_in_toolbar = TRUE;
+			show_icon();
+		}
+		else if (icon_in_toolbar == TRUE &&
+		    gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_icon_to_toolbar)) == FALSE)
+		{
+			cleanup_icon();
+			icon_in_toolbar = FALSE;
+		}
+		else
+		{
+			icon_in_toolbar = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_icon_to_toolbar));
+		}
+
+		if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_use_addressdialog)) == TRUE)
+			use_address_dialog = TRUE;
+		else
+			use_address_dialog = FALSE;
+
+		g_key_file_load_from_file(config, config_file, G_KEY_FILE_NONE, NULL);
+		g_key_file_set_string(config, "tools", "mailer", mailer);
+		g_key_file_set_boolean(config, "tools", "address_usage", use_address_dialog);
+		g_key_file_set_boolean(config, "icon", "show_icon", icon_in_toolbar);
+
+		if (! g_file_test(config_dir, G_FILE_TEST_IS_DIR) && utils_mkdir(config_dir, TRUE) != 0)
+		{
+			dialogs_show_msgbox(GTK_MESSAGE_ERROR,
+				_("Plugin configuration directory could not be created."));
+		}
+		else
+		{
+			/* write config to file */
+			gchar *data = g_key_file_to_data(config, NULL, NULL);
+			utils_write_file(config_file, data);
+			g_free(data);
+		}
+		g_key_file_free(config);
+		g_free(config_dir);
+	}
+}
+
+GtkWidget *plugin_configure(GtkDialog *dialog)
+{
+	GtkWidget	*label1, *label2, *vbox;
+
+	vbox = gtk_vbox_new(FALSE, 6);
+
+	/* add a label and a text entry to the dialog */
+	label1 = gtk_label_new(_("Path and options for the mail client:"));
+	gtk_widget_show(label1);
+	gtk_misc_set_alignment(GTK_MISC(label1), 0, 0.5);
+	pref_widgets.entry = gtk_entry_new();
+	gtk_widget_show(pref_widgets.entry);
+	if (mailer != NULL)
+		gtk_entry_set_text(GTK_ENTRY(pref_widgets.entry), mailer);
+
+	label2 = gtk_label_new(_("Note: \n\t\%f will be replaced by your file."\
+		"\n\t\%r will be replaced by recipient's email address."\
+		"\n\t\%b will be replaced by basename of a file"\
+		"\n\tExamples:"\
+		"\n\tsylpheed --attach \"\%f\" --compose \"\%r\""\
+		"\n\tmutt -s \"Sending \'\%b\'\" -a \"\%f\" \"\%r\""));
+	gtk_label_set_selectable(GTK_LABEL(label2), TRUE);
+	gtk_widget_show(label2);
+	gtk_misc_set_alignment(GTK_MISC(label2), 0, 0.5);
+
+	pref_widgets.checkbox_icon_to_toolbar = gtk_check_button_new_with_label(_("Showing icon in toolbar"));
+	ui_widget_set_tooltip_text(pref_widgets.checkbox_icon_to_toolbar,
+		_("Shows a icon in the toolbar to send file more easy."));
+	gtk_button_set_focus_on_click(GTK_BUTTON(pref_widgets.checkbox_icon_to_toolbar), FALSE);
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_icon_to_toolbar), icon_in_toolbar);
+	gtk_widget_show(pref_widgets.checkbox_icon_to_toolbar);
+
+	pref_widgets.checkbox_use_addressdialog = gtk_check_button_new_with_label(_
+		("Using dialog for entering email address of recipients"));
+
+	gtk_button_set_focus_on_click(GTK_BUTTON(pref_widgets.checkbox_use_addressdialog), FALSE);
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_use_addressdialog), use_address_dialog);
+	gtk_widget_show(pref_widgets.checkbox_use_addressdialog);
+
+	gtk_container_add(GTK_CONTAINER(vbox), label1);
+	gtk_container_add(GTK_CONTAINER(vbox), pref_widgets.entry);
+	gtk_container_add(GTK_CONTAINER(vbox), label2);
+	gtk_box_pack_start(GTK_BOX(vbox), pref_widgets.checkbox_icon_to_toolbar, TRUE, FALSE, 2);
+	gtk_box_pack_start(GTK_BOX(vbox), pref_widgets.checkbox_use_addressdialog, TRUE, FALSE, 2);
+
+	gtk_widget_show(vbox);
+
+	g_signal_connect(dialog, "response", G_CALLBACK(on_configure_response), NULL);
+	return vbox;
+}
+
+/* Called by Geany to initialize the plugin */
+void plugin_init(GeanyData G_GNUC_UNUSED *data)
+{
+	GtkTooltips *tooltips = NULL;
+
+	GKeyFile *config = g_key_file_new();
+
+	gchar *kb_label = _("Send file by mail");
+
+	GtkWidget *menu_mail = NULL;
+
+	main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
+
+	config_file = g_strconcat(geany->app->configdir, G_DIR_SEPARATOR_S, "plugins", G_DIR_SEPARATOR_S,
+		"geanysendmail", G_DIR_SEPARATOR_S, "mail.conf", NULL);
+
+	/* Initialising options from config file */
+	g_key_file_load_from_file(config, config_file, G_KEY_FILE_NONE, NULL);
+	mailer = g_key_file_get_string(config, "tools", "mailer", NULL);
+	address = g_key_file_get_string(config, "tools", "address", NULL);
+	use_address_dialog = g_key_file_get_boolean(config, "tools", "address_usage", NULL);
+	icon_in_toolbar = g_key_file_get_boolean(config, "icon", "show_icon", NULL);
+
+	g_key_file_free(config);
+
+	tooltips = gtk_tooltips_new();
+
+	add_stock_item();
+	if (icon_in_toolbar == TRUE)
+	{
+		show_icon();
+	}
+
+	/* Build up menu entry */
+	menu_mail = gtk_menu_item_new_with_mnemonic(_("_Mail document"));
+	gtk_container_add(GTK_CONTAINER(geany->main_widgets->tools_menu), menu_mail);
+	ui_widget_set_tooltip_text(menu_mail,
+		_("Sends the opened file as unzipped attachment by any mailer from your $PATH"));
+	g_signal_connect(G_OBJECT(menu_mail), "activate", G_CALLBACK(send_as_attachment), NULL);
+
+	/* setup keybindings */
+	keybindings_set_item(plugin_key_group, SENDMAIL_KB, key_send_as_attachment,
+		0, 0, "send_file_as_attachment", kb_label, menu_mail);
+
+	gtk_widget_show_all(menu_mail);
+	ui_add_document_sensitive(menu_mail);
+	main_menu_item = menu_mail;
+}
+
+
+void plugin_cleanup()
+{
+	gtk_widget_destroy(main_menu_item);
+	cleanup_icon();
+	g_free(mailer);
+	g_free(address);
+	g_free(config_file);
+}

Copied: trunk/geany-plugins/geanysendmail/src/icon.h (from rev 698, trunk/geanysendmail/src/icon.h)
===================================================================
--- trunk/geany-plugins/geanysendmail/src/icon.h	                        (rev 0)
+++ trunk/geany-plugins/geanysendmail/src/icon.h	2009-06-10 23:23:06 UTC (rev 699)
@@ -0,0 +1,50 @@
+/* GdkPixbuf RGBA C-Source image dump */
+
+#ifdef __SUNPRO_C
+#pragma align 4 (mail_pixbuf)
+#endif
+#ifdef __GNUC__
+static const guint8 mail_pixbuf[] __attribute__ ((__aligned__ (4))) =
+#else
+static const guint8 mail_pixbuf[] =
+#endif
+{ ""
+  /* Pixbuf magic (0x47646b50) */
+  "GdkP"
+  /* length: header (24) + pixel_data (520) */
+  "\0\0\2\40"
+  /* pixdata_type (0x1010002) */
+  "\1\1\0\2"
+  /* rowstride (52) */
+  "\0\0\0""4"
+  /* width (13) */
+  "\0\0\0\15"
+  /* height (10) */
+  "\0\0\0\12"
+  /* pixel_data: */
+  "\0\0\0\0\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
+  "\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\377"
+  "GGG\377\365\365\365\377\365\365\365\377\365\365\365\377\365\365\365\377"
+  "\365\365\365\377\365\365\365\377\365\365\365\377\365\365\365\377\365"
+  "\365\365\377222\377\0\0\0\377\0\0\0\377\365\365\365\377GGG\377\365\365"
+  "\365\377\365\365\365\377\365\365\365\377\364\364\364\377\365\365\365"
+  "\377\364\364\364\377\364\364\364\377GGG\377\301\301\301\377\0\0\0\377"
+  "\0\0\0\377\365\365\365\377\352\352\352\377GGG\377\365\365\365\377\365"
+  "\365\365\377\364\364\364\377\365\365\365\377\364\364\364\377GGG\377\353"
+  "\353\353\377\252\252\252\377\0\0\0\377\0\0\0\377\365\365\365\377\365"
+  "\365\365\377\365\365\365\377GGG\377\365\365\365\377\365\365\365\377\365"
+  "\365\365\377===\377\357\357\357\377\353\353\353\377\353\353\353\377\0"
+  "\0\0\377\0\0\0\377\363\363\363\377\365\365\365\377\357\357\357\377GG"
+  "G\377\77\77\77\377\365\365\365\377FFF\377GGG\377\365\365\365\377\363"
+  "\363\363\377\275\275\275\377\0\0\0\377\0\0\0\377\365\365\365\377\364"
+  "\364\364\377GGG\377\365\365\365\377\365\365\365\377GGG\377\365\365\365"
+  "\377\363\363\363\377GGG\377\326\326\326\377\240\240\240\377\0\0\0\377"
+  "\0\0\0\377\365\365\365\377GGG\377\364\364\364\377\365\365\365\377\365"
+  "\365\365\377\362\362\362\377\364\364\364\377\363\363\363\377\272\272"
+  "\272\377222\377\351\351\351\377\0\0\0\377\0\0\0\377GGG\377\240\240\240"
+  "\377\240\240\240\377\214\214\214\377\277\277\277\377\272\272\272\377"
+  "\332\332\332\377\315\315\315\377\247\247\247\377\323\323\323\377(((\377"
+  "\0\0\0\377\0\0\0\0\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
+  "\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\0"};
+
+

Modified: trunk/geany-plugins/po/POTFILES.in
===================================================================
--- trunk/geany-plugins/po/POTFILES.in	2009-06-10 22:54:08 UTC (rev 698)
+++ trunk/geany-plugins/po/POTFILES.in	2009-06-10 23:23:06 UTC (rev 699)
@@ -7,6 +7,9 @@
 addons/src/addons.c
 addons/src/ao_doclist.c
 
+# geanysendmail
+geanysendmail/src/geanysendmail.c
+
 # Spell Check
 spellcheck/src/speller.c
 spellcheck/src/scplugin.c

Modified: trunk/geany-plugins/po/de.po
===================================================================
--- trunk/geany-plugins/po/de.po	2009-06-10 22:54:08 UTC (rev 698)
+++ trunk/geany-plugins/po/de.po	2009-06-10 23:23:06 UTC (rev 699)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: geany-plugins 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-06-10 23:55+0200\n"
+"POT-Creation-Date: 2009-06-11 01:07+0200\n"
 "PO-Revision-Date: 2009-03-09 20:50+1000\n"
 "Last-Translator: Andrew Janke <a.janke at gmail.com>\n"
 "Language-Team: \n"
@@ -36,7 +36,8 @@
 msgid "Various small addons for Geany."
 msgstr ""
 
-#: ../addons/src/addons.c:176 ../spellcheck/src/scplugin.c:143
+#: ../addons/src/addons.c:176 ../geanysendmail/src/geanysendmail.c:151
+#: ../geanysendmail/src/geanysendmail.c:312 ../spellcheck/src/scplugin.c:143
 msgid "Plugin configuration directory could not be created."
 msgstr ""
 
@@ -69,6 +70,117 @@
 msgid "Show Document List"
 msgstr ""
 
+#: ../geanysendmail/src/geanysendmail.c:47
+msgid "GeanySendMail"
+msgstr "GeanySendMail"
+
+#: ../geanysendmail/src/geanysendmail.c:47
+msgid ""
+"A little plugin to send the current file as attachment by user's favorite "
+"mailer"
+msgstr ""
+"Ein Plugin zum Senden einer Datei als Anhang unter Verwendung eines "
+"Mailprogrammes."
+
+#: ../geanysendmail/src/geanysendmail.c:107
+msgid "Recipient's Address"
+msgstr "Emailadresse des Empfängers"
+
+#: ../geanysendmail/src/geanysendmail.c:118
+msgid "Enter the recipient's e-mail address:"
+msgstr "Emailadresse des Empfängers:"
+
+#: ../geanysendmail/src/geanysendmail.c:166
+msgid "Filename placeholder not found. The executed command might have failed."
+msgstr ""
+"Konnte den Platzhalter für den Dateinamen (\\%s) nicht finden. Das "
+"angegebene Kommando könnte nicht korrekt ausgeführt worden sein."
+
+#: ../geanysendmail/src/geanysendmail.c:172
+msgid ""
+"Recipient address placeholder not found. The executed command might have "
+"failed."
+msgstr ""
+"Konnte den Platzhalter für den Mailempfänger nicht finden. Das angegebene "
+"Kommando könnte nicht korrekt ausgeführt worden sein."
+
+#: ../geanysendmail/src/geanysendmail.c:184
+msgid "Could not execute mailer. Please check your configuration."
+msgstr ""
+"Konnte das Mailprogramm nicht aufrufen. Bitte überprüfen Sie Ihre "
+"Einstellungen"
+
+#: ../geanysendmail/src/geanysendmail.c:196
+msgid "Please define a mail client first."
+msgstr "Bitte ein Mailprogramm angeben!"
+
+#: ../geanysendmail/src/geanysendmail.c:201
+msgid "File has to be saved before sending."
+msgstr "Die Datei muss vor dem Senden gespeichert werden."
+
+#: ../geanysendmail/src/geanysendmail.c:217
+msgid "Mail"
+msgstr "Mail"
+
+#: ../geanysendmail/src/geanysendmail.c:248
+msgid "Send by mail"
+msgstr "Per Mail senden"
+
+#. add a label and a text entry to the dialog
+#: ../geanysendmail/src/geanysendmail.c:333
+msgid "Path and options for the mail client:"
+msgstr "Pfad und Optionen für das Mailprogramm:"
+
+#: ../geanysendmail/src/geanysendmail.c:341
+msgid ""
+"Note: \n"
+"\t\\%f will be replaced by your file.\n"
+"\t\\%r will be replaced by recipient's email address.\n"
+"\t\\%b will be replaced by basename of a file\n"
+"\tExamples:\n"
+"\tsylpheed --attach \"\\%f\" --compose \"\\%r\"\n"
+"\tmutt -s \"Sending '\\%b'\" -a \"\\%f\" \"\\%r\""
+msgstr ""
+"Anmerkung: \n"
+"\t\\%f wird mit der zu sendenden Datei ersetzt.\t\n"
+"\t\\%r wird mit der Emailadresse des Empfängers ersetzt.\t\n"
+"\t\\%b wird mit dem reinen Dateinamen der zu sendenen Datei ersetzt.\n"
+"\tEin Beispiel könnte sein:\t\n"
+"\tsylpheed --attach \"\\%f\" --compose \"\\%r\"\n"
+"\tmutt -s \"Sending '\\%b'\" -a \"\\%f\" \"\\%r\""
+
+#: ../geanysendmail/src/geanysendmail.c:351
+msgid "Showing icon in toolbar"
+msgstr "Symbol in der Werkzeugleiste anzeigen"
+
+#: ../geanysendmail/src/geanysendmail.c:353
+msgid "Shows a icon in the toolbar to send file more easy."
+msgstr ""
+"Zeigt ein Symbol in der Werkzeugleiste an, sodass eine Datei einfacher "
+"versendet werden kann."
+
+#: ../geanysendmail/src/geanysendmail.c:359
+msgid "Using dialog for entering email address of recipients"
+msgstr ""
+"Zeigt einen Dialog zum Eingeben der Emailadresse des Empfängers der zu "
+"sendenden Datei"
+
+#: ../geanysendmail/src/geanysendmail.c:384
+msgid "Send file by mail"
+msgstr "Per Mail senden"
+
+#. Build up menu entry
+#: ../geanysendmail/src/geanysendmail.c:411
+msgid "_Mail document"
+msgstr "_Dokument versenden"
+
+#: ../geanysendmail/src/geanysendmail.c:414
+msgid ""
+"Sends the opened file as unzipped attachment by any mailer from your $PATH"
+msgstr ""
+"Sendet ein geöffnetes Dokument als ungepackten Anhang unter Verwendung eines "
+"Mailprogrammes."
+
 #: ../spellcheck/src/speller.c:101
 msgid "Try: "
 msgstr ""
@@ -194,3 +306,12 @@
 #: ../shiftcolumn/src/shiftcolumn.c:382 ../shiftcolumn/src/shiftcolumn.c:397
 msgid "Shift Right"
 msgstr "Auswahl nach Rechts verschieben"
+
+#~ msgid "_Mail"
+#~ msgstr "_Mail"
+
+#~ msgid "Note: \\%f will be replaced by your filename."
+#~ msgstr "Anmerkung: \\%f wird durch den Dateinamen ersetzt."
+
+#~ msgid "Mail Configuration"
+#~ msgstr "Maileinstellungen"

Modified: trunk/geany-plugins/po/geany-plugins.pot
===================================================================
--- trunk/geany-plugins/po/geany-plugins.pot	2009-06-10 22:54:08 UTC (rev 698)
+++ trunk/geany-plugins/po/geany-plugins.pot	2009-06-10 23:23:06 UTC (rev 699)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-06-10 23:55+0200\n"
+"POT-Creation-Date: 2009-06-11 01:07+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -36,7 +36,8 @@
 msgid "Various small addons for Geany."
 msgstr ""
 
-#: ../addons/src/addons.c:176 ../spellcheck/src/scplugin.c:143
+#: ../addons/src/addons.c:176 ../geanysendmail/src/geanysendmail.c:151
+#: ../geanysendmail/src/geanysendmail.c:312 ../spellcheck/src/scplugin.c:143
 msgid "Plugin configuration directory could not be created."
 msgstr ""
 
@@ -69,6 +70,96 @@
 msgid "Show Document List"
 msgstr ""
 
+#: ../geanysendmail/src/geanysendmail.c:47
+msgid "GeanySendMail"
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:47
+msgid ""
+"A little plugin to send the current file as attachment by user's favorite "
+"mailer"
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:107
+msgid "Recipient's Address"
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:118
+msgid "Enter the recipient's e-mail address:"
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:166
+msgid "Filename placeholder not found. The executed command might have failed."
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:172
+msgid ""
+"Recipient address placeholder not found. The executed command might have "
+"failed."
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:184
+msgid "Could not execute mailer. Please check your configuration."
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:196
+msgid "Please define a mail client first."
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:201
+msgid "File has to be saved before sending."
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:217
+msgid "Mail"
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:248
+msgid "Send by mail"
+msgstr ""
+
+#. add a label and a text entry to the dialog
+#: ../geanysendmail/src/geanysendmail.c:333
+msgid "Path and options for the mail client:"
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:341
+msgid ""
+"Note: \n"
+"\t\\%f will be replaced by your file.\n"
+"\t\\%r will be replaced by recipient's email address.\n"
+"\t\\%b will be replaced by basename of a file\n"
+"\tExamples:\n"
+"\tsylpheed --attach \"\\%f\" --compose \"\\%r\"\n"
+"\tmutt -s \"Sending '\\%b'\" -a \"\\%f\" \"\\%r\""
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:351
+msgid "Showing icon in toolbar"
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:353
+msgid "Shows a icon in the toolbar to send file more easy."
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:359
+msgid "Using dialog for entering email address of recipients"
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:384
+msgid "Send file by mail"
+msgstr ""
+
+#. Build up menu entry
+#: ../geanysendmail/src/geanysendmail.c:411
+msgid "_Mail document"
+msgstr ""
+
+#: ../geanysendmail/src/geanysendmail.c:414
+msgid ""
+"Sends the opened file as unzipped attachment by any mailer from your $PATH"
+msgstr ""
+
 #: ../spellcheck/src/speller.c:101
 msgid "Try: "
 msgstr ""

Modified: trunk/geany-plugins/wscript
===================================================================
--- trunk/geany-plugins/wscript	2009-06-10 22:54:08 UTC (rev 698)
+++ trunk/geany-plugins/wscript	2009-06-10 23:23:06 UTC (rev 699)
@@ -69,7 +69,10 @@
 	Plugin('spellcheck',
 		 [ 'spellcheck/src/gui.c', 'spellcheck/src/scplugin.c', 'spellcheck/src/speller.c' ], # source files
 		 [ 'spellcheck', 'spellcheck/src' ], # include dirs
-		 [ [ 'enchant', '1.3', True ] ])
+		 [ [ 'enchant', '1.3', True ] ]),
+	Plugin('geanysendmail',
+		 [ 'geanysendmail/src/geanysendmail.c' ],
+		 [ 'geanysendmail', 'geanysendmail/src' ])
 ]
 
 '''
@@ -86,10 +89,6 @@
 		   'geanydebug.c']), # source files
 		 [ 'geanygdb', 'geanygdb/src' ] # include dirs
 		 ),
-	Plugin('geanysendmail',
-		 [ 'geanysendmail/src/geanysendmail.c' ], # source files
-		 [ 'geanysendmail', 'geanysendmail/src' ] # include dirs
-		 ),
 	Plugin('geanydoc',
 		 [ 'geanydoc/src/config.c', 'geanydoc/src/geanydoc.c' ], # source files
 		 [ 'geanydoc', 'geanydoc/src' ] # include dirs


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list