The worst-case size of the normalized printer name is twice the
original length (if a space is inserted between each character) plus one
byte for the terminating null byte.
Fixes#2619
Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
Originally the screen reader wasn't reading the text of the label
within the popover. It read when we set label.selectable = True.
That had the side-effect of making the label have the visual look
of a selectable label (as expected).
This hack unsets the selectable state of the popover when it is
visible, but that still allows the screen reader to read the label.
Fixes#2508
I was going to drop the panels that are now subpages of the Privacy
panel, but I just figured I better just claim "General" rather than
list about half of the GNOME Settings panels.
Let's move some of the bug reporting guidelines to the GitLab issue
template and simplify the README.md file.
We also now link to our development wiki.
One cannot remove an user if they are currently logged in. Before
we used to show an error message stating that this didn't work.
Now we make the "Remove User" button insensitive and show a label
next to it stating why the user cannot be deleted.
See a47f3ab860/image.png
We have code to show the "Restart" notification when the user
would change its account-type between STANDARD/ADMIN, except that
we never allow that to happen. So this code was never used.
We have the would_demote_only_admin function that is used to set
the visibility of the Account Type row. So we won't ever display
the Account Type row if the user would demote the only admin.
Otherwise the panel might look broken in the first half second it
takes to load the user data from accountsservice. The time might
get significant for enterprise/remote accounts.