— Scoopta 4 months ago
Plugin labels will be hidden if the plugin's output is empty
1 files changed, 1 insertions(+), 0 deletions(-)

M src/bar.c
M src/bar.c +1 -0
@@ 161,6 161,7 @@
 if(lf != NULL) {
 			*lf = 0;
 		}
+		gtk_widget_set_visible(node->widget, strlen(output) > 0);
 		gtk_label_set_text(GTK_LABEL(node->widget), output);
 	}
 	return FALSE;