Do not change the icon search path

Now that we install our icon in the standard icon search path, there
is no need to mess with the icon search path; and since 3.36.0
imports.gi.Gtk.IconTheme.get_default() returns null causing TeaTime to
no longer works. Removing the unnecessary messing with the icon search
path fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Hans de Goede 2020-03-10 11:33:02 +01:00
parent 883b6a65bb
commit e862c92eb2

View File

@ -305,8 +305,6 @@ class TeaTime extends PanelMenu.Button {
}); });
function init(metadata) { function init(metadata) {
let theme = imports.gi.Gtk.IconTheme.get_default();
theme.append_search_path(metadata.path);
} }
let _TeaTime; let _TeaTime;