Merge lp://qastaging/~charlesk/libindicator/lp-1045372 into lp://qastaging/libindicator/12.10

Proposed by Charles Kerr
Status: Merged
Approved by: Lars Karlitski
Approved revision: 473
Merged at revision: 471
Proposed branch: lp://qastaging/~charlesk/libindicator/lp-1045372
Merge into: lp://qastaging/libindicator/12.10
Diff against target: 287 lines (+66/-103)
4 files modified
libindicator/indicator-object.c (+2/-62)
tests/dummy-indicator-visible.c (+10/-2)
tests/test-loader.c (+13/-11)
tools/indicator-loader.c (+41/-28)
To merge this branch: bzr merge lp://qastaging/~charlesk/libindicator/lp-1045372
Reviewer Review Type Date Requested Status
Lars Karlitski (community) Approve
jenkins (community) continuous-integration Approve
Review via email: mp+123876@code.qastaging.launchpad.net

Commit message

In libindicator, remove the cloak/decloak code in IndicatorObject to address Bug #1045372.

In indicator-loader, support hiding & re-showing IndicatorObjectEntries by caching their menuitems and using gtk_widget_hide / gtk_widget_show.

In tests/test-loader and tests/dummy-indicator-visible.c, support hiding & re-showing IndicatorObjectEntries by caching their parent widgetry instead of using gtk_widget_destroy().

Description of the change

The cloak/decloak code existed to ensure that the IndicatorObjectEntry's widgets were not destroyed by client code on the "entry-removed" signal. Instead, let's fix the client code to understand that IOEs' visibility can be toggled and re-toggled.

See also: https://code.launchpad.net/~charlesk/indicator-applet/lp-1045372

To post a comment you must log in.
Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Needs Fixing (continuous-integration)
473. By Charles Kerr

In tests/test-loader and tests/dummy-indicator-visible.c, support hiding & re-showing IndicatorObjectEntries by caching their parent widgetry instead of using gtk_widget_destroy()

Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Approve (continuous-integration)
Revision history for this message
Lars Karlitski (larsu) wrote :

Looks good, that cloaking thing was indeed a bit weird. Thanks!

review: Approve

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