Commit d4ce9bac authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Removed unused notifications

parent 8309879a
......@@ -15,72 +15,12 @@ Action=Popup
[Event/smsReceived]
Name=SMS
Comment=Someone sent you a SMS
Action=Popup
[Event/mmsReceived]
Name=MMS
Comment=Someone sent you a MMS
Comment=Someone sent you an SMS
Action=Popup
[Event/batteryLow]
Name=Battery
Comment=Your battery is in low state (Discharging)
Action=Popup
[Event/batteryCaution]
Name=Battery
Comment=Your battery is in caution state (Discharging)
Action=Popup
[Event/battery040]
Name=Battery
Comment=Your battery is at 40% (Discharging)
Action=Popup
[Event/battery060]
Name=Battery
Comment=Your battery is at 60% (Discharging)
Action=Popup
[Event/battery080]
Name=Battery
Comment=Your battery is at 80% (Discharging)
Action=Popup
[Event/battery100]
Name=Battery
Comment=Your battery is at 100% (Discharging)
Action=Popup
[Event/batteryChargingLow]
Name=Battery
Comment=Your battery is in low state (Charging)
Action=Popup
[Event/batteryChargingCaution]
Name=Battery
Comment=Your battery is in caution state (Charging)
Action=Popup
[Event/batteryCharging040]
Name=Battery
Comment=Your battery is at 40% (Charging)
Action=Popup
[Event/batteryCharging060]
Name=Battery
Comment=Your battery is at 60% (Charging)
Action=Popup
[Event/batteryCharging080]
Name=Battery
Comment=Your battery is at 80% (Charging)
Action=Popup
[Event/batteryCharging100]
Name=Battery
Comment=Your battery is at 100% (Charging)
Comment=Your battery is in low state
Action=Popup
[Event/pingReceived]
......
......@@ -69,7 +69,7 @@ bool BatteryPlugin::receivePackage(const NetworkPackage& np)
batteryDbusInterface->updateValues(isCharging, currentCharge);
if (currentCharge == 14 && !isCharging) {
KNotification* notification = new KNotification("battery100");
KNotification* notification = new KNotification("batteryLow");
notification->setPixmap(KIcon("battery-040").pixmap(48, 48));
notification->setComponentData(KComponentData("kdeconnect", "kdeconnect"));
notification->setTitle(device()->name() + ": low battery");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment