From edd4d6e6ee7e77660cb636c3d50a499cb48b25e0 Mon Sep 17 00:00:00 2001 From: Steef Hegeman Date: Mon, 8 Jun 2020 00:12:20 +0200 Subject: [PATCH] ignore empty icon names --- src/proxyicon.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxyicon.vala b/src/proxyicon.vala index 5923377..39cb060 100644 --- a/src/proxyicon.vala +++ b/src/proxyicon.vala @@ -47,7 +47,7 @@ class ProxyIcon : Object { void set_icon() { var name = item.icon_name; - if (name != null) { + if (name != null && name != "") { var theme = Gtk.IconTheme.get_for_screen(icon.screen); var path = item.icon_theme_path; if (path != null) { -- 2.45.2