kdelibs/kdelibs-4.0.x-kio.patch

37 lines
1.9 KiB
Diff

diff -up kdelibs-4.0.2/kio/kfile/kopenwithdialog.cpp.kio kdelibs-4.0.2/kio/kfile/kopenwithdialog.cpp
--- kdelibs-4.0.2/kio/kfile/kopenwithdialog.cpp.kio 2008-01-05 01:00:16.000000000 +0100
+++ kdelibs-4.0.2/kio/kfile/kopenwithdialog.cpp 2008-03-06 12:34:08.000000000 +0100
@@ -879,7 +879,7 @@ void KOpenWithDialogPrivate::_k_slotOK()
KConfigGroup cg = desktop->desktopGroup();
cg.writeEntry("Type", "Application");
cg.writeEntry("Name", initialServiceName);
- cg.writePathEntry("Exec", fullExec);
+ cg.writeEntry("Exec", fullExec);
if (terminal->isChecked())
{
cg.writeEntry("Terminal", true);
diff -up kdelibs-4.0.2/kio/kfile/kpropertiesdialog.cpp.kio kdelibs-4.0.2/kio/kfile/kpropertiesdialog.cpp
--- kdelibs-4.0.2/kio/kfile/kpropertiesdialog.cpp.kio 2008-01-31 00:54:05.000000000 +0100
+++ kdelibs-4.0.2/kio/kfile/kpropertiesdialog.cpp 2008-03-06 12:31:52.000000000 +0100
@@ -3015,7 +3015,7 @@ KDesktopPropsPlugin::KDesktopPropsPlugin
QString nameStr = _config.readName();
QString genNameStr = _config.readGenericName();
QString commentStr = _config.readComment();
- QString commandStr = config.readPathEntry( "Exec", QString() );
+ QString commandStr = config.readEntry( "Exec", QString() );
if (commandStr.startsWith(QLatin1String("ksystraycmd ")))
{
commandStr.remove(0, 12);
@@ -3176,9 +3176,9 @@ void KDesktopPropsPlugin::applyChanges()
config.writeEntry( "GenericName", d->w->genNameEdit->text(), KConfigGroup::Persistent|KConfigGroup::Localized ); // for compat
if (d->m_systrayBool)
- config.writePathEntry( "Exec", d->w->commandEdit->text().prepend("ksystraycmd ") );
+ config.writeEntry( "Exec", d->w->commandEdit->text().prepend("ksystraycmd ") );
else
- config.writePathEntry( "Exec", d->w->commandEdit->text() );
+ config.writeEntry( "Exec", d->w->commandEdit->text() );
config.writePathEntry( "Path", d->w->pathEdit->lineEdit()->text() );
// Write mimeTypes