mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Change the accelerators- ctrl-I for installed games, ctrl-H for hidden.
This commit is contained in:
parent
74ce7b1d70
commit
7e4b0e2bd0
|
@ -135,7 +135,7 @@ class LutrisWindow(Gtk.ApplicationWindow): # pylint: disable=too-many-public-me
|
|||
self.on_show_installed_state_change,
|
||||
type="b",
|
||||
default=self.filter_installed,
|
||||
accel="<Primary>h",
|
||||
accel="<Primary>i",
|
||||
),
|
||||
"toggle-viewtype": Action(self.on_toggle_viewtype),
|
||||
"icon-type": Action(self.on_icontype_state_change, type="s", default=self.icon_type),
|
||||
|
@ -155,6 +155,7 @@ class LutrisWindow(Gtk.ApplicationWindow): # pylint: disable=too-many-public-me
|
|||
self.hidden_state_change,
|
||||
type="b",
|
||||
default=self.show_hidden_games,
|
||||
accel="<Primary>h",
|
||||
),
|
||||
"open-forums": Action(lambda *x: open_uri("https://forums.lutris.net/")),
|
||||
"open-discord": Action(lambda *x: open_uri("https://discord.gg/Pnt5CuY")),
|
||||
|
|
|
@ -454,7 +454,7 @@
|
|||
<property name="receives-default">False</property>
|
||||
<property name="action-name">win.show-installed-only</property>
|
||||
<property name="text" translatable="yes">_Installed Games Only</property>
|
||||
<accelerator key="h" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
|
||||
<accelerator key="i" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
@ -469,6 +469,7 @@
|
|||
<property name="receives-default">False</property>
|
||||
<property name="action-name">win.show-hidden-games</property>
|
||||
<property name="text" translatable="yes">Show _Hidden Games</property>
|
||||
<accelerator key="h" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
|
Loading…
Reference in a new issue