-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brave .desktop files for Gnome icon issue
- Loading branch information
1 parent
0b1f5b8
commit 82c836d
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc | ||
index 5814e5f0b1b0d3b8abcf70e96f9949fecd37b12a..ad6b393679b86150c4fb7a1f69cdf2025e3e6bf8 100644 | ||
--- a/chrome/browser/shell_integration_linux.cc | ||
+++ b/chrome/browser/shell_integration_linux.cc | ||
@@ -652,7 +652,7 @@ std::string GetDesktopName(base::Environment* env) { | ||
std::string name; | ||
if (env->GetVar("CHROME_DESKTOP", &name) && !name.empty()) | ||
return name; | ||
- return "chromium-browser.desktop"; | ||
+ return "brave-browser.desktop"; | ||
#endif | ||
} | ||
|
||
@@ -660,7 +660,7 @@ std::string GetIconName() { | ||
#if defined(GOOGLE_CHROME_BUILD) | ||
return "google-chrome"; | ||
#else // CHROMIUM_BUILD | ||
- return "chromium-browser"; | ||
+ return "brave-browser"; | ||
#endif | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/chrome/browser/ui/libgtkui/gtk_util.cc b/chrome/browser/ui/libgtkui/gtk_util.cc | ||
index 09191e00d91cd79e42c4f63519b6fba6712f69c3..a1d135df182ba2d56c20e3983ad6c4f84d51d820 100644 | ||
--- a/chrome/browser/ui/libgtkui/gtk_util.cc | ||
+++ b/chrome/browser/ui/libgtkui/gtk_util.cc | ||
@@ -126,7 +126,7 @@ std::string GetDesktopName(base::Environment* env) { | ||
std::string name; | ||
if (env->GetVar("CHROME_DESKTOP", &name) && !name.empty()) | ||
return name; | ||
- return "chromium-browser.desktop"; | ||
+ return "brave-browser.desktop"; | ||
#endif | ||
} | ||
|