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

List:       kde-commits
Subject:    kdevelop/vcs/cvsservice
From:       Robert Gruber <rgruber () users ! sourceforge ! net>
Date:       2005-04-14 6:52:02
Message-ID: 20050414065202.5ED6C63F () office ! kde ! org
[Download RAW message or body]

CVS commit by rgruber: 

Query the user before unediting the files.
GUI


  M            cvspartimpl.cpp   1.40


--- kdevelop/vcs/cvsservice/cvspartimpl.cpp  #1.39:1.40
@@ -521,4 +521,14 @@ void CvsServicePartImpl::unedit( const K
     kdDebug(9006) << k_funcinfo << endl;
 
+    int s = KMessageBox::questionYesNo( 0,
+        i18n("Do you really want to unedit the selected files?"),
+        i18n("CVS - Unedit Files"),
+        KStdGuiItem::yes(),
+        KStdGuiItem::no(),
+        "askUneditingFiles" );
+    if (s == KMessageBox::Yes) {
+        return;
+    }
+
     if (!prepareOperation( urlList, opUnEdit ))
         return;


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

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