Ubuntu 12.04 don't have menu
Brought to you by:
pizzach
Using ubuntu 12.04, and gwaei 3.2.1 (the default ubuntu version is 3.2.0b1 and don't launch: see https://bugs.launchpad.net/ubuntu/+source/gwaei/+bug/971240), the menu (File, Edit, ...) don't appear in the unity bar.
So I must know be heart the key shortcut to use some functionnalities !
No error or warning reported at all in the console or in the .xsession-error file.
I tried with v3.4.3 too, and I got the same problem.
I posted my response on the launchpad page for this one. It probably has to do with how I use gtk_widget_reparent to move the xml to a custom GwWindow object. I don't have the time to look at this right now. (splitting headache) but I will take patches. Something will either need to change in Unity, or in src/gwaei/window.c. I don't know what event forces Unity to scan for menubars.
I have submit a patch which fixed the problem, available in the launchpad thread. Based on the Zachary Dovel patch.
https://bugs.launchpad.net/ubuntu/+source/gwaei/+bug/971240
But: some menu functions not work yet:
ERROR:window.c:247:gw_window_load_ui_xml: assertion failed: (menu != NULL)
Abandon (core dumped)
The error I had, was my fault!
I fixed it, in another patch, you will find on the launchapd bug report of the problem.
From Ubuntu launchpad bug, new patch (merge from debian sid, for gwaei 3.2.0b1)
otherwise gwaei will never start (see eog bug #665374 for reference)