SOURCES: twinkle-from-mainwindow.patch (NEW) - new
arekm
arekm at pld-linux.org
Mon Jun 12 11:58:40 CEST 2006
Author: arekm Date: Mon Jun 12 09:58:40 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- new
---- Files affected:
SOURCES:
twinkle-from-mainwindow.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/twinkle-from-mainwindow.patch
diff -u /dev/null SOURCES/twinkle-from-mainwindow.patch:1.1
--- /dev/null Mon Jun 12 11:58:40 2006
+++ SOURCES/twinkle-from-mainwindow.patch Mon Jun 12 11:58:35 2006
@@ -0,0 +1,24 @@
+diff -urN twinkle-0.7.1.org/src/gui/gui.cpp twinkle-0.7.1/src/gui/gui.cpp
+--- twinkle-0.7.1.org/src/gui/gui.cpp 2006-05-05 22:39:08.000000000 +0200
++++ twinkle-0.7.1/src/gui/gui.cpp 2006-06-12 11:56:45.000000000 +0200
+@@ -734,8 +734,19 @@
+
+ // Incoming call for to-header
+ mainWindow->displayHeader();
++
++ // From
++ QString fromParty = format_sip_address(user_config,
++ r->hdr_from.display, r->hdr_from.uri).c_str();
++ if (r->hdr_organization.is_populated()) {
++ fromParty.append(", ").append(r->hdr_organization.name.c_str());
++ }
++
++
+ s = "Line ";
+- s.append(QString().setNum(line + 1)).append(":\tincoming call for ");
++ s.append(QString().setNum(line + 1)).append(":\tincoming call from ");
++ s.append(fromParty);
++ s.append(" for ");
+ s.append(format_sip_address(user_config, r->hdr_to.display, r->hdr_to.uri).c_str());
+ mainWindow->display(s);
+
================================================================
More information about the pld-cvs-commit
mailing list