diff options
author | Marco Trevisan (TreviƱo) <marco@ubuntu.com> | 2017-05-15 11:52:54 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-15 11:52:57 +0200 |
commit | 5b851ffc2d9360970eac46b031f1b9278b3978a8 (patch) | |
tree | 42fcfd36a1161281b7fd2016e3a7beeb0b2b074b /example | |
parent | 17376e1826a2e205f41dca3d5d31ec9834bd8d52 (diff) | |
download | libayatana-appindicator-5b851ffc2d9360970eac46b031f1b9278b3978a8.tar.gz libayatana-appindicator-5b851ffc2d9360970eac46b031f1b9278b3978a8.tar.bz2 libayatana-appindicator-5b851ffc2d9360970eac46b031f1b9278b3978a8.zip |
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)
Diffstat (limited to 'example')
-rw-r--r-- | example/simple-client-vala.vala | 2 |
1 files changed, 1 insertions, 1 deletions
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)%", ""); |