[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kget
From: Urs Wolfer <uwolfer () kde ! org>
Date: 2007-04-18 17:54:10
Message-ID: 1176918850.496950.3634.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 655539 by uwolfer:
Ask at first KGet run if the user would like to use KGet as the download manager for \
Konqueror.
M +13 -2 mainwindow.cpp
--- trunk/KDE/kdenetwork/kget/mainwindow.cpp #655538:655539
@@ -238,9 +238,20 @@
if ( Settings::downloadAtStartup() )
slotStartDownload();
- // reset the FirstRun config option
- Settings::setFirstRun(false);
+ if (Settings::firstRun()) {
+ if (KMessageBox::questionYesNoCancel(this ,i18n("This is the first time you \
have run KGet.\n" + "Would you like to \
use KGet as the download manager for Konqueror?"), + \
i18n("Konqueror Integration"), KGuiItem(i18n("Enable")), + \
KGuiItem(i18n("Do Not Enable"))) + == \
KMessageBox::Yes) { + Settings::setKonquerorIntegration(true);
+ slotKonquerorIntegration(true);
+ }
+ // reset the FirstRun config option
+ Settings::setFirstRun(false);
+ }
+
//auto paste stuff
lastClipboard = QApplication::clipboard()->text( QClipboard::Clipboard \
).trimmed(); clipboardTimer = new QTimer(this);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic