author | andyq <andyq> | 2002-11-11 22:13:45 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-11-11 22:13:45 (UTC) |
commit | 99232d320496b78e92f9bd9a3c1af064940592a6 (patch) (side-by-side diff) | |
tree | d41bc5235f2d4a62d8c3f4a8a9811116920acc81 | |
parent | 503bb111313dfb62ee6341069a75dad56bbd47bf (diff) | |
download | opie-99232d320496b78e92f9bd9a3c1af064940592a6.zip opie-99232d320496b78e92f9bd9a3c1af064940592a6.tar.gz opie-99232d320496b78e92f9bd9a3c1af064940592a6.tar.bz2 |
Fixed a bug where you couldn't download from installed pgks view
and another where buttons looked crap
-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.cpp b/noncore/settings/aqpkg/networkpkgmgr.cpp index d43c6ac..188f90d 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.cpp +++ b/noncore/settings/aqpkg/networkpkgmgr.cpp @@ -273,65 +273,65 @@ void NetworkPackageManager :: serverSelected( int ) if ( it->getInstalledTo() ) destName = it->getInstalledTo()->getDestinationName(); } if ( destName != "" ) new QCheckListItem( item, QString( "Installed To - " ) + destName ); } if ( !it->isPackageStoredLocally() ) new QCheckListItem( item, QString( "Description - " ) + it->getDescription() ); else new QCheckListItem( item, QString( "Filename - " ) + it->getFilename() ); if ( serverName == LOCAL_SERVER ) { new QCheckListItem( item, QString( "V. Installed - " ) + it->getVersion() ); } else { new QCheckListItem( item, QString( "V. Available - " ) + it->getVersion() ); if ( it->getLocalPackage() ) { if ( it->isInstalled() ) new QCheckListItem( item, QString( "V. Installed - " ) + it->getInstalledVersion() ); } } packagesList->insertItem( item ); } // If the local server or the local ipkgs server disable the download button if ( serverName == LOCAL_SERVER ) { upgrade->setEnabled( false ); - download->setText( "Install Remote" ); + download->setText( "Download" ); download->setEnabled( true ); } else if ( serverName == LOCAL_IPKGS ) { upgrade->setEnabled( false ); download->setEnabled( true ); download->setText( "Remove" ); } else { upgrade->setEnabled( true ); download->setEnabled( true ); download->setText( "Download" ); } } void NetworkPackageManager :: updateServer() { QString serverName = serversList->currentText(); // Update the current server // Display dialog // ProgressDlg *progDlg = new ProgressDlg( this ); // QString status = "Updating package lists..."; // progDlg->show(); // progDlg->setText( status ); // Disable buttons to stop silly people clicking lots on them :) // First, write out ipkg_conf file so that ipkg can use it dataMgr->writeOutIpkgConf(); |