summaryrefslogtreecommitdiff
authordwmw2 <dwmw2>2003-06-07 17:07:43 (UTC)
committer dwmw2 <dwmw2>2003-06-07 17:07:43 (UTC)
commit9ae55ad05f06d1bff20ea0e0fae59781b503a79b (patch) (unidiff)
treeb197565219d69cadecca357a978a9319eeb52220
parentb293babbe1e640705163a95e192461d140f590eb (diff)
downloadopie-9ae55ad05f06d1bff20ea0e0fae59781b503a79b.zip
opie-9ae55ad05f06d1bff20ea0e0fae59781b503a79b.tar.gz
opie-9ae55ad05f06d1bff20ea0e0fae59781b503a79b.tar.bz2
set/use interface status
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/connect.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/connect.cpp b/noncore/settings/networksettings/ppp/connect.cpp
index 6905d79..2400d7b 100644
--- a/noncore/settings/networksettings/ppp/connect.cpp
+++ b/noncore/settings/networksettings/ppp/connect.cpp
@@ -113,6 +113,9 @@ ConnectWidget::ConnectWidget(InterfacePPP *ifp, QWidget *parent, const char *nam
113// int messw = (messg->sizeHint().width() * 12) / 10; 113// int messw = (messg->sizeHint().width() * 12) / 10;
114// messw = QMAX(messw,280); 114// messw = QMAX(messw,280);
115// messg->setMinimumWidth(messw); 115// messg->setMinimumWidth(messw);
116 if (_ifaceppp->getStatus())
117 messg->setText(i18n("Online"));
118 else
116 messg->setText(i18n("Offline")); 119 messg->setText(i18n("Offline"));
117 l0->addSpacing(10); 120 l0->addSpacing(10);
118 l0->addWidget(messg); 121 l0->addWidget(messg);
@@ -1132,6 +1135,9 @@ void ConnectWidget::if_waiting_slot() {
1132 this->hide(); 1135 this->hide();
1133 messg->setText(""); 1136 messg->setText("");
1134 1137
1138 _ifaceppp->setStatus( true );
1139 // emit _ifaceppp->updateInterface(_ifaceppp);
1140
1135 // prepare the con_win so as to have the right size for 1141 // prepare the con_win so as to have the right size for
1136 // accounting / non-accounting mode 1142 // accounting / non-accounting mode
1137// if(p_kppp->acct != 0) 1143// if(p_kppp->acct != 0)