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

List:       kde-commits
Subject:    KDE/kdelibs/khtml/ecma
From:       André Wöbbeking <Woebbeking () web ! de>
Date:       2005-07-31 21:29:37
Message-ID: 1122845377.646550.24242.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 441760 by woebbe:

use KStdGuiItems for question in Widget::Close


 M  +3 -1      kjs_window.cpp  


--- trunk/KDE/kdelibs/khtml/ecma/kjs_window.cpp #441759:441760
@@ -1564,7 +1564,9 @@
       {
         // Can we get this dialog with tabs??? Does it close the window or the tab \
in that case?  emit part->browserExtension()->requestFocus(part);
-        if ( KMessageBox::questionYesNo( window->part()->widget(), i18n("Close \
window?"), i18n("Confirmation Required"), i18n("Close"), i18n("Do Not Close") ) +     \
if ( KMessageBox::questionYesNo( window->part()->widget(), +                          \
i18n("Close window?"), i18n("Confirmation Required"), +                               \
KStdGuiItem::close(), KStdGuiItem::cancel() )  == KMessageBox::Yes )
           doClose = true;
       }


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

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