Changeset 11231


Ignore:
Timestamp:
07/01/11 08:49:59 (13 years ago)
Author:
tbretz
Message:
Display DIM_DNS_NODE.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r11226 r11231  
    768768        str << "V" << version/100 << 'r' << version%100;
    769769
     770        ostringstream dns;
     771        dns << (version==0?"No connection":"Connection");
     772        dns << " to DIM DNS (" << getenv("DIM_DNS_NODE") << ")";
     773        dns << (version==0?".":" established.");
     774
     775        fStatusDNSLabel->setText(version==0?"Offline":str.str().c_str());
     776        fStatusDNSLabel->setToolTip(dns.str().c_str());
     777
    770778        SetLedColor(fStatusDNSLed, version==0 ? kLedRed : kLedGreen, Time());
    771 
    772         fStatusDNSLabel->setText(version==0?"Offline":str.str().c_str());
    773         fStatusDNSLabel->setToolTip(version==0?"No connection to DIM DNS.":"Connection to DIM DNS established.");
    774779    }
    775780
Note: See TracChangeset for help on using the changeset viewer.