Merge lp://qastaging/~ted/libdbusmenu/about-to-show-is-activate into lp://qastaging/libdbusmenu/0.5

Proposed by Ted Gould
Status: Merged
Merged at revision: 163
Proposed branch: lp://qastaging/~ted/libdbusmenu/about-to-show-is-activate
Merge into: lp://qastaging/libdbusmenu/0.5
Diff against target: 48 lines (+24/-0)
1 file modified
libdbusmenu-glib/menuitem.c (+24/-0)
To merge this branch: bzr merge lp://qastaging/~ted/libdbusmenu/about-to-show-is-activate
Reviewer Review Type Date Requested Status
David Barth (community) Approve
Review via email: mp+35892@code.qastaging.launchpad.net

Description of the change

Making it so that we pass about-to-show up to menu items with children as activate

To post a comment you must log in.
Revision history for this message
David Barth (dbarth) wrote :

What's the rational for not sending activate signals if there are no submenus?

Otherwise looks like what is needed. Glad to see about-to-show connected on the gtk side as well.

Revision history for this message
David Barth (dbarth) wrote :

Moving on with the merge proposal: +1, as anyway it's a new feature, so the submenu restriction doesn't impact existing code.

review: Approve
Revision history for this message
Ted Gould (ted) wrote :

On Mon, 2010-09-20 at 15:51 +0000, David Barth wrote:
> What's the rational for not sending activate signals if there are no submenus?

Basically because GTK doesn't separate between "about to show" and
"activate." So it seems that some people (Shotwell) are using the
"activate" signal as about-to-show, but in reality if we did that for
other menus items people would be pressing things all over the place :)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches