author | tille <tille> | 2002-06-28 17:17:53 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-28 17:17:53 (UTC) |
commit | 54ab82774f52332dbbb97de057ee2b1c5d29347d (patch) (side-by-side diff) | |
tree | 5506a01f59e4913993c3343cb7065c78df2793c5 /noncore | |
parent | 8176526fc61f4b4012021a4324aee592463dbb3a (diff) | |
download | opie-54ab82774f52332dbbb97de057ee2b1c5d29347d.zip opie-54ab82774f52332dbbb97de057ee2b1c5d29347d.tar.gz opie-54ab82774f52332dbbb97de057ee2b1c5d29347d.tar.bz2 |
doclnk is back, since it seems to work now!
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp index 05f2f06..8778b85 100644 --- a/noncore/unsupported/oipkg/mainwindow.cpp +++ b/noncore/unsupported/oipkg/mainwindow.cpp @@ -40,22 +40,22 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : setCaption( tr("Package Manager") ); settings = new PackageManagerSettings(this,0,TRUE); listViewPackages = new PackageListView( this,"listViewPackages",settings ); setCentralWidget( listViewPackages ); listViewPackages->addList( tr("feeds"), &packageListServers ); listViewPackages->addList( tr("ipkgfind"), &packageListSearch ); -//listViewPackages->addList( tr("documents"), &packageListDocLnk ); +listViewPackages->addList( tr("documents"), &packageListDocLnk ); ipkg = new PmIpkg( settings, this ); packageListServers.setSettings( settings ); packageListSearch.setSettings( settings ); packageListDocLnk.setSettings( settings ); pvDebug(9,"packageListServers.update"); packageListServers.update(); pvDebug(9,"packageListDocLnk.update"); pvDebug(0,"no UPDATE of DocLnk"); -// packageListDocLnk.update(); + packageListDocLnk.update(); pvDebug(9,"makeMenu"); makeMenu(); makeChannel(); //opie is hardcoded default ;) // pvDebug(9,"section->setCurrentItem"); // for (int i=0;i<section->count();i++) @@ -289,13 +289,13 @@ MainWindow::~MainWindow() } void MainWindow::runIpkg() { packageListServers.allPackages(); ipkg->loadList( &packageListSearch ); -//ipkg->loadList( &packageListDocLnk ); + ipkg->loadList( &packageListDocLnk ); ipkg->loadList( &packageListServers ); ipkg->commit(); ipkg->clearLists(); // ##### If we looked in the list of files, we could send out accurate // ##### messages. But we don't bother yet, and just do an "all". QCopEnvelope e("QPE/System", "linkChanged(QString)"); @@ -306,17 +306,17 @@ void MainWindow::runIpkg() void MainWindow::updateList() { packageListServers.clear(); packageListSearch.clear(); -// packageListDocLnk.clear(); + packageListDocLnk.clear(); ipkg->update(); packageListServers.update(); packageListSearch.update(); -// packageListDocLnk.update(); + packageListDocLnk.update(); } void MainWindow::filterList() { QString f = ""; if ( findAction->isOn() ) f = findEdit->text(); |