summaryrefslogtreecommitdiff
path: root/unity-standalone
diff options
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2012-09-18 14:53:43 -0400
committerTarmac <>2012-09-18 14:53:43 -0400
commit71d8e7faaf4d5dbebff2cb8b4b01e2db504ea1a6 (patch)
treec52ac55ef8653328c8fa8957379e213d41f533a8 /unity-standalone
parentd983ea9359e562b6f4008d58ead35264bd0756c2 (diff)
parenta6d4b01432691d0548af62141a0807e0d6f0c97e (diff)
LauncherController, FavoriteStore, Launcher, Icons: always use sort priority based on favorites to get positioned on launcher. Fixes: https://bugs.launchpad.net/bugs/761155, https://bugs.launchpad.net/bugs/858540, https://bugs.launchpad.net/bugs/868423, https://bugs.launchpad.net/bugs/1028927, https://bugs.launchpad.net/bugs/1042845, https://bugs.launchpad.net/bugs/1045146. Approved by Andrea Azzarone, Brandon Schaefer.
(bzr r2713)
Diffstat (limited to 'unity-standalone')
-rw-r--r--unity-standalone/StandaloneUnity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unity-standalone/StandaloneUnity.cpp b/unity-standalone/StandaloneUnity.cpp
index fc5421fce..50069c989 100644
--- a/unity-standalone/StandaloneUnity.cpp
+++ b/unity-standalone/StandaloneUnity.cpp
@@ -86,7 +86,7 @@ UnityStandalone::~UnityStandalone ()
void UnityStandalone::Init ()
{
- launcher_controller.reset(new launcher::Controller(0));
+ launcher_controller.reset(new launcher::Controller());
panel_controller.reset(new panel::Controller());
dash_controller.reset(new dash::Controller());
@@ -119,7 +119,7 @@ UnityStandaloneTV::~UnityStandaloneTV() {};
void UnityStandaloneTV::Init()
{
- launcher_controller.reset(new launcher::Controller(0));
+ launcher_controller.reset(new launcher::Controller());
dash_controller.reset(new dash::Controller());
dash_controller->launcher_width = launcher_controller->launcher().GetAbsoluteWidth() - 1;