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

List:       kde-commits
Subject:    kdebase/kate/app
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2005-04-07 16:10:56
Message-ID: 20050407161056.0FAFC63E () office ! kde ! org
[Download RAW message or body]

CVS commit by cullmann: 

warning/confirmation dialog on pipe to console action
BUG:100204


  M +7 -0      katemainwindow.cpp   1.276


--- kdebase/kate/app/katemainwindow.cpp  #1.275:1.276
@@ -1011,4 +1011,11 @@ void KateMainWindow::slotPipeToConsole (
     return;
 
+  if (KMessageBox::warningYesNo
+       (this
+        , i18n ("Do you really want to pipe the text to the console? This will \
execute any contained commands with your user rights!") +        , i18n ("Pipe to \
Console?") +        , KStdGuiItem::yes(), KStdGuiItem::no(), "Pipe To Console \
Warning") != KMessageBox::Yes) +    return;
+
   Kate::View *v = m_viewManager->activeView();
 


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

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