[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/ecma
From: André Wöbbeking <Woebbeking () web ! de>
Date: 2005-07-31 20:59:50
Message-ID: 1122843590.777889.23610.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 441755 by woebbe:
use KStdGuiItems for question in Widget::Close
M +3 -1 kjs_window.cpp
--- branches/KDE/3.5/kdelibs/khtml/ecma/kjs_window.cpp #441754:441755
@@ -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