Merge lp://qastaging/~3v1n0/libindicator/parent-object-fixes into lp://qastaging/libindicator/0.5
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Approved by: | Ted Gould |
Approved revision: | 451 |
Merged at revision: | 445 |
Proposed branch: | lp://qastaging/~3v1n0/libindicator/parent-object-fixes |
Merge into: | lp://qastaging/libindicator/0.5 |
Diff against target: |
207 lines (+68/-17) 3 files modified
libindicator/indicator-object.c (+26/-1) tests/dummy-indicator-signaler.c (+17/-4) tests/test-loader.c (+25/-12) |
To merge this branch: | bzr merge lp://qastaging/~3v1n0/libindicator/parent-object-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ted Gould (community) | Approve | ||
Charles Kerr (community) | Needs Fixing | ||
Review via email: mp+90083@code.qastaging.launchpad.net |
Description of the change
IndicatorObject
I think this is somewhat that the library should take care of, instead of delegating that to the child indicators.
To post a comment you must log in.
Having indicator-object take care of this makes sense.
In indicator_ object_ entry_being_ removed( ) and indicator_ object_ entry_was_ added() , the assignment to entry-> parent_ object should be unconditional and come before the "if (function_pointer != NULL)" blocks, just as the assignment to EntryPrivate's 'visibility' field is.
Also, just wondering aloud -- do we have any use cases where an entry is reparented? Does it make sense to let this field be changed after construction?