Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: ui/app_list/app_list_menu.cc

Issue 214823012: Linux App Launcher: Show the profile selector on the hotdog menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Exclude ChromeOS. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/resources/ui_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_menu.cc
diff --git a/ui/app_list/app_list_menu.cc b/ui/app_list/app_list_menu.cc
index 8c0727c2c8f82f9e414b4998be0901fcd8bd92e7..7114b06979960a3cd24683664ffded7e9c828996 100644
--- a/ui/app_list/app_list_menu.cc
+++ b/ui/app_list/app_list_menu.cc
@@ -32,7 +32,7 @@ void AppListMenu::InitMenu() {
users_[i].email.empty() ? users_[i].name
: users_[i].email,
0 /* group_id */);
-#elif defined(OS_WIN)
+#elif defined(OS_WIN) || (defined(OS_LINUX) && !defined(OS_CHROMEOS))
menu_model_.AddItem(SELECT_PROFILE + i, users_[i].name);
int menu_index = menu_model_.GetIndexOfCommandId(SELECT_PROFILE + i);
menu_model_.SetSublabel(menu_index, users_[i].email);
« no previous file with comments | « no previous file | ui/resources/ui_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698