sharing: prevent incorrect sensitivity of the screen sharing password entry

Both the GSettings binding and "require password" switch were attempting to
control the sensitivity of the screen sharing password entry, so allow the
require password switch to control the sensitivity of the parent container
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=703521
This commit is contained in:
Thomas Wood 2013-09-17 16:35:25 +01:00 committed by Rui Matos
parent 4b16aad36c
commit 3e0235fd1a

View file

@ -923,8 +923,7 @@ cc_sharing_panel_setup_screen_sharing_dialog (CcSharingPanel *self)
NULL); NULL);
cc_sharing_panel_bind_switch_to_widgets (WID ("remote-control-require-password-switch"), cc_sharing_panel_bind_switch_to_widgets (WID ("remote-control-require-password-switch"),
WID ("remote-control-password-entry"), WID ("password-grid"),
WID ("remote-control-password-label"),
NULL); NULL);
cc_sharing_panel_setup_label_with_hostname (self, cc_sharing_panel_setup_label_with_hostname (self,