comment-out some debugging prints

This commit is contained in:
Daniel Pavel 2013-05-04 19:50:50 +02:00
parent e819265e7e
commit 4cdd796a3d
2 changed files with 3 additions and 3 deletions

View File

@ -83,14 +83,14 @@ def _run(args):
# if l is not None:
# l.stop()
print ("****", action, device, listeners)
# print ("****", action, device, listeners)
# callback delivering status notifications from the receiver/devices to the UI
from gi.repository import GLib
from logitech.unifying_receiver.status import ALERT
def status_changed(device, alert=ALERT.NONE, reason=None):
assert device is not None
print ("status changed", device, reason)
# print ("status changed", device, reason)
GLib.idle_add(ui.status_icon.update, icon, device)
GLib.idle_add(ui.main_window.update, device, alert & ALERT.SHOW_WINDOW)

View File

@ -425,7 +425,7 @@ def _update_device_box(frame, dev):
def update(device, popup=False):
assert device is not None
print ("main_window.update", device)
# print ("main_window.update", device)
receiver = device if device.kind is None else device.receiver
w = _windows.get(receiver.path)