Dear all I would like to create a toolbar button for the "Send selection to terminal" action. The documentation suggests that I cannot create a non-default toolbar button ("Manually editing of the toolbar layout: You cannot add new actions which are not listed below.") Alternatively, would there be a way to configure "Execute" to perform the "Send selection to terminal" action?
Thank you Liviu
On Sat, 27 Feb 2010 12:01:04 +0000 Liviu Andronic landronimirc@gmail.com wrote:
Dear all I would like to create a toolbar button for the "Send selection to terminal" action. The documentation suggests that I cannot create a non-default toolbar button ("Manually editing of the toolbar layout: You cannot add new actions which are not listed below.") Alternatively, would there be a way to configure "Execute" to perform the "Send selection to terminal" action?
To support this I think this will need a patch as a selected text is not yet available inside the context of execute.
Thanks, Frank
On 27 February 2010 23:01, Liviu Andronic landronimirc@gmail.com wrote:
Dear all I would like to create a toolbar button for the "Send selection to terminal" action. The documentation suggests that I cannot create a non-default toolbar button ("Manually editing of the toolbar layout: You cannot add new actions which are not listed below.") Alternatively, would there be a way to configure "Execute" to perform the "Send selection to terminal" action?
Thank you Liviu
Using execute would not be able to get the selection.
BTW in the development version in SVN "send to terminal" is now in a submenu of the edit menu, does this help?
Cheers Lex
-- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mailhttp://garbl.home.comcast.net/%7Egarbl/stylemanual/e.htm#e-mail _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Sun, 28 Feb 2010 01:44:20 +0100, Frank wrote:
On Sat, 27 Feb 2010 12:01:04 +0000 Liviu Andronic landronimirc@gmail.com wrote:
Dear all I would like to create a toolbar button for the "Send selection to terminal" action. The documentation suggests that I cannot create a non-default toolbar button ("Manually editing of the toolbar layout: You cannot add new actions which are not listed below.") Alternatively, would there be a way to configure "Execute" to perform the "Send selection to terminal" action?
To support this I think this will need a patch as a selected text is not yet available inside the context of execute.
Not sure what this means. Though, adding a toolbar action for 'Send selection to terminal' is really easy except for a proper icon. We need an icon for the toolbar action which looks fine across various icon themes, which is GPLv2 and which is pretty distinct for this feature. That's the only problem.
Regards, Enrico
2010/2/28 Enrico Tröger enrico.troeger@uvena.de:
Though, adding a toolbar action for 'Send selection to terminal' is really easy except for a proper icon.
Yes, this is much of what I'd like to do (for my purposes, even without a proper icon). Where should I look to add this?
Liviu
We need an icon for the toolbar action which looks fine across various icon themes, which is GPLv2 and which is pretty distinct for this feature. That's the only problem.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Sun, 28 Feb 2010 11:57:54 +0000, Liviu wrote:
2010/2/28 Enrico Tröger enrico.troeger@uvena.de:
Though, adding a toolbar action for 'Send selection to terminal' is really easy except for a proper icon.
Yes, this is much of what I'd like to do (for my purposes, even without a proper icon). Where should I look to add this?
src/toolbar.c around line 53. Add a new item to the ui_entries array.
Regards, Enrico