user-accounts: Avoid double password prompt
Don't require a password to be typed just to be able to launch the parental controls app which itself will ask for a password to be typed.
This commit is contained in:
parent
97e858d697
commit
3e26f594fc
1 changed files with 0 additions and 8 deletions
|
@ -1438,10 +1438,6 @@ on_permission_changed (CcUserPanel *self)
|
|||
|
||||
gtk_widget_set_sensitive (GTK_WIDGET (self->last_login_row), TRUE);
|
||||
remove_unlock_tooltip (GTK_WIDGET (self->last_login_row));
|
||||
#ifdef HAVE_MALCONTENT
|
||||
gtk_widget_set_sensitive (GTK_WIDGET (self->parental_controls_row), TRUE);
|
||||
remove_unlock_tooltip (GTK_WIDGET (self->parental_controls_row));
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
gtk_stack_set_visible_child (self->user_icon_stack, GTK_WIDGET (self->user_icon_image));
|
||||
|
@ -1457,10 +1453,6 @@ on_permission_changed (CcUserPanel *self)
|
|||
|
||||
gtk_widget_set_sensitive (GTK_WIDGET (self->last_login_row), FALSE);
|
||||
add_unlock_tooltip (GTK_WIDGET (self->last_login_row));
|
||||
#ifdef HAVE_MALCONTENT
|
||||
gtk_widget_set_sensitive (GTK_WIDGET (self->parental_controls_row), FALSE);
|
||||
add_unlock_tooltip (GTK_WIDGET (self->parental_controls_row));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue