diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-03-19 19:47:01 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-03-19 19:47:01 +0100 |
| commit | b36881a24053db392965267a83c5359d67041712 (patch) | |
| tree | 57202ee3607577a5a355e5eecdbfa0960c12fc52 /dash | |
| parent | a355fd464d0b15da9483442f3e8754e2e53c8f45 (diff) | |
unity: s/UBUS_PLACE_VIEW_CLOSE_REQUEST/UBUS_OVERLAY_CLOSE_REQUEST/g
(bzr r3227.1.15)
Diffstat (limited to 'dash')
| -rw-r--r-- | dash/DashController.cpp | 2 | ||||
| -rw-r--r-- | dash/DashView.cpp | 10 | ||||
| -rw-r--r-- | dash/LensBar.cpp | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/dash/DashController.cpp b/dash/DashController.cpp index 9e9c3c27a..b7c6861fb 100644 --- a/dash/DashController.cpp +++ b/dash/DashController.cpp @@ -159,7 +159,7 @@ void Controller::RegisterUBusInterests() { ubus_manager_.RegisterInterest(UBUS_DASH_EXTERNAL_ACTIVATION, sigc::mem_fun(this, &Controller::OnExternalShowDash)); - ubus_manager_.RegisterInterest(UBUS_PLACE_VIEW_CLOSE_REQUEST, + ubus_manager_.RegisterInterest(UBUS_OVERLAY_CLOSE_REQUEST, sigc::mem_fun(this, &Controller::OnExternalHideDash)); place_entry_request_id_ = ubus_manager_.RegisterInterest(UBUS_PLACE_ENTRY_ACTIVATE_REQUEST, diff --git a/dash/DashView.cpp b/dash/DashView.cpp index d0d30ae85..fef7c2286 100644 --- a/dash/DashView.cpp +++ b/dash/DashView.cpp @@ -1135,7 +1135,7 @@ void DashView::OnActivateRequest(GVariant* args) } else if (/* visible_ && */ handled_type == NOT_HANDLED) { - ubus_manager_.SendMessage(UBUS_PLACE_VIEW_CLOSE_REQUEST, NULL, + ubus_manager_.SendMessage(UBUS_OVERLAY_CLOSE_REQUEST, NULL, glib::Source::Priority::HIGH); } else if (/* visible_ && */ handled_type == GOTO_DASH_URI) @@ -1363,7 +1363,7 @@ void DashView::OnUriActivatedReply(std::string const& uri, HandledType type, Len return; } - ubus_manager_.SendMessage(UBUS_PLACE_VIEW_CLOSE_REQUEST); + ubus_manager_.SendMessage(UBUS_OVERLAY_CLOSE_REQUEST); } bool DashView::DoFallbackActivation(std::string const& fake_uri) @@ -1441,7 +1441,7 @@ bool DashView::InspectKeyEvent(unsigned int eventType, else if (search_bar_->search_string != "") search_bar_->search_string = ""; else - ubus_manager_.SendMessage(UBUS_PLACE_VIEW_CLOSE_REQUEST); + ubus_manager_.SendMessage(UBUS_OVERLAY_CLOSE_REQUEST); return true; } @@ -1511,7 +1511,7 @@ nux::Area* DashView::KeyNavIteration(nux::KeyNavDirection direction) void DashView::ProcessDndEnter() { - ubus_manager_.SendMessage(UBUS_PLACE_VIEW_CLOSE_REQUEST); + ubus_manager_.SendMessage(UBUS_OVERLAY_CLOSE_REQUEST); } nux::Area* DashView::FindKeyFocusArea(unsigned int key_symbol, @@ -1561,7 +1561,7 @@ nux::Area* DashView::FindKeyFocusArea(unsigned int key_symbol, if (close_key.first == special_keys_state && close_key.second == x11_key_code) { - ubus_manager_.SendMessage(UBUS_PLACE_VIEW_CLOSE_REQUEST); + ubus_manager_.SendMessage(UBUS_OVERLAY_CLOSE_REQUEST); return nullptr; } diff --git a/dash/LensBar.cpp b/dash/LensBar.cpp index ef9d1bf19..d01689626 100644 --- a/dash/LensBar.cpp +++ b/dash/LensBar.cpp @@ -144,7 +144,7 @@ void LensBar::DoOpenLegalise() g_creat(legal_seen_file_path_.c_str(), S_IRWXU); - ubus_.SendMessage(UBUS_PLACE_VIEW_CLOSE_REQUEST); + ubus_.SendMessage(UBUS_OVERLAY_CLOSE_REQUEST); } void LensBar::AddLens(Lens::Ptr& lens) |
