From kde-core-devel Mon Jul 14 19:05:14 2008 From: Sebastian =?iso-8859-1?q?Tr=FCg?= Date: Mon, 14 Jul 2008 19:05:14 +0000 To: kde-core-devel Subject: [PATCH] KIO: Use prettyUrl in statusbar text Message-Id: <200807142105.14292.strueg () mandriva ! com> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=121606234729268 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_qN6eIQgf+32SrG2" --Boundary-00=_qN6eIQgf+32SrG2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline the attached patch uses prettyUrl to avoid having %-encoding in the statusbar text for the TARGET_URL property. I think this could also be backported to 4.1. May I commit? Cheers, Sebastian --Boundary-00=_qN6eIQgf+32SrG2 Content-Type: text/x-diff; charset="us-ascii"; name="kfileitem-statusbar.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kfileitem-statusbar.diff" Index: kfileitem.cpp =================================================================== --- kfileitem.cpp (revision 832330) +++ kfileitem.cpp (working copy) @@ -958,7 +973,7 @@ } else if ( targetUrl() != url() ) { - text += i18n ( " (Points to %1)", targetUrl().url()); + text += i18n ( " (Points to %1)", targetUrl().prettyUrl()); } else if ( S_ISREG( d->m_fileMode ) ) { --Boundary-00=_qN6eIQgf+32SrG2--