author | alwin <alwin> | 2004-02-29 02:03:07 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-02-29 02:03:07 (UTC) |
commit | 4cdd469ad2437fb2a09e4e7afff4feb24cd5d83d (patch) (side-by-side diff) | |
tree | 5218c24b6ddc3a3433ec3db2ccec79e43f5b398d | |
parent | 14db10826688a0f098fc48d4aec6e794b07f4ab4 (diff) | |
download | opie-4cdd469ad2437fb2a09e4e7afff4feb24cd5d83d.zip opie-4cdd469ad2437fb2a09e4e7afff4feb24cd5d83d.tar.gz opie-4cdd469ad2437fb2a09e4e7afff4feb24cd5d83d.tar.bz2 |
*grmpf* inserted into the wrong line (where it worked, too ;) - sorry guys.
-rw-r--r-- | core/launcher/launcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index 7887704..984a57d 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -687,95 +687,95 @@ void Launcher::applicationRemoved( const QString& type, const AppLnk& app ) view->removeLink( app.linkFile() ); else qWarning("removeAppLnk: No view for %s!", type.latin1() ); } void Launcher::allApplicationsRemoved() { MimeType::clear(); for ( QStringList::ConstIterator it=ids.begin(); it!= ids.end(); ++it) tabs->view( (*it) )->removeAllItems(); } void Launcher::documentAdded( const DocLnk& doc ) { tabs->docView()->addItem( new DocLnk( doc ), FALSE ); } void Launcher::showLoadingDocs() { tabs->docView()->hide(); } void Launcher::showDocTab() { if ( tabs->categoryBar->currentView() == tabs->docView() ) tabs->docView()->show(); } void Launcher::documentRemoved( const DocLnk& doc ) { tabs->docView()->removeLink( doc.linkFile() ); } void Launcher::documentChanged( const DocLnk& oldDoc, const DocLnk& newDoc ) { documentRemoved( oldDoc ); documentAdded( newDoc ); } void Launcher::allDocumentsRemoved() { tabs->docView()->removeAllItems(); } void Launcher::applicationStateChanged( const QString& name, ApplicationState state ) { tb->setApplicationState( name, state ); } void Launcher::applicationScanningProgress( int percent ) { switch ( percent ) { case 0: { for ( QStringList::ConstIterator it=ids.begin(); it!= ids.end(); ++it) { tabs->view( (*it) )->setUpdatesEnabled( FALSE ); tabs->view( (*it) )->setSortEnabled( FALSE ); } break; } case 100: { for ( QStringList::ConstIterator it=ids.begin(); it!= ids.end(); ++it) { tabs->view( (*it) )->setUpdatesEnabled( TRUE ); tabs->view( (*it) )->setSortEnabled( TRUE ); } + tb->refreshStartMenu(); break; } default: break; } } void Launcher::documentScanningProgress( int percent ) { switch ( percent ) { case 0: { tabs->setLoadingProgress( 0 ); tabs->setLoadingWidgetEnabled( TRUE ); tabs->docView()->setUpdatesEnabled( FALSE ); tabs->docView()->setSortEnabled( FALSE ); break; } case 100: { tabs->docView()->updateTools(); tabs->docView()->setSortEnabled( TRUE ); tabs->docView()->setUpdatesEnabled( TRUE ); tabs->setLoadingWidgetEnabled( FALSE ); - tb->refreshStartMenu(); break; } default: tabs->setLoadingProgress( percent ); break; } } |