Sebastien, 2009/9/29 Sébastien Duquette <ekse...@gmail.com>: > I have a very simple feature request. Currently there is a "Edit > plugin.." menu item which starts an editor and reloads the plugin > after. I prefer using an external editor, so I added a "Reload > plugin.." to my w3af menu. I think it would be nice if this was added > to w3af. > > The change is really simple, I modified > w3af\core\ui\gtkUi\pluginconfig.py with the following (I would have > done a diff but I'm on Windows and the change is really small) : > > I modified the end of popup_menu() : > > e = gtk.MenuItem(_("Edit plugin...")) > e.connect('activate', self._handleEditPluginEvent, > pname, ptype, path) > f = gtk.MenuItem(_("Reload plugin...")) > f.connect('activate', self._handleReloadPluginEvent, > pname, ptype, path) > gm.append( e ) > gm.append( f ) > gm.show_all() > > And added the handleReloadPluginEvent() function : > def _handleReloadPluginEvent(self, widget, pluginName, pluginType, path): > ''' > I get here when the user right clicks on a plugin name, then > he clicks on "Reload plugin..." > This method calls the plugin editor with the corresponding parameters. > ''' > self._finishedEditingPlugin(path, pluginType, pluginName)
Sorry for the huge delay, but I just commited this change to the trunk =) Cheers, > Thank you. > > Sébastien > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > W3af-develop mailing list > W3af-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/w3af-develop > -- Andrés Riancho Founder, Bonsai - Information Security http://www.bonsai-sec.com/ http://w3af.sf.net/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ W3af-develop mailing list W3af-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/w3af-develop