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

List:       kde-core-devel
Subject:    PATCH: kio/kio/krun.cpp (br# 42179)
From:       "Dawit A." <adawit () kde ! org>
Date:       2002-05-24 1:54:14
[Download RAW message or body]

Hi,

This small patch fixes the first part of br # 42179.  The others have already 
been fixed.  Basically, the patch removes rich text support from two dialog
boxes.  None of the other similar message boxes in KRun support rich text ; 
so this patch actually makes things consistent IMHO.

Regards,
Dawit A.

["krun.diff" (text/x-diff)]

Index: krun.cpp
===================================================================
RCS file: /home/kde/kdelibs/kio/kio/krun.cpp,v
retrieving revision 1.202
diff -u -p -b -B -w -r1.202 krun.cpp
--- krun.cpp	2002/04/19 01:20:53	1.202
+++ krun.cpp	2002/05/24 01:50:57
@@ -66,7 +66,7 @@ pid_t KRun::runURL( const KURL& u, const
   if ( _mimetype == "inode/directory-locked" )
   {
     KMessageBoxWrapper::error( 0L,
-            i18n("<qt>Unable to enter <b>%1</b>.\nYou do not have access rights to \
this location.</qt>").arg(u.prettyURL()) ); +            i18n("Unable to enter \
%1.\nYou do not have access rights to this location.").arg(u.prettyURL()) );  return \
0;  }
   else if ( _mimetype == "application/x-desktop" )
@@ -743,7 +743,7 @@ void KRun::init()
       if ( stat( QFile::encodeName(m_strURL.path()), &buff ) == -1 )
       {
         d->m_showingError = true;
-        KMessageBoxWrapper::error( 0L, i18n( "<qt>Unable to run the command \
specified. The file or directory <b>%1</b> does not exist.</qt>" ).arg( \
m_strURL.prettyURL() ) ); +        KMessageBoxWrapper::error( 0L, i18n( "Unable to \
run the command specified. The file or directory %1 does not exist." ).arg( \
m_strURL.prettyURL() ) );  d->m_showingError = false;
         m_bFault = true;
         m_bFinished = true;



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

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