author | llornkcor <llornkcor> | 2005-08-23 07:58:53 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2005-08-23 07:58:53 (UTC) |
commit | 15fc46c76afa55fbfaab54c4de3fedd4613e3712 (patch) (unidiff) | |
tree | 03b1aaaee3efad15879874623b166de24fc23626 | |
parent | b90f7cc7976f4ad13b4b362d07931815bc686583 (diff) | |
download | opie-15fc46c76afa55fbfaab54c4de3fedd4613e3712.zip opie-15fc46c76afa55fbfaab54c4de3fedd4613e3712.tar.gz opie-15fc46c76afa55fbfaab54c4de3fedd4613e3712.tar.bz2 |
fix url
-rw-r--r-- | noncore/apps/opie-gutenbrowser/LibraryDialog.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/opie-gutenbrowser/gutenbrowser.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp b/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp index 3b540c5..58babe9 100644 --- a/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp +++ b/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp | |||
@@ -923,17 +923,17 @@ void LibraryDialog::newList() | |||
923 | if(indexLoaded) { | 923 | if(indexLoaded) { |
924 | onButtonDownload(); | 924 | onButtonDownload(); |
925 | } else { | 925 | } else { |
926 | Output *outDlg; | 926 | Output *outDlg; |
927 | buttonNewList->setDown(true); | 927 | buttonNewList->setDown(true); |
928 | //odebug << "changing dir "+QPEApplication::qpeDir()+"etc/gutenbrowser" << oendl; | 928 | //odebug << "changing dir "+QPEApplication::qpeDir()+"etc/gutenbrowser" << oendl; |
929 | QString gutenindex1 = local_library + "/GUTINDEX.ALL"; | 929 | QString gutenindex1 = local_library + "/GUTINDEX.ALL"; |
930 | 930 | ||
931 | QString cmd="wget -O " + gutenindex1 + " http://sailor.gutenberg.org/GUTINDEX.ALL 2>&1"; | 931 | QString cmd="wget -O " + gutenindex1 + " http://www.gutenberg.org/dirs/GUTINDEX.ALL 2>&1"; |
932 | 932 | ||
933 | int result = QMessageBox::warning( this,"Download" | 933 | int result = QMessageBox::warning( this,"Download" |
934 | ,"<p>Ok to use /'wget/' to download a new library list?</P>" | 934 | ,"<p>Ok to use /'wget/' to download a new library list?</P>" |
935 | ,"Yes","No",0,0,1); | 935 | ,"Yes","No",0,0,1); |
936 | qApp->processEvents(); | 936 | qApp->processEvents(); |
937 | if(result == 0) { | 937 | if(result == 0) { |
938 | outDlg = new Output( 0, tr("Downloading Gutenberg Index...."),true); | 938 | outDlg = new Output( 0, tr("Downloading Gutenberg Index...."),true); |
939 | outDlg->showMaximized(); | 939 | outDlg->showMaximized(); |
diff --git a/noncore/apps/opie-gutenbrowser/gutenbrowser.cpp b/noncore/apps/opie-gutenbrowser/gutenbrowser.cpp index e639d4d..733db17 100644 --- a/noncore/apps/opie-gutenbrowser/gutenbrowser.cpp +++ b/noncore/apps/opie-gutenbrowser/gutenbrowser.cpp | |||
@@ -377,17 +377,17 @@ void Gutenbrowser::downloadLibIndex() { | |||
377 | 377 | ||
378 | // QString outputFile= local_library+ "GUTINDEX.ALL"; | 378 | // QString outputFile= local_library+ "GUTINDEX.ALL"; |
379 | // config.setGroup( "FTPsite" ); // ftp server config | 379 | // config.setGroup( "FTPsite" ); // ftp server config |
380 | // ftp_host=config.readEntry("SiteName", ""); | 380 | // ftp_host=config.readEntry("SiteName", ""); |
381 | // ftp_base_dir= config.readEntry("base", ""); | 381 | // ftp_base_dir= config.readEntry("base", ""); |
382 | // QString networkUrl= "ftp://"+ftp_host+ftp_base_dir+"/GUTINDEX.ALL"; | 382 | // QString networkUrl= "ftp://"+ftp_host+ftp_base_dir+"/GUTINDEX.ALL"; |
383 | QDir dir( local_library); | 383 | QDir dir( local_library); |
384 | dir.cd("", TRUE); | 384 | dir.cd("", TRUE); |
385 | goGetit( "http://sailor.gutenberg.org/GUTINDEX.ALL", false); // until ghttp works on binaries -qt3 | 385 | goGetit( "http://www.gutenberg.org/dirs/GUTINDEX.ALL", false); // until ghttp works on binaries -qt3 |
386 | // goGetit( "http://www.gutenberg.net/pgwhole.zip", true); // until ghttp works on binaries -qt3 | 386 | // goGetit( "http://www.gutenberg.net/pgwhole.zip", true); // until ghttp works on binaries -qt3 |
387 | // NetworkDialog *NetworkDlg; | 387 | // NetworkDialog *NetworkDlg; |
388 | // NetworkDlg = new NetworkDialog( this,"Network Protocol Dialog", TRUE, 0, networkUrl, outputFile ); | 388 | // NetworkDlg = new NetworkDialog( this,"Network Protocol Dialog", TRUE, 0, networkUrl, outputFile ); |
389 | // if( NetworkDlg->exec() != 0 ) | 389 | // if( NetworkDlg->exec() != 0 ) |
390 | // { // use new, improved, *INSTANT* network-dialog-file-getterer | 390 | // { // use new, improved, *INSTANT* network-dialog-file-getterer |
391 | //// QMessageBox::message("Note",""); | 391 | //// QMessageBox::message("Note",""); |
392 | // } | 392 | // } |
393 | // if(NetworkDlg) | 393 | // if(NetworkDlg) |