-------------------------------------------------------------------------------------
-0.6.5
-* ignore upgrades to pinned packages and warn about install/remove
-* warn when trying to do a system upgrade
-- promote to extras-testing
-
-
0.7:
- update install/remove changes directly to internal package db & don't require re-reading package lists afterwards
- support loading .install files
ui->label->setText(text);
this->adjustSize();
}
+
+void ConfirmDialog::disableButton()
+{
+ ui->btn_OK->setEnabled(false);
+}
explicit ConfirmDialog(bool button, QWidget *parent);
~ConfirmDialog();
void setText(QString title, QString text);
+ void disableButton();
#ifdef Q_WS_MAEMO_5 // workaround for buggy Qt autorotation
int exec() {
QRect r = dynamic_cast<QWidget*>(this->parent())->rect();
fapman (0.6.5-1) unstable; urgency=low
- *
+ * ignore upgrades to pinned packages and warn about install/remove
+ * warn if trying to do a system upgrade
- -- Heikki Holstila <heikki.holstila@gmail.com> Fri, 20 Aug 2010 14:09:25 +0300
+ -- Heikki Holstila <heikki.holstila@gmail.com> Mon, 23 Aug 2010 14:06:35 +0300
fapman (0.6.4-1) unstable; urgency=low
busyDialog(false);
ConfirmDialog d(true, this);
+ if( inst.count()==0 && remv.count()==0 )
+ {
+ pkglist = "None of the packages can be installed";
+ d.disableButton();
+ }
d.setText("Confirmation",pkglist);
if( d.exec() ) {
iAptInterface->addQueuedOperation(AAptInterface::ModeAptGetInstall);