Commit 3585eae8 authored by Yosef Or Boczko's avatar Yosef Or Boczko Committed by Meg Ford

App menu: standardize Preferences/About/Quit

Add a separatoe between the preferences menu and the
about and quit menus. and replace "About Sound Recorder"
with "About".

See https://wiki.gnome.org/Design/HIG/ApplicationMenus
and https://bugzilla.gnome.org/show_bug.cgi?id=722868.
Signed-off-by: Meg Ford's avatarMeg Ford <meg387@gmail.com>
parent 73e4426e
......@@ -59,9 +59,13 @@ const Application = new Lang.Class({
_initAppMenu: function() {
let menu = new Gio.Menu();
menu.append(_("Preferences"), 'app.preferences');
menu.append(_("About Sound Recorder"), 'app.about');
menu.append(_("Quit"),'app.quit');
let section = new Gio.Menu();
menu.append_section(null, section);
section.append(_("Preferences"), 'app.preferences');
section = new Gio.Menu();
menu.append_section(null, section);
section.append(_("About"), 'app.about');
section.append(_("Quit"),'app.quit');
this.set_app_menu(menu);
let preferences = new Gio.SimpleAction({ name: 'preferences' });
......
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