Commit f072305f authored by Jeremy Bicha's avatar Jeremy Bicha 🎹 Committed by Michael Terry

menus: Update for GNOME 3.32 recommendations
parent 48c98324
<?xml version="1.0" encoding="UTF-8"?>
<!-- -*- Mode: XML; indent-tabs-mode: nil; tab-width: 2 -*- -->
<menu id="app-menu">
<menu id="primary-menu">
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
......@@ -12,13 +12,9 @@
<attribute name="action"></attribute>
<attribute name="label" translatable="yes">_About</attribute>
<attribute name="label" translatable="yes">_About Backups</attribute>
<attribute name="action">app.about</attribute>
<attribute name="label" translatable="yes">_Quit</attribute>
<attribute name="action">app.quit</attribute>
......@@ -163,6 +163,13 @@ public class DejaDupApp : Gtk.Application
header.show_close_button = true;
var menu = this.get_menu_by_id("primary-menu");
var menu_button = new Gtk.MenuButton ();
menu_button.set_image(new Gtk.Image.from_icon_name("open-menu-symbolic", Gtk.IconSize.BUTTON));;
var auto_switch = new DejaDup.PreferencesPeriodicSwitch();
auto_switch.valign = Gtk.Align.CENTER;
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