Linux named notifications (#12192)
* Set name & desktop-entry on Linux notifications * DBusMock now honors verbose mode flag * Disable DBus Notification tests on ia32
This commit is contained in:
parent
9d090e00f2
commit
86af20ded0
9 changed files with 163 additions and 14 deletions
|
@ -47,10 +47,7 @@ PCWSTR GetRawAppUserModelID() {
|
|||
if (SUCCEEDED(GetCurrentProcessExplicitAppUserModelID(¤t_app_id))) {
|
||||
g_app_user_model_id = current_app_id;
|
||||
} else {
|
||||
std::string name = GetOverriddenApplicationName();
|
||||
if (name.empty()) {
|
||||
name = GetApplicationName();
|
||||
}
|
||||
std::string name = GetApplicationName();
|
||||
base::string16 generated_app_id = base::ReplaceStringPlaceholders(
|
||||
kAppUserModelIDFormat, base::UTF8ToUTF16(name), nullptr);
|
||||
SetAppUserModelID(generated_app_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue