diff options
Diffstat (limited to 'kcontrol/dnssd')
-rw-r--r-- | kcontrol/dnssd/Makefile.am | 2 | ||||
-rw-r--r-- | kcontrol/dnssd/kcmdnssd.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/dnssd/Makefile.am b/kcontrol/dnssd/Makefile.am index 892244300..ef6292a94 100644 --- a/kcontrol/dnssd/Makefile.am +++ b/kcontrol/dnssd/Makefile.am @@ -5,7 +5,7 @@ kcm_kdnssd_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) kcm_kdnssd_la_SOURCES = configdialog.ui kcmdnssd.cpp kcmdnssd.h xdg_apps_DATA = kcm_kdnssd.desktop -kcm_kdnssd_la_LIBADD = $(LIB_KDNSSD) $(LIB_KDEUI) +kcm_kdnssd_la_LIBADD = $(LIB_KDNSSD) $(LIB_TDEUI) messages: rc.cpp $(EXTRACTRC) *.ui *.rc >> rc.cpp diff --git a/kcontrol/dnssd/kcmdnssd.cpp b/kcontrol/dnssd/kcmdnssd.cpp index 3b3f85f96..4c0689f81 100644 --- a/kcontrol/dnssd/kcmdnssd.cpp +++ b/kcontrol/dnssd/kcmdnssd.cpp @@ -62,7 +62,7 @@ KCMDnssd::KCMDnssd(TQWidget *parent, const char *name, const TQStringList&) setQuickHelp(i18n("Setup services browsing with ZeroConf")); if (geteuid()!=0) tabs->removePage(tab_2); // normal user cannot change wide-area settings // show only global things in 'administrator mode' to prevent confusion - else if (getenv("KDESU_USER")!=0) tabs->removePage(tab); + else if (getenv("TDESU_USER")!=0) tabs->removePage(tab); addConfig(DNSSD::Configuration::self(),this); // it is host-wide setting so it has to be in global config file domain = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kdnssdrc" )); |