Merge lp:~uriboni/unity-2d/panel-size-policy-up-to-applets into lp:unity-2d/3.0
Proposed by
Ugo Riboni
Status: | Merged |
---|---|
Approved by: | Alberto Mardegan |
Approved revision: | 674 |
Merged at revision: | 674 |
Proposed branch: | lp:~uriboni/unity-2d/panel-size-policy-up-to-applets |
Merge into: | lp:unity-2d/3.0 |
Diff against target: |
106 lines (+7/-27) 4 files modified
data/com.canonical.Unity2d.gschema.xml (+0/-9) libunity-2d-private/src/panelapplet.cpp (+1/-0) panel/app/panelmanager.cpp (+5/-18) panel/applets/appname/appnameapplet.cpp (+1/-0) |
To merge this branch: | bzr merge lp:~uriboni/unity-2d/panel-size-policy-up-to-applets |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberto Mardegan (community) | Approve | ||
Review via email: mp+71829@code.launchpad.net |
Description of the change
Leave the size policy of panel applets up to the applets themselves, and put back the correct size policy for the appname applet.
To post a comment you must log in.
Gorgeous! :-)
I just noted something else that we might want to do, just for safety:
QWidget *applet = provider- >createApplet( ); >addWidget( applet) ;
panel-
Add a "if (applet != 0)" check. But it's not affecting this bug report, and all current applets always return a proper widget, so we can have it done separately as an improvement.