Fix shortcut to exit fullscreen mode (close #71)
Fix the shortcut for fullscreen mode to also exit it. Additionally fix the shortcuts window to show the correct shortcut for fullscreen mode.
This commit is contained in:
parent
9ad3086ace
commit
ddf8368bfd
8 changed files with 115 additions and 96 deletions
|
|
@ -419,7 +419,7 @@
|
|||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="tooltip_text" translatable="yes">Show the cover in fullscreen mode</property>
|
||||
<signal name="clicked" handler="on_cover-toolbar-fullscreen_clicked" swapped="no"/>
|
||||
<property name="action_name">win.toggle-fullscreen</property>
|
||||
<child>
|
||||
<object class="GtkImage">
|
||||
<property name="visible">True</property>
|
||||
|
|
@ -427,7 +427,6 @@
|
|||
<property name="icon_name">view-fullscreen-symbolic</property>
|
||||
</object>
|
||||
</child>
|
||||
<accelerator key="F11" signal="activate"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,11 @@
|
|||
<attribute name="label" translatable="yes">Clear Playlist</attribute>
|
||||
<attribute name="accel"><Primary>r</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="action">win.toggle-fullscreen</attribute>
|
||||
<attribute name="label" translatable="yes">Toggle Fullscreen</attribute>
|
||||
<attribute name="accel">F11</attribute>
|
||||
</item>
|
||||
</section>
|
||||
<section>
|
||||
<item>
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@
|
|||
<child>
|
||||
<object class="GtkShortcutsShortcut">
|
||||
<property name="visible">1</property>
|
||||
<property name="accelerator"><alt>Return F11</property>
|
||||
<property name="accelerator">F11</property>
|
||||
<property name="title" translatable="yes">Show the cover in fullscreen mode</property>
|
||||
</object>
|
||||
</child>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue