From 675d545bcc614a9e9d734eb05c00d4e01c0797a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Wed, 7 Jan 2015 17:54:13 +0100 Subject: [PATCH] tui: fix saving "Available to all users" (rh #1176042) --- clients/tui/nmt-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/tui/nmt-editor.c b/clients/tui/nmt-editor.c index 11fe758dac..abc9286637 100644 --- a/clients/tui/nmt-editor.c +++ b/clients/tui/nmt-editor.c @@ -256,7 +256,7 @@ permissions_transform_from_allusers (GBinding *binding, gboolean allusers = g_value_get_boolean (source_value); char **perms = NULL; - if (allusers) { + if (!allusers) { perms = g_new (char *, 2); perms[0] = g_strdup_printf ("user:%s:", g_get_user_name ());