diff --git a/kded/kdeconnect.notifyrc b/kded/kdeconnect.notifyrc index 70c321b641365eceacd084029d92b0eca02e24c7..1137d692dec1ea3c3d5ceea0e23e3d7f411518e6 100644 --- a/kded/kdeconnect.notifyrc +++ b/kded/kdeconnect.notifyrc @@ -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] diff --git a/kded/plugins/battery/batteryplugin.cpp b/kded/plugins/battery/batteryplugin.cpp index 8fee1001f5624276e32bfd2124a55addbcd9556d..203da257aa559ed57627a9df3cb73aa5fdd29072 100644 --- a/kded/plugins/battery/batteryplugin.cpp +++ b/kded/plugins/battery/batteryplugin.cpp @@ -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");