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

Issue 214010: More reliably find the .desktop file for the browser. (Closed)

Created:
11 years, 3 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
Mike Mammarella, tony
CC:
chromium-reviews_googlegroups.com, fta
Visibility:
Public.

Description

More reliably find the .desktop file for the browser. Also search in "applications" subdirectory of each of XDG_DATA_DIRS. TEST=See bug. BUG=21995 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26590

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M chrome/browser/shell_integration_linux.cc View 1 chunk +7 lines, -5 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Paweł Hajdan Jr.
11 years, 3 months ago (2009-09-17 16:05:33 UTC) #1
Mike Mammarella
LGTM
11 years, 3 months ago (2009-09-17 17:23:34 UTC) #2
Mike Mammarella
11 years, 3 months ago (2009-09-17 17:23:53 UTC) #3
http://codereview.chromium.org/214010/diff/1/2
File chrome/browser/shell_integration_linux.cc (right):

http://codereview.chromium.org/214010/diff/1/2#newcode93
Line 93: search_paths.push_back(data_dir.Append("applications"));
Technically the string constant should be wrapped in FILE_PATH_LITERAL, but this
file is only for Linux where that does nothing anyway.

Powered by Google App Engine
This is Rietveld 408576698