mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-18 07:11:04 +02:00
Improve launch_command
This commit is contained in:
parent
a253a23d57
commit
a6f63b3bf1
5 changed files with 40 additions and 29 deletions
|
@ -262,8 +262,13 @@ impl Module<Button> for MenuModule {
|
|||
for entry in $entries.values() {
|
||||
let container1 = container.clone();
|
||||
let tx = context.tx.clone();
|
||||
let (button, sub_menu) =
|
||||
ui::make_entry(entry, tx, &image_provider, truncate_mode, &self.launch_command);
|
||||
let (button, sub_menu) = ui::make_entry(
|
||||
entry,
|
||||
tx,
|
||||
&image_provider,
|
||||
truncate_mode,
|
||||
&self.launch_command,
|
||||
);
|
||||
|
||||
if let Some(sub_menu) = sub_menu.clone() {
|
||||
sub_menu.set_valign(alignment);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue