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

Unified Diff: chrome/browser/browser.cc

Issue 164280: First step to create application shortcuts on Linux. (Closed)
Patch Set: now tested Created 11 years, 4 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 | chrome/browser/gtk/standard_menus.cc » ('j') | chrome/browser/shell_integration_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.cc
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 562f3b0286f6e68fecde613029f5aad9f644deb8..160be201679f58dcd8eaa6db81cd1bcee81cbc62 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1114,7 +1114,7 @@ void Browser::OpenFile() {
void Browser::OpenCreateShortcutsDialog() {
UserMetrics::RecordAction(L"CreateShortcut", profile_);
-#if defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_LINUX)
GetSelectedTabContents()->CreateShortcut();
#else
NOTIMPLEMENTED();
« no previous file with comments | « no previous file | chrome/browser/gtk/standard_menus.cc » ('j') | chrome/browser/shell_integration_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698