[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [PATCH] KIO: Use prettyUrl in statusbar text
From:       Sebastian =?iso-8859-1?q?Tr=FCg?= <strueg () mandriva ! com>
Date:       2008-07-14 19:05:14
Message-ID: 200807142105.14292.strueg () mandriva ! com
[Download RAW message or body]

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

["kfileitem-statusbar.diff" (text/x-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 ) )
     {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic