After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 713018 - provide an application menu (GMenu)
provide an application menu (GMenu)
Status: RESOLVED FIXED
Product: geary
Classification: Other
Component: client
master
Other All
: High normal
: 0.6.0
Assigned To: Charles Lindsay
Geary Maintainers
review
: 714836 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-05-15 07:29 UTC by Adam Dingle
Modified: 2014-02-17 22:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Charles Lindsay 2013-11-21 20:17:37 UTC


---- Reported by adam@yorba.org 2012-05-15 12:29:00 -0700 ----

Original Redmine bug id: 5262
Original URL: http://redmine.yorba.org/issues/5262
Searchable id: yorba-bug-5262
Original author: Adam Dingle
Original description:

A GNOME Goal for 3.6 is that every application should provide an application
menu (GMenu):

http://live.gnome.org/GnomeGoals/PortToGMenu

We should at least consider turning the gear menu into this.

Related issues:
related to geary - 4221: [gtk3] Move to Gtk.Application (Open)
related to geary - Feature #5759: Unity: Use HUD instead of AppMenu/Toolbar (Duplicate)
related to geary - Feature #6599: Integrate with unity for settings (Need Information)
duplicated by geary - 7536: Move the items in the gear menu to app menu (Duplicate)



---- Additional Comments From geary-maint@gnome.bugs 2013-07-05 11:48:00 -0700 ----

### History

####

#1

Updated by Adam Dingle over 1 year ago

  * **Tracker** changed from _Task_ to _Feature_

####

#2

Updated by Adam Dingle over 1 year ago

  * **Assignee** set to _Jim Nelson_

####

#3

Updated by Jim Nelson over 1 year ago

  * **Category** set to _client_

The suggested way to do this is to use Gtk.Application (#4221). The
alternative is to use a semi-private interface:
http://developer.gnome.org/gio/stable/gio-GMenuModel-exporter.html

####

#4

Updated by Jim Nelson over 1 year ago

  * **Assignee** deleted (<strike>_Jim Nelson_</strike>)
  * **Target version** deleted (<strike>_0.2_</strike>)

This is going to be trickier than it looked on first blush, and much of the
work will be thrown away when we move to Gtk.Application. This can wait until
that happens.

####

#5

Updated by Jim Nelson 10 months ago

  * **Target version** set to _0.4.0_

####

#6

Updated by Jim Nelson 8 months ago

  * **Target version** changed from _0.4.0_ to _0.5.0_

####

#7

Updated by Jim Nelson 5 months ago

A nacent GNOME HIG for GMenu are being developed at
https://wiki.gnome.org/Design/HIG/ApplicationMenus



--- Bug imported by chaz@yorba.org 2013-11-21 20:18 UTC  ---

This bug was previously known as _bug_ 5262 at http://redmine.yorba.org/show_bug.cgi?id=5262

Unknown milestone "unknown in product geary. 
   Setting to default milestone for this product, "---".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
Resolution set on an open status.
   Dropping resolution 

Comment 1 Charles Lindsay 2013-12-11 02:40:50 UTC
This is ready-ish for review at wip/gtkactions.

The caveats:
* In Unity, the application menu says "Unknown Application Name".  It should look ok in GNOME Shell.  I've asked on IRC about this, but gotten no response yet.
* I don't know how to make sure the new app menu labels are added to the POT file.
* For now the menu just duplicates the gear menu.  To do: look for a way to detect if the app menu is supported, and nix the gear menu if so.  Also, we could consider adding other actions like Compose to the app menu.
Comment 2 Jim Nelson 2013-12-12 19:04:51 UTC
This looks fine.  Commit!

Also:

* Our internationalization procedure will need to be overhauled this release.  I added a note to bug #713827 to ensure the .interface file is added.

* Please ticket the "Unknown Application Name" problem after you commit this.

* Also please ticket that we need to determine if the app menu is supported (via GtkActions) and remove the gear menu if it's not.
Comment 3 Charles Lindsay 2013-12-12 19:36:35 UTC
Fixed in commit:2a073e8.
Comment 4 Jim Nelson 2014-02-17 22:30:06 UTC
*** Bug 714836 has been marked as a duplicate of this bug. ***