Fix the Legacy button within the GUI
This commit is contained in:
parent
1376787241
commit
293a36e220
@ -253,7 +253,7 @@ static void
|
|||||||
on_set_mode_legacy (GtkBuilder *builder)
|
on_set_mode_legacy (GtkBuilder *builder)
|
||||||
{
|
{
|
||||||
gchar *out, *argv[] = { "pkexec",
|
gchar *out, *argv[] = { "pkexec",
|
||||||
PROJECT_INSTALL_BINDIR "/" PROJECT_NAME, "--mode", "compat", NULL };
|
PROJECT_INSTALL_BINDIR "/" PROJECT_NAME, "--mode", "legacy", NULL };
|
||||||
if (spawn_ctl (argv, &out, builder))
|
if (spawn_ctl (argv, &out, builder))
|
||||||
g_free (out);
|
g_free (out);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user