48
48
from bottles .frontend .windows .drives import DrivesDialog
49
49
from bottles .frontend .windows .envvars import EnvVarsDialog
50
50
from bottles .frontend .windows .exclusionpatterns import ExclusionPatternsDialog
51
- from bottles .frontend .windows .fsr import FsrDialog
52
51
from bottles .frontend .windows .gamescope import GamescopeDialog
53
52
from bottles .frontend .windows .mangohud import MangoHudDialog
54
53
from bottles .frontend .windows .protonalert import ProtonAlertDialog
@@ -67,7 +66,6 @@ class PreferencesView(Adw.PreferencesPage):
67
66
# region Widgets
68
67
btn_manage_gamescope = Gtk .Template .Child ()
69
68
btn_manage_vkbasalt = Gtk .Template .Child ()
70
- btn_manage_fsr = Gtk .Template .Child ()
71
69
btn_manage_mangohud = Gtk .Template .Child ()
72
70
btn_manage_sandbox = Gtk .Template .Child ()
73
71
btn_manage_versioning_patterns = Gtk .Template .Child ()
@@ -90,7 +88,6 @@ class PreferencesView(Adw.PreferencesPage):
90
88
switch_mangohud = Gtk .Template .Child ()
91
89
switch_obsvkc = Gtk .Template .Child ()
92
90
switch_vkbasalt = Gtk .Template .Child ()
93
- switch_fsr = Gtk .Template .Child ()
94
91
switch_nvapi = Gtk .Template .Child ()
95
92
switch_gamemode = Gtk .Template .Child ()
96
93
switch_gamescope = Gtk .Template .Child ()
@@ -146,7 +143,6 @@ def __init__(self, details, config, **kwargs):
146
143
self .row_manage_display .connect ("activated" , self .__show_display_settings )
147
144
self .btn_manage_gamescope .connect ("clicked" , self .__show_gamescope_settings )
148
145
self .btn_manage_vkbasalt .connect ("clicked" , self .__show_vkbasalt_settings )
149
- self .btn_manage_fsr .connect ("clicked" , self .__show_fsr_settings )
150
146
self .btn_manage_mangohud .connect ("clicked" , self .__show_mangohud_settings )
151
147
self .btn_manage_sandbox .connect ("clicked" , self .__show_sandbox_settings )
152
148
self .btn_manage_versioning_patterns .connect (
@@ -158,7 +154,6 @@ def __init__(self, details, config, **kwargs):
158
154
self .switch_mangohud .connect ("state-set" , self .__toggle_mangohud )
159
155
self .switch_obsvkc .connect ("state-set" , self .__toggle_obsvkc )
160
156
self .switch_vkbasalt .connect ("state-set" , self .__toggle_vkbasalt )
161
- self .switch_fsr .connect ("state-set" , self .__toggle_fsr )
162
157
self .switch_nvapi .connect ("state-set" , self .__toggle_nvapi )
163
158
# self.switch_latencyflex.connect('state-set', self.__toggle_latencyflex)
164
159
self .switch_gamemode .connect ("state-set" , self .__toggle_gamemode )
@@ -414,7 +409,6 @@ def set_config(self, config: BottleConfig):
414
409
self .switch_mangohud .handler_block_by_func (self .__toggle_mangohud )
415
410
self .switch_nvapi .handler_block_by_func (self .__toggle_nvapi )
416
411
self .switch_vkbasalt .handler_block_by_func (self .__toggle_vkbasalt )
417
- self .switch_fsr .handler_block_by_func (self .__toggle_fsr )
418
412
self .switch_obsvkc .handler_block_by_func (self .__toggle_obsvkc )
419
413
self .switch_gamemode .handler_block_by_func (self .__toggle_gamemode )
420
414
self .switch_gamescope .handler_block_by_func (self .__toggle_gamescope )
@@ -440,7 +434,6 @@ def set_config(self, config: BottleConfig):
440
434
self .switch_mangohud .set_active (parameters .mangohud )
441
435
self .switch_obsvkc .set_active (parameters .obsvkc )
442
436
self .switch_vkbasalt .set_active (parameters .vkbasalt )
443
- self .switch_fsr .set_active (parameters .fsr )
444
437
self .switch_nvapi .set_active (parameters .dxvk_nvapi )
445
438
self .switch_gamemode .set_active (parameters .gamemode )
446
439
self .switch_gamescope .set_active (parameters .gamescope )
@@ -552,7 +545,6 @@ def set_config(self, config: BottleConfig):
552
545
self .switch_mangohud .handler_unblock_by_func (self .__toggle_mangohud )
553
546
self .switch_nvapi .handler_unblock_by_func (self .__toggle_nvapi )
554
547
self .switch_vkbasalt .handler_unblock_by_func (self .__toggle_vkbasalt )
555
- self .switch_fsr .handler_unblock_by_func (self .__toggle_fsr )
556
548
self .switch_obsvkc .handler_unblock_by_func (self .__toggle_obsvkc )
557
549
self .switch_gamemode .handler_unblock_by_func (self .__toggle_gamemode )
558
550
self .switch_gamescope .handler_unblock_by_func (self .__toggle_gamescope )
@@ -590,10 +582,6 @@ def __show_vkbasalt_settings(self, widget):
590
582
new_window = VkBasaltDialog (parent_window = self .window , config = self .config )
591
583
new_window .present ()
592
584
593
- def __show_fsr_settings (self , widget ):
594
- new_window = FsrDialog (parent_window = self .window , config = self .config )
595
- new_window .present ()
596
-
597
585
def __show_mangohud_settings (self , widget ):
598
586
new_window = MangoHudDialog (parent_window = self .window , config = self .config )
599
587
new_window .present ()
@@ -669,12 +657,6 @@ def __toggle_vkbasalt(self, widget, state):
669
657
config = self .config , key = "vkbasalt" , value = state , scope = "Parameters"
670
658
).data ["config" ]
671
659
672
- def __toggle_fsr (self , widget , state ):
673
- """Toggle the FSR for current bottle"""
674
- self .config = self .manager .update_config (
675
- config = self .config , key = "fsr" , value = state , scope = "Parameters"
676
- ).data ["config" ]
677
-
678
660
def __toggle_nvapi (self , widget = False , state = False ):
679
661
"""Install/Uninstall NVAPI from the bottle"""
680
662
self .queue .add_task ()
0 commit comments