[Pkg-games-ubuntu] [Bug 743265] Re: when using unity, the cities menu is not shown

Jacob Nevins 743265 at bugs.launchpad.net
Sun Jul 3 18:03:03 UTC 2011


A little more progress, but still not there yet.

A piece of the jigsaw I was missing was Ubuntu's modifications to the
Gtk library itself, "043_ubuntu_menu_proxy.patch". Diff:
http://bazaar.launchpad.net/~ubuntu-
branches/ubuntu/oneiric/gtk+2.0/oneiric/view/head:/debian/patches/043_ubuntu_menu_proxy.patch

Reading that reveals that GtkMenuBar now has an "ubuntu-local" property.
If I set that:

  menubar = gtk_menu_bar_new();
  g_object_set(GTK_WIDGET(menubar), "ubuntu-local", 1, NULL);

-- then the menu bar is visible. Success, I thought. However, when I
click on certain menus, the menu appears but the menubar disappears,
never to return. Other menus on the same menubar are fine.

I tried this with the Nations and Cities report menubars (plrdlg.c and cityrep.c respectively).
On the Nations report, the Diplomacy/Intelligence/Display menus were fine, but the AI menu was bad.
On the Cities report, only the Display menu was fine; all of the Production/Governor/Sell/Select menus were bad.

I'm guessing the badness is something to do with menus that are
dynamically constructed somehow (the "ok" menus have relatively static
content).

In the above diff, there seems to be something going on with an "ubuntu-
local" property of GtkMenuShell as well as GtkMenuBar, but I haven't
worked out whether that's something I can/should be putting to use. It
looks kind of like internal plumbing, since it's set internally.

In other news, I posted to ayatana-dev[*] about this issue a few days
ago, but got no useful feedback yet.

[*] https://lists.launchpad.net/ayatana/msg06176.html

-- 
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to freeciv in Ubuntu.
https://bugs.launchpad.net/bugs/743265

Title:
  when using unity, the cities menu is not shown

Status in Freeciv Game:
  Unknown
Status in The Application Menu:
  New
Status in “freeciv” package in Ubuntu:
  Confirmed
Status in “indicator-appmenu” package in Ubuntu:
  New

Bug description:
  In freeciv there is a menu below the cities display (F4, Civilization
  -> Cities). The menu disappears if you're using unity.

To manage notifications about this bug go to:
https://bugs.launchpad.net/freeciv/+bug/743265/+subscriptions



More information about the Pkg-games-ubuntu mailing list