summaryrefslogtreecommitdiff
path: root/dash
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2013-09-19 22:18:40 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2013-09-19 22:18:40 +0200
commit14366961166915b5faff0d6ce76e098f08252bf5 (patch)
treebec82350a504506ac236cae8da50ab0d582b01fa /dash
parentabc5b6f5538076976888dbf9b2aa133d5d2a2551 (diff)
DashController: try to own the unity dbus name
(bzr r3506.7.4)
Diffstat (limited to 'dash')
-rw-r--r--dash/DashController.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/dash/DashController.cpp b/dash/DashController.cpp
index 4bcc98afa..f9f717226 100644
--- a/dash/DashController.cpp
+++ b/dash/DashController.cpp
@@ -47,6 +47,7 @@ const unsigned int PRELOAD_TIMEOUT_LENGTH = 40;
namespace dbus
{
+const std::string BUS_NAME = "com.canonical.Unity";
const std::string PATH = "/com/canonical/Unity/Dash";
const std::string INTROSPECTION =\
"<node>"
@@ -68,6 +69,7 @@ Controller::Controller(Controller::WindowCreator const& create_window)
, visible_(false)
, need_show_(false)
, view_(nullptr)
+ , dbus_server_(dbus::BUS_NAME)
, ensure_timeout_(PRELOAD_TIMEOUT_LENGTH)
, timeline_animator_(90)
{