Commit 2852f2bb authored by Julian Sparber's avatar Julian Sparber

AvatarSelector: fix cheese_button sensitive when no available camera

The addd signal on the camera_monitor is never fiered
if there is no available camera when coldplug () is called.
Therefore the button remains sensitive.
parent de7c7d4a
Pipeline #21201 failed with stage
......@@ -62,6 +62,7 @@ public class Contacts.AvatarSelector : Popover {
#if HAVE_CHEESE
this.cheese_button.visible = true;
this.cheese_button.sensitive = false;
// Look for camera devices.
this.camera_monitor = new Cheese.CameraDeviceMonitor ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment