user-accounts: Show "Take a picture" button only when cam is available
We already had the machanism to show/hide the button based on the number of camera devices detected. We were just not checking for that at startup. Fixes #1087
This commit is contained in:
parent
5202edaebf
commit
6db6d8a402
1 changed files with 1 additions and 0 deletions
|
@ -387,6 +387,7 @@ setup_cheese_camera_device_monitor (CcAvatarChooser *self)
|
|||
g_signal_connect_object (G_OBJECT (self->monitor), "added", G_CALLBACK (device_added), self, G_CONNECT_SWAPPED);
|
||||
g_signal_connect_object (G_OBJECT (self->monitor), "removed", G_CALLBACK (device_removed), self, G_CONNECT_SWAPPED);
|
||||
cheese_camera_device_monitor_coldplug (self->monitor);
|
||||
update_photo_menu_status (self);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue