aboutsummaryrefslogtreecommitdiff
path: root/src/volume-warning.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-28 17:04:18 -0600
committercharles kerr <charlesk@canonical.com>2015-12-28 17:04:18 -0600
commit8beacfb52ca4d044218da633110d996727781494 (patch)
tree49d3be16a6b45a1831733bdd050146e7a89388f8 /src/volume-warning.vala
parent18a6fca75d2ccd489a26b6fd40dbb69ce8f5008f (diff)
downloadayatana-indicator-sound-8beacfb52ca4d044218da633110d996727781494.tar.gz
ayatana-indicator-sound-8beacfb52ca4d044218da633110d996727781494.tar.bz2
ayatana-indicator-sound-8beacfb52ca4d044218da633110d996727781494.zip
remove earlier unneeded tracers
Diffstat (limited to 'src/volume-warning.vala')
-rw-r--r--src/volume-warning.vala11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/volume-warning.vala b/src/volume-warning.vala
index 39326f5..c36a3f7 100644
--- a/src/volume-warning.vala
+++ b/src/volume-warning.vala
@@ -143,16 +143,12 @@ public class VolumeWarning : Object
private void pulse_update_sink_inputs()
{
- GLib.message("--> list_input_sinks");
-
_pulse_context.get_sink_input_info_list (pulse_on_sink_input_info);
}
private void context_events_cb (Context c, Context.SubscriptionEventType t, uint32 index)
{
- GLib.message("");
-
if ((t & Context.SubscriptionEventType.FACILITY_MASK) != Context.SubscriptionEventType.SINK_INPUT)
return;
@@ -168,7 +164,7 @@ public class VolumeWarning : Object
pulse_update_sink_inputs();
break;
default:
- GLib.message("Sink input event not known.");
+ GLib.debug("Sink input event not known.");
break;
}
}
@@ -385,19 +381,14 @@ public class VolumeWarning : Object
}
private void show() {
- GLib.message("in show()");
preshow();
_ok_volume = multimedia_volume;
- GLib.message("calling notification.show");
_notification.show();
- GLib.message("setting 'active' property to true");
this.active = true;
// lower the volume to just under the warning level
- GLib.message("setting multimedia volume to be just under the warning level");
_set_multimedia_volume (_options.loud_volume()-1);
- GLib.message("leaving show()");
}
private void on_user_response(IndicatorSound.WarnNotification.Response response) {