mirror of
https://github.com/elementary/gala.git
synced 2024-12-24 17:53:19 +03:00
Simplification.
This commit is contained in:
parent
370a4e932b
commit
03bb3a941d
@ -160,20 +160,8 @@ namespace Gala.Plugins.Notify
|
||||
if (!confirmation) {
|
||||
var app_found = false;
|
||||
|
||||
string param_bubbles;
|
||||
string param_sounds;
|
||||
|
||||
if (options.default_bubbles) {
|
||||
param_bubbles = "show";
|
||||
} else {
|
||||
param_bubbles = "hide";
|
||||
}
|
||||
|
||||
if (options.default_sounds) {
|
||||
param_sounds = "on";
|
||||
} else {
|
||||
param_sounds = "off";
|
||||
}
|
||||
var param_bubbles = options.default_bubbles ? "show" : "hide";
|
||||
var param_sounds = options.default_sounds ? "on" : "off";
|
||||
|
||||
for (int i = 0; i < options.apps.length; i++) {
|
||||
var properties = options.apps[i].split (":");
|
||||
|
Loading…
Reference in New Issue
Block a user