aboutsummaryrefslogtreecommitdiff
path: root/src/info-notification.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-31 11:19:07 -0600
committercharles kerr <charlesk@canonical.com>2015-12-31 11:19:07 -0600
commitfe7c32942f923e56dfc757f6666151ddcb694f43 (patch)
tree7077ec1d609d3f4cd1e3f9ac2765e8730fac9f37 /src/info-notification.vala
parentdf6953f55bdbc91c8a77b7ccf539973a2a0d43fa (diff)
downloadayatana-indicator-sound-fe7c32942f923e56dfc757f6666151ddcb694f43.tar.gz
ayatana-indicator-sound-fe7c32942f923e56dfc757f6666151ddcb694f43.tar.bz2
ayatana-indicator-sound-fe7c32942f923e56dfc757f6666151ddcb694f43.zip
copyediting: whitespace
Diffstat (limited to 'src/info-notification.vala')
-rw-r--r--src/info-notification.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/info-notification.vala b/src/info-notification.vala
index 2aabcba..76a5992 100644
--- a/src/info-notification.vala
+++ b/src/info-notification.vala
@@ -22,13 +22,13 @@ using Notify;
public class IndicatorSound.InfoNotification: Notification
{
protected override Notify.Notification create_notification () {
- return new Notify.Notification(_("Volume"), "", "audio-volume-muted");
+ return new Notify.Notification (_("Volume"), "", "audio-volume-muted");
}
public void show (VolumeControl.ActiveOutput active_output,
double volume,
bool is_high_volume) {
- if (!notify_server_supports("x-canonical-private-synchronous"))
+ if (!notify_server_supports ("x-canonical-private-synchronous"))
return;
/* Determine Label */
@@ -45,7 +45,7 @@ public class IndicatorSound.InfoNotification: Notification
n.set_hint ("x-canonical-private-synchronous", "true");
n.set_hint ("x-canonical-value-bar-tint", is_high_volume ? "true" : "false");
n.set_hint ("value", ((int32)((volume * 100.0) + 0.5)).clamp(0, 100));
- show_notification();
+ show_notification ();
}
private static string get_notification_label (VolumeControl.ActiveOutput active_output) {