forked from external/yambar
particle: add an 'on_click_template' to base constructor.
This is intended to be a format-like string, with the possibility to use tag formatters. The expanded string will later be passed to the system() call.
This commit is contained in:
parent
6019129acc
commit
5164d1d6ea
7 changed files with 14 additions and 7 deletions
|
@ -30,7 +30,7 @@ instantiate(const struct particle *particle, const struct tag_set *tags)
|
|||
struct particle *
|
||||
particle_empty_new(int left_margin, int right_margin)
|
||||
{
|
||||
struct particle *particle = particle_common_new(left_margin, right_margin);
|
||||
struct particle *particle = particle_common_new(left_margin, right_margin, NULL);
|
||||
particle->destroy = &particle_default_destroy;
|
||||
particle->instantiate = &instantiate;
|
||||
return particle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue