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

List:       kde-commits
Subject:    =?utf-8?q?=5Bkcm-grub2=5D_src=3A_Make_GRUB_update_dialog_modal_t?=
From:       Konstantinos Smanis <konstantinos.smanis () gmail ! com>
Date:       2011-04-14 10:11:54
Message-ID: 20110414101154.27E26A60B9 () git ! kde ! org
[Download RAW message or body]

Git commit 747ce406570a6bd7060a892a73019776eaf217db by Konstantinos Smanis.
Committed on 14/04/2011 at 10:22.
Pushed by ksmanis into branch 'master'.

Make GRUB update dialog modal to avoid user interaction while visible.

M  +1    -0    src/kcm_grub2.cpp     

http://commits.kde.org/kcm-grub2/747ce406570a6bd7060a892a73019776eaf217db

diff --git a/src/kcm_grub2.cpp b/src/kcm_grub2.cpp
index 2f873e1..fa0ad36 100644
--- a/src/kcm_grub2.cpp
+++ b/src/kcm_grub2.cpp
@@ -734,6 +734,7 @@ bool KCMGRUB2::updateGRUB(const QString &fileName)
     if (updateAction.authorize() == Action::Authorized) {
         KProgressDialog progressDlg(this, i18nc("@title:window", "Updating GRUB"), \
i18nc("@info:progress", "Updating the GRUB menu.."));  \
progressDlg.setAllowCancel(false); +        progressDlg.setModal(true);
         progressDlg.progressBar()->setMinimum(0);
         progressDlg.progressBar()->setMaximum(0);
         progressDlg.show();


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

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