mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-09-06 22:01:27 +00:00
frontend: Add place-holder for redirect options
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user