Philip Withnall
77df081fec
user-accounts: Make dim-label behaviour better for parental controls row
...
This makes it behave a bit more like other rows.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/26
2021-02-01 03:46:14 +00:00
Philip Withnall
2d41210b2f
user-accounts: Add a description label for the Parental Controls row
...
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/26
2021-02-01 03:46:14 +00:00
Philip Withnall
2809316fd1
user-accounts: Show ‘Add User’ button when panel is locked
...
Rather than hiding the ‘Add User’ button when the panel is locked, show
it in an insensitive state. This gives the user a hint that in order to
add a new user, they will need to unlock the panel.
See: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/26#note_705945
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2020-12-11 17:19:11 +00:00
Umang Jain
cd391b4942
user-accounts: Add a launcher for parental controls app
...
malcontent ships malcontent-control[1] which is the user interface
to interact with various parental-control settings. Add a launcher
as per the design mockups[2] to launch malcontent-control.
[1]: https://gitlab.freedesktop.org/pwithnall/malcontent/-/blob/master/README.md
[2]: https://gitlab.gnome.org/Teams/Design/settings-mockups/blob/master/users/users.png
2020-06-17 12:56:43 +01:00
Ondrej Holy
502583fcc5
user-accounts: Move add user button tooltip in UI file
...
The add user button is shown only if the panel is unlocked, but
tooltips are also set for the case when the panel is not unlocked.
Let's move the tooltip text in the UI file directly and remove
the obsolete codes.
2020-05-05 09:25:41 +00:00
Ondrej Holy
ac46922b65
user-accounts: Show permissions toolbar also if no users found
...
The permissions toolbar is not shown currently if no users are found
which prevents creation of new user accounts. Let's show the toolbar
also in this case.
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/988
2020-05-05 09:25:41 +00:00
Felipe Borges
b4bcae2d2d
user-accounts: Only set "Add User" visibility when permission changed
...
To avoid showing and hiding rapidly.
See #859
2020-02-17 15:04:26 +01:00
Felipe Borges
8a1c6f696e
user-accounts: Rename "Last Login" entry to "Account Activity"
...
According to the mockups at
https://gitlab.gnome.org/Teams/Design/settings-mockups/raw/master/users/users.png
Other than renaming the label, we prepend "Last login" to the
date-time string.
Fixes #771
2020-01-30 08:04:09 +00:00
Felipe Borges
6db4d9e933
user-account: Add border around user image button
...
According to the mockups at
https://gitlab.gnome.org/Teams/Design/settings-mockups/raw/master/users/users.png
Fixes #771
2020-01-30 08:04:09 +00:00
Felipe Borges
05313d35e2
user-accounts: UI style improvements
...
According to the mockups at
https://gitlab.gnome.org/Teams/Design/settings-mockups/raw/master/users/users.png
Fixes #771
2020-01-30 08:04:09 +00:00
Felipe Borges
43b41cb1fa
user-accounts: Make the full_name_entry and editable widget
...
According to the mockups at
https://gitlab.gnome.org/Teams/Design/settings-mockups/blob/master/users/users.png
Fixes #771
2020-01-30 08:04:09 +00:00
Felipe Borges
3576133654
user-accounts: Use CcPermissionInfobar to lock/unlock the panel
...
This moves the GtkLockButton out of the headerbar and starts to
consume the CcPermissionInfobar API to lock/unlock the panel.
See #771
2020-01-06 14:43:11 +00:00
Robert Ancell
cb6241f540
user-accounts: Replace GtkStack child names with widget references
...
The child names are easier to break if widgets are changed - this can't be
detected by the compiler.
2019-12-10 09:54:27 +00:00
Mohammed Sadiq
48912bef01
user-panel: Fix entry overflow on minimum width
...
And set a margin on either side, so that it won't expand up to the border
2019-06-10 16:46:16 +00:00
Georges Basile Stavracas Neto
db94f197fa
user-panels: Limit full name length
...
GNOME Settings allows limitless full names, which is
actually accepted by most of the stack but may break
GNOME Settings, GNOME Shell and other user-visible
applications that show the user names.
Limit the user full name entries to 255 characters,
which is the same value used by GNOME Initial Setup.
2019-02-13 15:06:53 +00:00
Felipe Borges
12ad6a1b18
user-account: Remove border from user image button
...
See https://gitlab.gnome.org/GNOME/Initiatives/issues/6
2019-02-06 11:53:56 +00:00
Philip Withnall
1ca4104844
user-accounts: Allow ‘Remove User’ button to be focused
...
Otherwise it isn’t included in the tab focus cycle, and can’t be
navigated to with the tab key.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-01-22 16:50:24 +00:00
Robert Ancell
262baed6a1
user-accounts: Rename UmCarousel to CcCarousel
...
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:06:15 +13:00
Robert Ancell
4767a094bd
user-accounts: Rename UmUserImage to CcUserImage
...
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:06:15 +13:00
Robert Ancell
ec529e8566
user-accounts: Use GtkTemplate
...
Switch from GtkBuilder to using GtkTemplate.
Rename .[ch] and .ui files to standard names.
Rename widget IDs to be more readable.
Drop widget IDs that are not used.
Move code into the .ui file that can be.
Connect signals in swapped form.
2018-10-25 11:28:53 +00:00