Commit b5f7399b authored by Zander Brown's avatar Zander Brown

RIP appmenu

F5 -> <primary>r for refresh
parent f1892eeb
......@@ -14,7 +14,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="accelerator">F5</property>
<property name="accelerator">&lt;primary&gt;r</property>
<property name="title" translatable="yes" context="shortcut window">Check for new episodes</property>
</object>
</child>
......@@ -30,4 +30,4 @@
</object>
</child>
</object>
</interface>
</interface>
\ No newline at end of file
<?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">&lt;primary&gt;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">&lt;primary&gt;q</attribute>
</item>
</section>
</menu>
</interface>
\ No newline at end of file
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment