Merge lp:~osomon/unity-2d/fix-dnd-favoriting into lp:unity-2d/3.0

Proposed by Olivier Tilloy
Status: Merged
Approved by: Ugo Riboni
Approved revision: 388
Merged at revision: 390
Proposed branch: lp:~osomon/unity-2d/fix-dnd-favoriting
Merge into: lp:unity-2d/3.0
Diff against target: 18 lines (+1/-1)
1 file modified
launcher/UnityApplications/launcherapplicationslist.cpp (+1/-1)
To merge this branch: bzr merge lp:~osomon/unity-2d/fix-dnd-favoriting
Reviewer Review Type Date Requested Status
Ugo Riboni Pending
Review via email: mp+49825@code.launchpad.net

Commit message

[launcher] Make favorite applications drag’n’dropped on the launcher persistent.

To post a comment you must log in.
Revision history for this message
Ugo Riboni (uriboni) wrote :

Works as advertised.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'launcher/UnityApplications/launcherapplicationslist.cpp'
2--- launcher/UnityApplications/launcherapplicationslist.cpp 2011-02-08 11:07:13 +0000
3+++ launcher/UnityApplications/launcherapplicationslist.cpp 2011-02-15 15:22:05 +0000
4@@ -116,7 +116,6 @@
5 /* Create a new LauncherApplication */
6 LauncherApplication* application = new LauncherApplication;
7 application->setDesktopFile(desktop_file);
8- application->setSticky(true);
9
10 /* If the desktop_file property is empty after setting it, it
11 means glib couldn't load the desktop file (probably corrupted) */
12@@ -126,6 +125,7 @@
13 delete application;
14 } else {
15 insertApplication(application);
16+ application->setSticky(true);
17 }
18 }
19

Subscribers

People subscribed via source and target branches