Re: [gedit-list] two new plugins



Frederic Back wrote:
Hello,

I wrote two python plugins for gedit: One is a class browser for python
code, the other a plugin to convert tabs to whitespace and whitespace
to tabs. Both are far from perfect, but they do their job well. I will post
them on the wiki soon.


Hi Frederic! Awesome work, I'll check them out as soon as possible[1]

The plugins are here:
http://www.stambouliote.de/projects/gedit_plugins.html

Currently, the tabulator plugin is in the Tools menu, but I would prefer
to add it to a submenu in Edit, ie. /menu/edit/convert/tabplugin, but
gtk.uiManager.add_ui() doesn't accept submenues. Is there another
way to achieve this?


You can check out the changecase plugin to see how to add a submenu (it is in C, but gtkuimanager api is pertty similar).


Paolo



[1] Unfortunately these are really busy days for me...



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]