~indicator-applet-developers/indicator-appmenu/trunk.13.04

Viewing all changes in revision 218.

  • Committer: Lars Uebernickel
  • Date: 2012-11-12 15:54:04 UTC
  • mfrom: (217.1.1 trunk)
  • Revision ID: lars.uebernickel@canonical.com-20121112155404-ntn340k8803w1nug
Remove window-destroy timeout

The windows were hashed by xid, and the entries in the hash table weren't
removed until five seconds after the window was destroyed. Thus, restarting an
application within these five seconds and being lucky enough to get the same
xid again would lead to the menu of the old instance being shown. Activating
menu items doesn't work in that case, because the action group is on the dbus
connection of the new instance.

This was initially introduced to work around a bug in BAMF (lp:718926), which
has since been fixed.

Merged from lp:~larsu/indicator-appmenu/lp1075263

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: