Pablo Correa Gómez
fcbe0c039b
user-accounts: Try non TRANSLIT conversion if TRANSLIT conversion fails
...
This fixes a crash in musl-based systems, where TRANSLIT is not
implemented. I followed musl-maintainer recommendation[1] of doing
a run-time check to verify the behavior under these circumstances.
[1] https://github.com/akrennmair/newsbeuter/issues/364#issuecomment-250208235
2022-02-15 14:08:04 +00:00
Georges Basile Stavracas Neto
55072f54db
users: Hide enterprise group in new users dialog
...
Otherwise we get a strange shadow at the bottom.
2022-02-08 11:05:51 -03:00
Felipe Borges
7f8e90a966
user-accounts: Port to gtk4/libadwaita implementing the new design
...
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/users/users.png
2022-02-08 13:29:56 +00:00
Robert Ancell
c690e921ca
user-accounts: Use g_autoptr/g_autofree
2021-01-08 15:25:07 +13:00
Robert Ancell
100d3684f2
user-accounts: Connect signals with g_signal_connect_object in swapped form
2020-03-30 16:18:50 +13:00
Ondrej Holy
7f010f3138
users: Show username hint immediately
...
Changes made by GNOME/gnome-control-center!359 caused that the username
hint ("This will be used to name your home folder and can’t be changed.")
is not shown immediately after opening the "Add User" dialog. This change
was unwanted. Let's show the hint immediately after opening the dialog as
it was before.
2020-01-22 10:55:13 +01:00
Ondrej Holy
1f71ae6046
user-accounts: Check username validity over usermod
...
Username policies differ across the distributions. See the discussion on:
https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/359
It is not possible to hard-code some rules here without the need for
downstream modifications. Let's check the validity of usernames dynamically
over "usermod" to prevent this.
Just be careful that this is based on undocumented usermod behavior, which
may change in the future.
2019-08-26 16:26:45 +03:00
Robert Ancell
b40b0a4d05
user-accounts: Rename um-utils.[ch] to user-utils.[ch]
...
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:10:15 +13:00
Robert Ancell
a41780267b
user-accounts: Move non-shared function
...
The generate_username_choices function is only used in CcAddUserDialog
2018-11-14 10:10:15 +13:00
Robert Ancell
feaa29bfc0
user-accounts: Rename UmRealmManager to CcRealmManager
...
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:10:14 +13:00
Robert Ancell
faaece85d2
user-accounts: Replace gtk_stack_set_visible_child with gtk_stack_set_visible
2018-11-10 09:39:09 +13:00
Robert Ancell
aac990aa83
user-accounts: Re-align fields in class structure
2018-11-10 09:28:23 +13:00
Robert Ancell
ad76438817
user-accounts: Focus domain entry when selecting enterprise login
...
And return focus correctly when switching back to local login
2018-11-10 09:24:34 +13:00
Robert Ancell
e41506798a
Replace tabs with whitespace
2018-11-10 09:24:34 +13:00
Robert Ancell
26b0720200
user-accounts: Use gtk_dialog_run for CcAddUserDialog
2018-11-10 09:24:34 +13:00
Robert Ancell
96c2c4d62c
user-accounts: Simplify how models are accessed
2018-11-10 09:24:34 +13:00
Robert Ancell
d77e3423d1
user-accounts: Use consistent naming for widgets
...
Remove widget IDs that are unused.
2018-11-10 09:24:33 +13:00
Robert Ancell
74cf3bcda1
user-accounts: Consolidate now simpler init functions
2018-11-10 09:24:33 +13:00
Robert Ancell
043b6dc907
user-accounts: Move CcAddUserDialog signals into .ui file
2018-11-10 09:24:33 +13:00
Robert Ancell
a4b76204ff
user-accounts: Move default widget visibility and sensitivity into .ui file
2018-11-10 09:24:33 +13:00
Robert Ancell
1691cd74fc
user-accounts: Move realm model into .ui file
2018-11-10 09:24:33 +13:00
Robert Ancell
550cbc2367
user-accounts: Use actual widget types in CcAddUserDialog
...
Instead of using GtkWidget and casting everywhere
2018-11-10 09:24:33 +13:00
Robert Ancell
112b61c0ff
user-accounts: Rename UmAccountDialog to CcAddUserDialog
...
Um is a naming hangover from before this was part of g-c-c.
2018-11-10 09:24:33 +13:00