From 22b9a94324c6a823b6aa6470b5c8602bf697dbe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 18 Dec 2012 18:57:48 +0100 Subject: ApplicationManager: remove ApplicationMenu support This is deprecated (bzr r2998.1.1) --- launcher/ApplicationLauncherIcon.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'launcher') diff --git a/launcher/ApplicationLauncherIcon.cpp b/launcher/ApplicationLauncherIcon.cpp index cbae24243..9f4d8185e 100644 --- a/launcher/ApplicationLauncherIcon.cpp +++ b/launcher/ApplicationLauncherIcon.cpp @@ -662,17 +662,6 @@ void ApplicationLauncherIcon::UpdateBackgroundColor() void ApplicationLauncherIcon::UpdateMenus() { - for (auto& app_menu : app_->GetRemoteMenus()) - { - // we already have this - if (_menu_clients.find(app_menu.path) != _menu_clients.end()) - continue; - - glib::Object client(dbusmenu_client_new(app_menu.remote_address.c_str(), - app_menu.path.c_str())); - _menu_clients[app_menu.path] = client; - } - // add dynamic quicklist if (_menuclient_dynamic_quicklist && _menuclient_dynamic_quicklist.IsType(DBUSMENU_TYPE_CLIENT)) { -- cgit v1.2.3