Browse Source

telephony: add current time to notification

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
9009707254
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/telephony.vala

+ 4
- 0
src/telephony.vala View File

@ -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 {


Loading…
Cancel
Save