From 5b851ffc2d9360970eac46b031f1b9278b3978a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 15 May 2017 11:52:54 +0200 Subject: AppIndicator: fix icon and theme paths when running in $SNAP environment Prepend $SNAP path to icons and theme paths when running in a sandboxed environment, this allows to run app indicators without caring about the fact they've been designed or compiled to run in a snap world or not. (LP: #1600136) --- example/simple-client-vala.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/simple-client-vala.vala') diff --git a/example/simple-client-vala.vala b/example/simple-client-vala.vala index f8cd874..c30bf34 100644 --- a/example/simple-client-vala.vala +++ b/example/simple-client-vala.vala @@ -104,7 +104,7 @@ class SimpleClient { print(@"Got scroll event! delta: $delta, direction: $direction\n"); }); - Timeout.add_seconds(1, () => { + GLib.Timeout.add_seconds(1, () => { percentage = (percentage + 1) % 100; if (can_haz_label) { ci.set_label(@"$(percentage+1)%", ""); -- cgit v1.2.3