Merge lp://staging/~osomon/unity-2d/natty-panel-backport-oneiric-changes into lp://staging/unity-2d/3.0

Proposed by Olivier Tilloy
Status: Merged
Approved by: Florian Boucault
Approved revision: 690
Merged at revision: 689
Proposed branch: lp://staging/~osomon/unity-2d/natty-panel-backport-oneiric-changes
Merge into: lp://staging/unity-2d/3.0
Diff against target: 476 lines (+77/-42)
30 files modified
libunity-2d-private/src/panelapplet.cpp (+21/-3)
libunity-2d-private/src/panelapplet.h (+9/-1)
libunity-2d-private/src/panelappletproviderinterface.h (+1/-1)
panel/app/panelmanager.cpp (+2/-2)
panel/app/panelmanager.h (+2/-0)
panel/applets/appindicator/appindicatorapplet.cpp (+2/-1)
panel/applets/appindicator/appindicatorapplet.h (+1/-1)
panel/applets/appindicator/plugin.cpp (+2/-2)
panel/applets/appindicator/plugin.h (+1/-1)
panel/applets/appname/appnameapplet.cpp (+3/-2)
panel/applets/appname/appnameapplet.h (+1/-1)
panel/applets/appname/plugin.cpp (+2/-2)
panel/applets/appname/plugin.h (+1/-1)
panel/applets/homebutton/homebuttonapplet.cpp (+3/-2)
panel/applets/homebutton/homebuttonapplet.h (+1/-1)
panel/applets/homebutton/plugin.cpp (+2/-2)
panel/applets/homebutton/plugin.h (+1/-1)
panel/applets/indicator/indicatorapplet.cpp (+2/-1)
panel/applets/indicator/indicatorapplet.h (+1/-1)
panel/applets/indicator/plugin.cpp (+2/-2)
panel/applets/indicator/plugin.h (+1/-1)
panel/applets/legacytray/legacytrayapplet.cpp (+3/-2)
panel/applets/legacytray/legacytrayapplet.h (+1/-1)
panel/applets/legacytray/plugin.cpp (+2/-2)
panel/applets/legacytray/plugin.h (+1/-1)
panel/applets/separator/plugin.cpp (+2/-2)
panel/applets/separator/plugin.h (+1/-1)
panel/applets/separator/separatorapplet.cpp (+3/-2)
panel/applets/separator/separatorapplet.h (+1/-1)
panel/tests/homebuttonapplettest.cpp (+2/-1)
To merge this branch: bzr merge lp://staging/~osomon/unity-2d/natty-panel-backport-oneiric-changes
Reviewer Review Type Date Requested Status
unity-2d-team Pending
Review via email: mp+74223@code.staging.launchpad.net

Commit message

[panel] Backport an interface change from the oneiric branch (4.0): pass the panel as a parameter to the constructors of the applets.

To post a comment you must log in.
Revision history for this message
Alberto Mardegan (mardy) wrote :

Thanks for this contribution!

The merge of code from the Oneiric branch is obviously fine.

About the ready() signal, while reviewing your code I started thinking about the emission of the signal from the panelManager; I was thinking of having it emitted by the panel subclass after loading the plugins (maybe with QMetaObject::invokeMethod() with a queued connection). And this led me to wonder, do we really need this signal at all? Why can't the plugins themselves call their lengthy methods with a queued connection?

Revision history for this message
Olivier Tilloy (osomon) wrote :

You are right, on second thought this ready() signal is probably not really useful, especially since its implementation is a tad clumsy.

Do we still want to merge the first revision of this branch (the backport from the oneiric branch)? Is there a way to have tarmac merge a selected revision only, or should I undo my last revision, or resubmit another merge request, or even merge it manually?

Revision history for this message
Florian Boucault (fboucault) wrote :

> You are right, on second thought this ready() signal is probably not really
> useful, especially since its implementation is a tad clumsy.
>
> Do we still want to merge the first revision of this branch (the backport from
> the oneiric branch)? Is there a way to have tarmac merge a selected revision
> only, or should I undo my last revision, or resubmit another merge request, or
> even merge it manually?

Just undoing your last revision is easiest.

690. By Olivier Tilloy

Undo the previous revision.
After discussion (see https://code.launchpad.net/~osomon/unity-2d/natty-panel-notify-loaded/+merge/74223), this has been identified as not necessary.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I have reverted the last revision.
I have also updated the name of the branch and the commit message accordingly.

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