[Bug 703769] Re: Menus are not destroyed when a window is closed with GDbus port

2011-01-20 Thread Ted Gould
** Changed in: indicator-appmenu Status: In Progress = Fix Released ** Changed in: indicator-appmenu Milestone: None = 0.1.91 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/703769 Title:

[Bug 703769] Re: Menus are not destroyed when a window is closed with GDbus port

2011-01-20 Thread Launchpad Bug Tracker
This bug was fixed in the package indicator-appmenu - 0.1.91-0ubuntu1 --- indicator-appmenu (0.1.91-0ubuntu1) natty; urgency=low * New upstream release. * Using BAMF to watch for window destruction (LP: #703769) -- Ted Gould t...@ubuntu.com Thu, 20 Jan 2011 08:49:37 -0600

[Bug 703769] Re: Menus are not destroyed when a window is closed with GDbus port

2011-01-18 Thread Michael Terry
Old DBusGProxys did emit destroy when a unique owner died: This proxy will only emit the destroy signal if the DBusConnection is disconnected, the proxy has no remaining references, or the name is a unique name and its owner disappears. If a well-known name changes owner, the proxy will still be

[Bug 703769] Re: Menus are not destroyed when a window is closed with GDbus port

2011-01-18 Thread Chris Coulson
I used bamf, because looking for the name going away doesn't handle the case where an application window closes, but the application keeps on running (eg, multiple gedit windows etc) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 703769] Re: Menus are not destroyed when a window is closed with GDbus port

2011-01-18 Thread Michael Terry
Ah, you are 100% right. I dig your branch conceptually now. Thanks for cleaning up my gdbus port. ** Changed in: indicator-appmenu Assignee: Michael Terry (mterry) = Chris Coulson (chrisccoulson) -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 703769] Re: Menus are not destroyed when a window is closed with GDbus port

2011-01-17 Thread Chris Coulson
** Branch linked: lp:~chrisccoulson/indicator-appmenu/lp703769 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/703769 Title: Menus are not destroyed when a window is closed with GDbus port --

[Bug 703769] Re: Menus are not destroyed when a window is closed with GDbus port

2011-01-16 Thread Chris Coulson
Hmmm, I'm misunderstanding how it used to work, as the destroy signal from DbusGProxy is only fired when the proxy is destroyed, and not when the application disappears off the bus. This used to work somehow though. The new code in indicator-appmenu (listening to the notify::g-name-owner signal