Dougiedee13 / gnome2-globalmenu

Automatically exported from code.google.com/p/gnome2-globalmenu
GNU General Public License v2.0
0 stars 0 forks source link

Global menu gets confused by two main loops #603

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download attached test.vala
2. valac test.vala --pkg gtk+-2.0
3. ./test

I would expect a global File menu item with Quit entry.  Instead, no global
menu item appears.

To fix this, edit test.vala and remove the first main loop invocation. 
That is, remove the following text:

  Idle.add(() => {
    Gtk.main_quit();
    return false;
  });
  Gtk.main();

and recompile.  Something about an initial main loop confuses it.  This
does surprisingly hit some apps (at least, it hit mine --
https://bugs.edge.launchpad.net/deja-dup/+bug/578090).

Original issue reported on code.google.com by michael....@gmail.com on 10 May 2010 at 12:55

Attachments:

GoogleCodeExporter commented 8 years ago
Very interesting. I'll investigate the problem 
tonight

Original comment by rainwood...@gmail.com on 10 May 2010 at 3:05

GoogleCodeExporter commented 8 years ago
Fixed in commit c8f4.

Thank you for the test case.

Original comment by rainwood...@gmail.com on 11 May 2010 at 10:52