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 705224 - Empty menu items in main Gnote menu
Empty menu items in main Gnote menu
Status: RESOLVED NOTABUG
Product: gnote
Classification: Applications
Component: main
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: gnote-maint
gnote-maint
Depends on:
Blocks:
 
 
Reported: 2013-08-01 04:21 UTC by Popo
Modified: 2013-08-26 19:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Popo 2013-08-01 04:21:08 UTC
Not sure if this is intended but if it is, can we have those empty menu items  replaced with normal menu separator instead? ( if those empty menu items are meant as separator between menu items )

http://i.imgur.com/mUhlpuu.png
Comment 1 Hubert Figuiere (:hub) 2013-08-01 19:00:43 UTC
They are separators in the Gnome-shell.
Comment 2 Aurimas Černius 2013-08-02 19:21:12 UTC
This way menu is built by GTK+ when desktop environment does not support application menu. Empty items are used to separate different sections.
This is not a Gnote bug, if you want the different look, fill a bug for GTK+ with your proposal. I already filled one regarding empty first item.
Comment 3 Popo 2013-08-26 00:20:08 UTC
Application menu? I suppose that's gnome3 shell only thing. Can you tell me which source file I should look at to change the menu to regular main menu? If you could give me a patch file for that I'd appreciate that even more
Comment 4 Aurimas Černius 2013-08-26 19:15:23 UTC
> Application menu? I suppose that's gnome3 shell only thing. Can you tell me
> which source file I should look at to change the menu to regular main menu? If
> you could give me a patch file for that I'd appreciate that even more

When desktop has no support for application menu (AFAIK only Gnome Shell and Mac OS X do), application menu is the first item in window menu (the only one, if window has no menu). This is the case for Gnote, Ubuntu adds it's own thing by moving menu out of window.
If you want to modify Gnote yourself, you can do it in gnote.cpp, both menu bar and application menu are set to Gtk::Application object.