summaryrefslogtreecommitdiff
authorandyq <andyq>2002-11-11 22:13:45 (UTC)
committer andyq <andyq>2002-11-11 22:13:45 (UTC)
commit99232d320496b78e92f9bd9a3c1af064940592a6 (patch) (unidiff)
treed41bc5235f2d4a62d8c3f4a8a9811116920acc81
parent503bb111313dfb62ee6341069a75dad56bbd47bf (diff)
downloadopie-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
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/networkpkgmgr.cpp2
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
@@ -293,25 +293,25 @@ void NetworkPackageManager :: serverSelected( int )
293 { 293 {
294 if ( it->isInstalled() ) 294 if ( it->isInstalled() )
295 new QCheckListItem( item, QString( "V. Installed - " ) + it->getInstalledVersion() ); 295 new QCheckListItem( item, QString( "V. Installed - " ) + it->getInstalledVersion() );
296 } 296 }
297 } 297 }
298 packagesList->insertItem( item ); 298 packagesList->insertItem( item );
299 } 299 }
300 300
301 // If the local server or the local ipkgs server disable the download button 301 // If the local server or the local ipkgs server disable the download button
302 if ( serverName == LOCAL_SERVER ) 302 if ( serverName == LOCAL_SERVER )
303 { 303 {
304 upgrade->setEnabled( false ); 304 upgrade->setEnabled( false );
305 download->setText( "Install Remote" ); 305 download->setText( "Download" );
306 download->setEnabled( true ); 306 download->setEnabled( true );
307 } 307 }
308 else if ( serverName == LOCAL_IPKGS ) 308 else if ( serverName == LOCAL_IPKGS )
309 { 309 {
310 upgrade->setEnabled( false ); 310 upgrade->setEnabled( false );
311 download->setEnabled( true ); 311 download->setEnabled( true );
312 download->setText( "Remove" ); 312 download->setText( "Remove" );
313 } 313 }
314 else 314 else
315 { 315 {
316 upgrade->setEnabled( true ); 316 upgrade->setEnabled( true );
317 download->setEnabled( true ); 317 download->setEnabled( true );