systray_hide_by_icon_name if equal to 0 do nothing
This commit is contained in:
parent
4c103423ba
commit
5e9791079d
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ gboolean add_icon(Window win)
|
|||
char *token;
|
||||
char *string;
|
||||
string = strdup(systray_hide_icons);
|
||||
if (string != NULL) {
|
||||
if (string != NULL && string[0] != '0') {
|
||||
while ((token = strsep(&string, ",")) != NULL) {
|
||||
if (strcmp(token,name) == 0) {
|
||||
if (strcmp(token,"") == 0) token = "empty name";
|
||||
|
|
Loading…
Reference in a new issue