From 42835848c492504f0358cf0ab2b1af34a45686f2 Mon Sep 17 00:00:00 2001 From: Gord Allott Date: Tue, 11 Sep 2012 14:57:19 +0100 Subject: panel gradient (bzr r2637.8.10) --- unity-standalone/StandaloneUnity.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'unity-standalone') diff --git a/unity-standalone/StandaloneUnity.cpp b/unity-standalone/StandaloneUnity.cpp index fa0662bed..a5dba677c 100644 --- a/unity-standalone/StandaloneUnity.cpp +++ b/unity-standalone/StandaloneUnity.cpp @@ -45,7 +45,7 @@ namespace { - static int display_width = 1280; + static int display_width = 1200; static int display_height = 720; static gboolean no_window_decorations = FALSE; static gboolean force_tv = FALSE; @@ -89,7 +89,9 @@ void UnityStandalone::Init () launcher_controller.reset(new launcher::Controller(0)); panel_controller.reset(new panel::Controller()); dash_controller.reset(new dash::Controller()); + dash_controller->launcher_width = launcher_controller->launcher().GetAbsoluteWidth() - 1; + panel_controller->launcher_width = launcher_controller->launcher().GetAbsoluteWidth() - 1; } void UnityStandalone::InitWindowThread(nux::NThread* thread, void* InitData) -- cgit v1.2.3