author | dwmw2 <dwmw2> | 2003-06-07 17:07:43 (UTC) |
---|---|---|
committer | dwmw2 <dwmw2> | 2003-06-07 17:07:43 (UTC) |
commit | 9ae55ad05f06d1bff20ea0e0fae59781b503a79b (patch) (side-by-side diff) | |
tree | b197565219d69cadecca357a978a9319eeb52220 | |
parent | b293babbe1e640705163a95e192461d140f590eb (diff) | |
download | opie-9ae55ad05f06d1bff20ea0e0fae59781b503a79b.zip opie-9ae55ad05f06d1bff20ea0e0fae59781b503a79b.tar.gz opie-9ae55ad05f06d1bff20ea0e0fae59781b503a79b.tar.bz2 |
set/use interface status
-rw-r--r-- | noncore/settings/networksettings/ppp/connect.cpp | 8 |
1 files changed, 7 insertions, 1 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 @@ -114,5 +114,8 @@ ConnectWidget::ConnectWidget(InterfacePPP *ifp, QWidget *parent, const char *nam // messw = QMAX(messw,280); // messg->setMinimumWidth(messw); - messg->setText(i18n("Offline")); + if (_ifaceppp->getStatus()) + messg->setText(i18n("Online")); + else + messg->setText(i18n("Offline")); l0->addSpacing(10); l0->addWidget(messg); @@ -1133,4 +1136,7 @@ void ConnectWidget::if_waiting_slot() { messg->setText(""); + _ifaceppp->setStatus( true ); + // emit _ifaceppp->updateInterface(_ifaceppp); + // prepare the con_win so as to have the right size for // accounting / non-accounting mode |