about summary refs log tree commit diff
path: root/clients/tui/nmt-editor.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-05-05 17:48:57 +0200
committerMichael Biebl <biebl@debian.org>2015-05-05 17:48:57 +0200
commitf408e27bccfacf347605a8d98649975a68f38a17 (patch)
tree654fd6695c31511baf919b1c0870d119a352ed75 /clients/tui/nmt-editor.c
parent2c032d8f1c6292c1338a615e6ec40252889ba85c (diff)
Imported Upstream version 1.0.2 upstream/1.0.2
Diffstat (limited to 'clients/tui/nmt-editor.c')
-rw-r--r--clients/tui/nmt-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/tui/nmt-editor.c b/clients/tui/nmt-editor.c
index 11fe758d..abc92866 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 ());