Skip to content

Commit

Permalink
iBar: an another condition to clear app instances number
Browse files Browse the repository at this point in the history
  • Loading branch information
thewaiter committed Oct 28, 2024
1 parent 8d280f5 commit ab668ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ibar/e_mod_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ _ibar_icon_signal_emit(IBar_Icon *ic, const char *sig, char *src)
E_Exec_Instance *exe;
char buf[24];

if (!ic->exes)
if ((!ic->exes) || (eina_list_count(ic->exes) == 0))
edje_object_part_text_set(ic->o_holder, "e.text.label", "");

EINA_LIST_FOREACH(ic->exes, l, exe)
Expand Down

0 comments on commit ab668ee

Please sign in to comment.