summaryrefslogtreecommitdiffstats
path: root/kmenuedit
diff options
context:
space:
mode:
Diffstat (limited to 'kmenuedit')
-rw-r--r--kmenuedit/Makefile.am2
-rw-r--r--kmenuedit/basictab.cpp7
2 files changed, 7 insertions, 2 deletions
diff --git a/kmenuedit/Makefile.am b/kmenuedit/Makefile.am
index 7f54096c7..d385186e7 100644
--- a/kmenuedit/Makefile.am
+++ b/kmenuedit/Makefile.am
@@ -11,7 +11,7 @@ CLEANFILES = dummy.cpp
libkmenueditcommon_la_SOURCES = basictab.cpp treeview.cpp kmenuedit.cpp \
khotkeys.cpp menufile.cpp menuinfo.cpp
-libkmenueditcommon_la_LIBADD = $(LIB_TDEUI) $(LIB_KIO)
+libkmenueditcommon_la_LIBADD = $(LIB_TDEUI) $(LIB_TDEIO)
libkmenueditcommon_la_LDFLAGS = $(all_libraries) -module -avoid-version
kmenuedit_la_SOURCES = main.cpp
diff --git a/kmenuedit/basictab.cpp b/kmenuedit/basictab.cpp
index 5ecb9366c..32dba3f3e 100644
--- a/kmenuedit/basictab.cpp
+++ b/kmenuedit/basictab.cpp
@@ -366,7 +366,12 @@ void BasicTab::setEntryInfo(MenuEntryInfo *entryInfo)
_pathEdit->lineEdit()->setText(df->readPath());
_termOptEdit->setText(df->readEntry("TerminalOptions"));
- _uidEdit->setText(df->readEntry("X-TDE-Username"));
+ if( df->hasKey( "X-TDE-Username" )) {
+ _uidEdit->setText(df->readEntry("X-TDE-Username"));
+ }
+ else {
+ _uidEdit->setText(df->readEntry("X-KDE-Username"));
+ }
if( df->hasKey( "StartupNotify" ))
_launchCB->setChecked(df->readBoolEntry("StartupNotify", true));