[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:26:54 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=d4ce9ba

The following commit has been merged in the master branch:
commit d4ce9bac9c7c254960e5d41614a2b9a1b997ec15
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Wed Sep 4 19:38:19 2013 +0200

    Removed unused notifications
---
 kded/kdeconnect.notifyrc               | 64 ++--------------------------------
 kded/plugins/battery/batteryplugin.cpp |  2 +-
 2 files changed, 3 insertions(+), 63 deletions(-)

diff --git a/kded/kdeconnect.notifyrc b/kded/kdeconnect.notifyrc
index 70c321b..1137d69 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 8fee100..203da25 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");

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list