diff options
author | Ted Gould <ted@gould.cx> | 2014-11-10 16:21:34 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2014-11-10 16:21:34 -0600 |
commit | a9cc2312c545cb50d2af024b99a46f9577dc743e (patch) | |
tree | cbfd48ed9cfc85c23b125b61000ad9e79facc991 /src/service.vala | |
parent | 3f5128c28eb0aca0be9fef30e647d4ebf7666dbb (diff) | |
parent | 2f0aba374502b7ea660fce49f70e3ea972725685 (diff) | |
download | ayatana-indicator-sound-a9cc2312c545cb50d2af024b99a46f9577dc743e.tar.gz ayatana-indicator-sound-a9cc2312c545cb50d2af024b99a46f9577dc743e.tar.bz2 ayatana-indicator-sound-a9cc2312c545cb50d2af024b99a46f9577dc743e.zip |
Merge trunk
Diffstat (limited to 'src/service.vala')
-rw-r--r-- | src/service.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.vala b/src/service.vala index fa8bbdc..fd0c08d 100644 --- a/src/service.vala +++ b/src/service.vala @@ -74,7 +74,7 @@ public class IndicatorSound.Service: Object { List<string> caps = Notify.get_server_caps (); if (caps.find_custom ("x-canonical-private-synchronous", strcmp) != null) { this.notification = new Notify.Notification ("indicator-sound", "", ""); - this.notification.set_hint_string ("x-canonical-private-synchronous", "indicator-sound"); + this.notification.set_hint ("x-canonical-private-synchronous", "indicator-sound"); } } @@ -196,7 +196,7 @@ public class IndicatorSound.Service: Object { icon = "notification-audio-volume-high"; this.notification.update ("indicator-sound", "", icon); - this.notification.set_hint_int32 ("value", ((int32) (100 * v / this.max_volume)).clamp (-1, 101)); + this.notification.set_hint ("value", ((int32) (100 * v / this.max_volume)).clamp (-1, 101)); try { this.notification.show (); } |