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

List:       kdevelop-devel
Subject:    Small patch for 1.4
From:       Harald Fernengel <harry () bnro ! de>
Date:       2001-04-30 11:23:21
[Download RAW message or body]

Hello,

this tiny patch for KDEVELOP_1_4 shows you which file couldn't be written in 
case it was write-protected. Please apply, because if autosave fails you have 
no idea on which file it failed.

Thanks,

Harry
["kdevelop.patch2" (text/plain)]

Index: kwview.cpp
===================================================================
RCS file: /home/kde/kdevelop/kdevelop/kwrite/Attic/kwview.cpp,v
retrieving revision 1.9.2.19.2.34
diff -u -3 -p -r1.9.2.19.2.34 kwview.cpp
--- kwview.cpp	2001/04/18 08:58:05	1.9.2.19.2.34
+++ kwview.cpp	2001/04/30 10:36:13
@@ -1669,7 +1669,7 @@ bool KWrite::writeFile(const QString& na
 
   QFileInfo info(name);
   if(info.exists() && !info.isWritable()) {
-    KMessageBox::sorry(this, i18n("You do not have write permission to this file"));
+    KMessageBox::sorry(this, i18n("You do not have write permission to this file:\n" + name));
     return false;
   }
 

-
to unsubscribe from this list send an email to kdevelop-devel-request@kdevelop.org \
with the following body: unsubscribe »your-email-address«



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

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