A few contribution from a fellow coder that likes gedit. I've asked him to attach his patches in the bugzilla, but in the mean time, here is his modified tarball and mail (as well as my answer, below). Regards, Steve -------- Forwarded Message -------- From: Alex Cornejo <acornejo gmail com> Subject: gedit plugin branch/enhancement Date: Thu, 7 Jun 2007 18:45:35 -0500 Hi, In the last few days i've been trying to migrate from vim to gedit, in the process I decided to code some plugins to fill in the missing features I needed. I liked the "external tools" plugin, however it was lacking some functionality that I decided to add. In particular I added the following features: - Tools can be language specific (for example you can create a tool which is only available/visible when editing a LaTeX document) - You can associate an Icon with each tool (all the icons are themable since I load them using the gtk.stock_items) - Tools can be made for menubar, or toolbar (or neither, in which case the tool becomes invisible to the user). I tried to add the functionality as to be the least intrusive on the current architecture of the plugin, I've been using it for a couple of days and it seems it didn't break anything. Also, previous tools should work just fine since if the new properties are missing they are filled with the default (show in menubar, visible for all languages, use no icon). Attached to this email I send you the patched version, I hope you can include it in the current trunk of the gedit svn (or whatever SCM system you use). Regards, PS: I also coded a brand new "Project Manager" plugin, In the future I plan to add SCM (SVN+CVS at least) to the plugin, if you know someone who is already working on this let me know so I do not duplicate any work. -------- Forwarded Message -------- To: acornejo gmail com Subject: Re: gedit plugin branch/enhancement Date: Fri, 08 Jun 2007 17:08:04 +0200 Hello, On Thu, 2007-06-07 at 18:45 -0500, Alex Cornejo wrote: > In the last few days i've been trying to migrate from vim to gedit, in > the process I decided to code some plugins to fill in the missing > features I needed. I liked the "external tools" plugin, however it was > lacking some functionality that I decided to add. In particular I > added the following features: That is really great ! > - Tools can be language specific (for example you can create a tool > which is only available/visible when editing a LaTeX document) There was a patch for that in the bugzilla but the approach I took was not considered good enough. See http://bugzilla.gnome.org/show_bug.cgi?id=334964 > - You can associate an Icon with each tool (all the icons are themable > since I load them using the gtk.stock_items) This is something that actually was in the original spec but was not implemented because, well, I was lazy ;-) > - Tools can be made for menubar, or toolbar (or neither, in which case > the tool becomes invisible to the user). I have no particular idea about adding tools to toolbar but we thought about allowing disabling a tool. > Attached to this email I send you the patched version, I hope you can > include it in the current trunk of the gedit svn (or whatever SCM > system you use). Could you please attach your patches in the bugzilla instead, if possible one feature per bug, so it can be reviewed and integrated more easily? You can see existing bugs for missing features there: http://bugzilla.gnome.org/buglist.cgi?query=product%3Agedit+tools > PS: I also coded a brand new "Project Manager" plugin, In the future I > plan to add SCM (SVN+CVS at least) to the plugin, if you know someone > who is already working on this let me know so I do not duplicate any > work. There is a "session manager" in the gedit plugins package: http://svn.gnome.org/viewcvs/gedit-plugins/trunk/plugins/sessionsaver/ Now you have to see if you want to do something similar or not ;-) Thank you for your work, Regards,
Attachment:
patched_externaltools.tar.gz
Description: GNU Zip compressed data