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
|
@ -7,8 +7,9 @@ namespace {
|
|||
std::string g_overridden_application_name;
|
||||
std::string g_overridden_application_version;
|
||||
|
||||
}
|
||||
} // namespace
|
||||
|
||||
// name
|
||||
void OverrideApplicationName(const std::string& name) {
|
||||
g_overridden_application_name = name;
|
||||
}
|
||||
|
@ -16,6 +17,7 @@ std::string GetOverriddenApplicationName() {
|
|||
return g_overridden_application_name;
|
||||
}
|
||||
|
||||
// version
|
||||
void OverrideApplicationVersion(const std::string& version) {
|
||||
g_overridden_application_version = version;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue