From 90097072545e3b90db2fc81bb9275077394b8680 Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Mon, 19 Jan 2015 22:05:59 +0100 Subject: [PATCH] telephony: add current time to notification --- src/telephony.vala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/telephony.vala b/src/telephony.vala index f17ae7b..8b910ca 100644 --- a/src/telephony.vala +++ b/src/telephony.vala @@ -76,6 +76,10 @@ class TelephonyHandler : Object, PacketHandlerInterface { } } + // telephony packets have no time information + var time = new DateTime.now_local(); + number = "%s %s".printf(time.format("%X"), number); + var notif = new Notify.Notification(summary, number, "phone"); try {