run: Fix handling of which filesystems you can access

tingping/wmclass
Alexander Larsson 2015-09-23 13:53:04 +02:00
parent 727f50e923
commit 752b1a0a4b
1 changed files with 2 additions and 2 deletions

View File

@ -750,9 +750,9 @@ xdg_app_context_load_metadata (XdgAppContext *context,
if (!xdg_app_context_verify_filesystem (fs, error))
return FALSE;
if (remove)
xdg_app_context_add_filesystem (context, fs);
else
xdg_app_context_remove_filesystem (context, fs);
else
xdg_app_context_add_filesystem (context, fs);
}
}