RIP appmenu
F5 -> <primary>r for refresh
This commit is contained in:
parent
f1892eeba2
commit
b5f7399b2c
@ -14,7 +14,7 @@
|
||||
<child>
|
||||
<object class="GtkShortcutsShortcut">
|
||||
<property name="visible">True</property>
|
||||
<property name="accelerator">F5</property>
|
||||
<property name="accelerator"><primary>r</property>
|
||||
<property name="title" translatable="yes" context="shortcut window">Check for new episodes</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<interface>
|
||||
<!-- interface-requires gtk+ 3.0 -->
|
||||
<menu id="app-menu">
|
||||
<menu id="menu">
|
||||
<section>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_Check for new episodes</attribute>
|
||||
<attribute name="action">app.refresh</attribute>
|
||||
<attribute name="accel">F5</attribute>
|
||||
<attribute name="accel"><primary>r</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_Import Shows</attribute>
|
||||
@ -36,11 +36,6 @@
|
||||
<attribute name="label" translatable="yes">_About</attribute>
|
||||
<attribute name="action">app.about</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_Quit</attribute>
|
||||
<attribute name="action">app.quit</attribute>
|
||||
<attribute name="accel"><primary>q</attribute>
|
||||
</item>
|
||||
</section>
|
||||
</menu>
|
||||
</interface>
|
||||
@ -44,7 +44,7 @@ impl Default for Header {
|
||||
let update_spinner = builder.get_object("update_spinner").unwrap();
|
||||
let menu_popover = builder.get_object("menu_popover").unwrap();
|
||||
let menus = gtk::Builder::new_from_resource("/org/gnome/Hammond/gtk/menus.ui");
|
||||
let app_menu = menus.get_object("app-menu").unwrap();
|
||||
let app_menu = menus.get_object("menu").unwrap();
|
||||
|
||||
Header {
|
||||
container: header,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user