Back to the offending Adept window

Paul Dufresne dufresnep at fastmail.fm
Sat Jun 30 18:22:52 UTC 2007


I am not sure this is THE window I talk about (maybe there is more than
one like this?)
In /home/paul/adept-2.1.2ubuntu27/adept/batch/app.cpp
void App::delayed() {
    statusBar()->clear();

    kdDebug() << "App::delayed starting commit" << endl;

    aptFront::Manager m;
    m.setProgressCallback( m_progress->callback() );
    m.setUpdateInterval( 100000 );
    try {
        m_stack->raiseWidget( m_progress );
        m.download();
        m_stack->raiseWidget( m_commitProgress );
        m.commit();
    } catch ( exception::OperationCancelled ) {
    } catch ( ... ) {
        KMessageBox::sorry(
            this, i18n( "There was an error commiting changes. "
                        "Possibly there was a problem downloading some "
                        "packages or the commit would break packages. "
                        ),
            i18n( "Could not commit changes" ) );
    }
}

Maybe had some 'retry' after the KMessageBox::sorry ?

-- 
http://www.fastmail.fm - And now for something completely different






More information about the kubuntu-users mailing list