Merge lp:~azzar1/unity/fix-994163 into lp:unity
Proposed by
Andrea Azzarone
Status: | Merged |
---|---|
Approved by: | Marco Trevisan (Treviño) |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2429 |
Proposed branch: | lp:~azzar1/unity/fix-994163 |
Merge into: | lp:unity |
Diff against target: |
232 lines (+65/-64) 5 files modified
launcher/DeviceLauncherIcon.cpp (+40/-28) launcher/DeviceLauncherIcon.h (+10/-4) launcher/DeviceLauncherSection.cpp (+0/-30) launcher/DeviceLauncherSection.h (+0/-2) manual-tests/Launcher.txt (+15/-0) |
To merge this branch: | bzr merge lp:~azzar1/unity/fix-994163 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Trevisan (Treviño) | Approve | ||
Review via email: mp+111092@code.launchpad.net |
Commit message
Remove internal partitions after they have been unmounted.
Description of the change
== Problem ==
Unity launcher shows internal partitions after they have been unmounted
== Fix ==
Use "changed" signal instead of "mount-
== Test ==
Manual test
To post a comment you must log in.
16 + typedef glib::Signal<void, GVolume*> VolumeSignal; .Add(new VolumeSignal( volume_ , "changed", sigc::mem_fun(this, &DeviceLauncher Icon::OnVolumeC hanged) ));
17 + sig_manager_
Since DeviceLauncherIcon just uses one signal I think that you can avoid to use the SignalManager and save some overhead by just adding a glib::Signal class member and using its Connect method...