Nuke supervised accounts
The org.freedesktop.Accounts mechanism no longer supports supervised accounts as per the patch in https://bugs.freedesktop.org/show_bug.cgi?id=35390 Therefore, nuke supervised accounts from the user interface as well. Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
af40513416
commit
bc160c4537
4 changed files with 1 additions and 12 deletions
|
@ -24,10 +24,6 @@
|
|||
<col id="0" translatable="yes" context="Account type">Administrator</col>
|
||||
<col id="1">1</col>
|
||||
</row>
|
||||
<row>
|
||||
<col id="0" translatable="yes" context="Account type">Supervised</col>
|
||||
<col id="1">2</col>
|
||||
</row>
|
||||
</data>
|
||||
</object>
|
||||
<object class="GtkDialog" id="dialog">
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
<col id="0" translatable="yes" context="Account type">Administrator</col>
|
||||
<col id="1">1</col>
|
||||
</row>
|
||||
<row>
|
||||
<col id="0" translatable="yes" context="Account type">Supervised</col>
|
||||
<col id="1">2</col>
|
||||
</row>
|
||||
</data>
|
||||
</object>
|
||||
<object class="GtkListStore" id="language-model">
|
||||
|
|
|
@ -35,8 +35,6 @@ um_account_type_get_name (UmAccountType account_type)
|
|||
return C_("Account type", "Standard");
|
||||
case UM_ACCOUNT_TYPE_ADMINISTRATOR:
|
||||
return C_("Account type", "Administrator");
|
||||
case UM_ACCOUNT_TYPE_SUPERVISED:
|
||||
return C_("Account type", "Supervised");
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
|
|
|
@ -26,8 +26,7 @@ G_BEGIN_DECLS
|
|||
|
||||
typedef enum {
|
||||
UM_ACCOUNT_TYPE_STANDARD,
|
||||
UM_ACCOUNT_TYPE_ADMINISTRATOR,
|
||||
UM_ACCOUNT_TYPE_SUPERVISED
|
||||
UM_ACCOUNT_TYPE_ADMINISTRATOR
|
||||
} UmAccountType;
|
||||
|
||||
const gchar *um_account_type_get_name (UmAccountType account_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue