Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ext. Command actions: Support property macros #2532

Merged
merged 1 commit into from
Feb 3, 2023
Merged

Conversation

kasemir
Copy link
Collaborator

@kasemir kasemir commented Feb 2, 2023

Create an action button, set name to "Fred" and action to the command echo "Widget is named $(name)".

In the original implementation, macros got replaced but there was no fallback to widget properties like $(name). Now this will work.

@tanviash had reported this with an example that set widget names to "/tmp" and the action to "nautilus $(name)".

Create an action button, set name to "Fred" and action to the command
`echo "Widget is named $(name)"`. In the original implementation, macros
got replaced but there was no fallback to widget properties like
`$(name)`.
@kasemir kasemir merged commit aba80bc into master Feb 3, 2023
@kasemir kasemir deleted the ext_cmd_macros branch February 3, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant