summaryrefslogtreecommitdiff
path: root/noncore/settings/packagemanager/oipkgconfigdlg.cpp
authordrw <drw>2004-12-21 00:37:22 (UTC)
committer drw <drw>2004-12-21 00:37:22 (UTC)
commit769f2a09ccfcc639a87600ecb046e9140fe2f691 (patch) (side-by-side diff)
tree27f74b9403d9d41be40e759b7ce238d601b6ef45 /noncore/settings/packagemanager/oipkgconfigdlg.cpp
parent8c316a01b28879b9f4fc6df736773245c8358ffc (diff)
downloadopie-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.cpp15
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
@@ -101,7 +101,8 @@ 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" );
if ( confItem )
@@ -111,7 +112,8 @@ 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" );
if ( confItem )
@@ -535,9 +537,10 @@ 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();
m_serverList->insertItem( newName );
@@ -630,7 +633,7 @@ 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();
m_destList->insertItem( newName );