frontend: Add place-holder for redirect options

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
Ikey Doherty
2017-11-05 18:11:30 +00:00
parent da439aa484
commit 1edead3929
+14
View File
@@ -27,6 +27,11 @@ struct _LsiSettingsWindow {
GtkWidget *check_intercept;
#endif
/* Only when libredirect is enabled will we have this option */
#ifdef HAVE_LIBREDIRECT
GtkWidget *check_redirect;
#endif
/* Always have these guys */
GtkWidget *check_native;
GtkWidget *check_emul32;
@@ -189,6 +194,15 @@ static void lsi_settings_window_init(LsiSettingsWindow *self)
set_row_sensitive(self->check_intercept, FALSE);
#endif
#ifdef HAVE_LIBREDIRECT
self->check_redirect = insert_grid_toggle(grid,
&row,
"Use the redirect library",
"Override system calls to fix known bugs in some "
"Linux ports. This option is recommended.");
set_row_sensitive(self->check_redirect, FALSE);
#endif
/* Finally, make sure we're visible will we. */
gtk_container_set_border_width(GTK_CONTAINER(self), 12);
gtk_widget_show_all(GTK_WIDGET(self));