Add extension path to the theme search path so that GIcon finds the file.

This commit is contained in:
Thomas Liebetraut 2013-05-20 23:13:19 +02:00
parent a2c2ed1e54
commit 0c5a322b98

View File

@ -167,7 +167,8 @@ const TeaTime = new Lang.Class({
function init(metadata) { function init(metadata) {
// TODO: at some point, add translations // TODO: at some point, add translations
; let theme = imports.gi.Gtk.IconTheme.get_default();
theme.append_search_path(metadata.path);
} }
let _TeaTime; let _TeaTime;