author | drw <drw> | 2004-12-21 00:37:22 (UTC) |
---|---|---|
committer | drw <drw> | 2004-12-21 00:37:22 (UTC) |
commit | 769f2a09ccfcc639a87600ecb046e9140fe2f691 (patch) (side-by-side diff) | |
tree | 27f74b9403d9d41be40e759b7ce238d601b6ef45 /noncore/settings/packagemanager/oipkgconfigdlg.cpp | |
parent | 8c316a01b28879b9f4fc6df736773245c8358ffc (diff) | |
download | opie-769f2a09ccfcc639a87600ecb046e9140fe2f691.zip opie-769f2a09ccfcc639a87600ecb046e9140fe2f691.tar.gz opie-769f2a09ccfcc639a87600ecb046e9140fe2f691.tar.bz2 |
Preliminary support for src/gz feeds, it works if you manually update ipkg.conf. Still need to add configuration option on server config dialog tab.
Diffstat (limited to 'noncore/settings/packagemanager/oipkgconfigdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/oipkgconfigdlg.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/noncore/settings/packagemanager/oipkgconfigdlg.cpp b/noncore/settings/packagemanager/oipkgconfigdlg.cpp index 886430f..d9a67f3 100644 --- a/noncore/settings/packagemanager/oipkgconfigdlg.cpp +++ b/noncore/settings/packagemanager/oipkgconfigdlg.cpp @@ -102,5 +102,6 @@ void OIpkgConfigDlg::accept() else m_configs->append( new OConfItem( OConfItem::Option, "http_proxy", - m_proxyHttpServer->text(), m_proxyHttpActive->isChecked() ) ); + m_proxyHttpServer->text(), QString::null, + m_proxyHttpActive->isChecked() ) ); confItem = findConfItem( OConfItem::Option, "ftp_proxy" ); @@ -112,5 +113,6 @@ void OIpkgConfigDlg::accept() else m_configs->append( new OConfItem( OConfItem::Option, "ftp_proxy", - m_proxyFtpServer->text(), m_proxyFtpActive->isChecked() ) ); + m_proxyFtpServer->text(), QString::null, + m_proxyFtpActive->isChecked() ) ); confItem = findConfItem( OConfItem::Option, "proxy_username" ); @@ -536,7 +538,8 @@ void OIpkgConfigDlg::slotServerUpdate() else { - // Add new destination to configuration list - m_configs->append( new OConfItem( OConfItem::Source, newName, - m_serverLocation->text(), m_serverActive->isChecked() ) ); + // Add new server to configuration list + // TODO - support src/gz + m_configs->append( new OConfItem( OConfItem::Source, newName, m_serverLocation->text(), + QString::null, m_serverActive->isChecked() ) ); m_configs->sort(); @@ -631,5 +634,5 @@ void OIpkgConfigDlg::slotDestUpdate() // Add new destination to configuration list m_configs->append( new OConfItem( OConfItem::Destination, newName, - m_destLocation->text(), m_destActive->isChecked() ) ); + m_destLocation->text(), QString::null, m_destActive->isChecked() ) ); m_configs->sort(); |