summaryrefslogtreecommitdiff
path: root/dash
diff options
authorhandsome_feng <445865575@qq.com>2015-11-27 17:45:32 +0800
committerhandsome_feng <445865575@qq.com>2015-11-27 17:45:32 +0800
commit387a9233559cfcffa21864bfec03972e169271cd (patch)
tree0a70af2949772d3a5b14aad45098c58b76a68d63 /dash
parentc7187f2431a8d0c4a1e7d30a4801d2e91f7c26ed (diff)
modified some test, added the indicator icon, and fix some bug
(bzr r3999.7.7)
Diffstat (limited to 'dash')
-rw-r--r--dash/DashController.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/dash/DashController.cpp b/dash/DashController.cpp
index ed50d39dd..64aa27609 100644
--- a/dash/DashController.cpp
+++ b/dash/DashController.cpp
@@ -261,7 +261,6 @@ void Controller::Relayout(bool check_monitor)
if (check_monitor)
monitor_ = CLAMP(GetIdealMonitor(), 0, static_cast<int>(UScreen::GetDefault()->GetMonitors().size()-1));
-
nux::Geometry geo = GetIdealWindowGeometry();
view_->Relayout();
@@ -351,7 +350,6 @@ bool Controller::ShowDash()
GVariant* info = g_variant_new(UBUS_OVERLAY_FORMAT_STRING, "dash", TRUE, monitor_, view_content_geo.width, view_content_geo.height);
ubus_manager_.SendMessage(UBUS_OVERLAY_SHOWN, info);
-
return true;
}