Hi list,
To make my work easier, I wrote a little plugin to send a file file I'm working on with geany by mail using Sylpheed. It's not a big thing and I never wanted to make it very public. But maybe it's usefull for somebody out there or somebody like to improve it, I've uploaded a patch against current svn version (r1968) of Geany to http://frank.uvena.de/geany/
Frank
On Tue, 23 Oct 2007 22:12:05 +0200, Frank Lanitz linux@partysoke.de wrote:
Hi list,
To make my work easier, I wrote a little plugin to send a file file I'm working on with geany by mail using Sylpheed. It's not a big thing and I never wanted to make it very public. But maybe it's usefull for somebody out there or somebody like to improve it, I've uploaded a patch against current svn version (r1968) of Geany to http://frank.uvena.de/geany/
Frank
What if you'd use something like this:
/usr/lib/thunar/thunar-sendto-email %F
This is the 'send to->email recipient' helper of (Xfce's) Thunar file manager and uses the default mail client to compose a message with an attachment...
Just a thought (since I don't use Sylpheed/Claws)
-H-
Hi Harold, hi list
Sorry for my late answer.
On Tue, 23 Oct 2007 22:23:47 +0200 Harold Aling h.aling@home.nl wrote:
On Tue, 23 Oct 2007 22:12:05 +0200, Frank Lanitz linux@partysoke.de wrote:
What if you'd use something like this:
/usr/lib/thunar/thunar-sendto-email %F
It's a nice idea and since you wrote this mail I was thinking about it ;) On the one hand it would allow the plugin to work with other mailers then sylpheed, but it would also cause a dependency against XFCE/Thunar and IMHO it would just move the problem to another point and solves nearly nothing. (Since I'm using XFCE, I don't care much about it ;) )
What we really need is something like $EDITOR that works on every platforms including Windows. Without this we need another dialog to set up path to the binary, parameters .... and to be honest, I really don't want to realise that at this moment ;)
Regards, Frank
On Nov 18, 2007 3:57 PM, Frank Lanitz linux@partysoke.de wrote:
What we really need is something like $EDITOR that works on every platforms including Windows.
How about adding a check for ~/.geany/plugins/email.cfg to (optionally) store the user's preferred email command?
- Jeff
On Tue, 20 Nov 2007 04:14:33 -0600 "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
On Nov 18, 2007 3:57 PM, Frank Lanitz linux@partysoke.de wrote:
What we really need is something like $EDITOR that works on every platforms including Windows.
How about adding a check for ~/.geany/plugins/email.cfg to (optionally) store the user's preferred email command?
I would prefer to add a standard mailer to tools section of Geany prefs to don't split up configuration and maybe some other plugin also needs access to a MUA. What do you think about?
Regards, Frank
On Tue, 20 Nov 2007 12:09:48 +0100, Frank Lanitz linux@partysoke.de wrote:
On Tue, 20 Nov 2007 04:14:33 -0600 "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
On Nov 18, 2007 3:57 PM, Frank Lanitz linux@partysoke.de wrote:
What we really need is something like $EDITOR that works on every platforms including Windows.
How about adding a check for ~/.geany/plugins/email.cfg to (optionally) store the user's preferred email command?
I would prefer to add a standard mailer to tools section of Geany prefs to don't split up configuration and maybe some other plugin
No. Geany has absolutely no need to know anything about the user's preferred mail client. Your plugin adds some functionality to Geany and it should know all about that by itself. As I already mentioned, use the upcoming ability to add a configure dialog to your plugin..
Regards, Enrico
On Tue, 20 Nov 2007 04:14:33 -0600, "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
On Nov 18, 2007 3:57 PM, Frank Lanitz linux@partysoke.de wrote:
What we really need is something like $EDITOR that works on every platforms including Windows.
How about adding a check for ~/.geany/plugins/email.cfg to (optionally) store the user's preferred email command?
I'm currently working on a plugin manager dialog which will allow the user to call a configure dialog for each plugin. The demoplugin will contain a sample dialog to show how it works. So, just be a little more patient ;-).
Regards, Enrico
On Tue, 20 Nov 2007 15:58:54 +0100, Enrico Tröger enrico.troeger@uvena.de wrote:
On Tue, 20 Nov 2007 04:14:33 -0600, "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
On Nov 18, 2007 3:57 PM, Frank Lanitz linux@partysoke.de wrote:
What we really need is something like $EDITOR that works on every platforms including Windows.
How about adding a check for ~/.geany/plugins/email.cfg to (optionally) store the user's preferred email command?
I'm currently working on a plugin manager dialog which will allow the user to call a configure dialog for each plugin. The demoplugin will contain a sample dialog to show how it works. So, just be a little more patient ;-).
Ok, I just committed the plugin manager code. Take the configure() function from demoplugin.c, add it to your code and modify it as needed. Don't forget to save and read the setting(s) to a file. It's quite easy to use GLib's GKeyFile API for that and it is already available since we are using GLib in any case.
Regards, Enrico
Hi,
On Tue, 20 Nov 2007 04:14:33 -0600 "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
On Nov 18, 2007 3:57 PM, Frank Lanitz linux@partysoke.de wrote:
What we really need is something like $EDITOR that works on every platforms including Windows.
How about adding a check for ~/.geany/plugins/email.cfg to (optionally) store the user's preferred email command?
It's done with the 0.2 snapshot I've uploaded to http://frank.uvena.de/geany/ Now you are able to change your mailer by using the configuration dialog of the new plugin manager. I hope, that it work well ;)
Regards, Frank