summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kdbusnotification
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-07-20 11:59:43 +0200
committerFrançois Andriot <[email protected]>2013-07-20 12:03:23 +0200
commiteab4f1879e20dbbb16bbcbc9d5ade57ae07bca01 (patch)
tree05748ebede182aed6ff008c17106800b0d38dc00 /redhat/applications/kdbusnotification
parent23fd9a7e7030c253cb0778da8702c44dc6288b46 (diff)
downloadtde-packaging-eab4f1879e20dbbb16bbcbc9d5ade57ae07bca01.tar.gz
tde-packaging-eab4f1879e20dbbb16bbcbc9d5ade57ae07bca01.zip
RPM Packaging: fix kdbusnotification
Diffstat (limited to 'redhat/applications/kdbusnotification')
-rw-r--r--redhat/applications/kdbusnotification/kdbusnotification-14.0.0-fix_utf8.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/redhat/applications/kdbusnotification/kdbusnotification-14.0.0-fix_utf8.patch b/redhat/applications/kdbusnotification/kdbusnotification-14.0.0-fix_utf8.patch
new file mode 100644
index 000000000..4ed8c1c52
--- /dev/null
+++ b/redhat/applications/kdbusnotification/kdbusnotification-14.0.0-fix_utf8.patch
@@ -0,0 +1,15 @@
+--- trinity-kdbusnotification-14.0.0~pre89+e169a4e3/src/daemon/daemon.cpp.ORI 2013-07-20 11:16:18.010011618 +0200
++++ trinity-kdbusnotification-14.0.0~pre89+e169a4e3/src/daemon/daemon.cpp 2013-07-20 11:27:19.135889426 +0200
+@@ -231,9 +231,10 @@
+ }
+
+ // Send a notification request to KDE here...
+- TQString messageText = TQString(body);
++ TQString messageCaption = TQString::fromLocal8Bit(summary);
++ TQString messageText = TQString::fromLocal8Bit(body);
+
+- GTKNotifierContainer->displayMessage(TQString(summary), TQString(body), TQString(icon), x, y);
++ GTKNotifierContainer->displayMessage(messageCaption, messageText, TQString(icon), x, y);
+
+ return_id = 0;
+