From 0c5a322b980733e02a37e1d18fa437da502dee12 Mon Sep 17 00:00:00 2001 From: Thomas Liebetraut Date: Mon, 20 May 2013 23:13:19 +0200 Subject: [PATCH] Add extension path to the theme search path so that GIcon finds the file. --- extension.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extension.js b/extension.js index 98a1c29..244f9ee 100644 --- a/extension.js +++ b/extension.js @@ -167,7 +167,8 @@ const TeaTime = new Lang.Class({ function init(metadata) { // TODO: at some point, add translations - ; + let theme = imports.gi.Gtk.IconTheme.get_default(); + theme.append_search_path(metadata.path); } let _TeaTime;