Summary: | Impossible to open applications from applications:/ or settings from settings:/ | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | Iñaki Baz Castillo <ibc> |
Component: | settings | Assignee: | Joseph Wenninger <jowenn> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aliakc, ana, esigra, j.cook, jens, jsvrp.gw |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Iñaki Baz Castillo
2005-04-13 02:40:30 UTC
*** Bug 103925 has been marked as a duplicate of this bug. *** This bug is reproducible with Debian's unofficial 3.4.0 packages, though at the moment I can't offer you any insight as to why, unfortunately. SVN commit 409326 by dfaure: make clicking on settings:'s items work again (backport) BUG: 103766 M +4 -5 branches/KDE/3.4/kdebase/kioslave/settings/kio_settings.cc --- branches/KDE/3.4/kdebase/kioslave/settings/kio_settings.cc #409325:409326 @@ -69,7 +69,7 @@ entry.append(atom); } -static void createFileEntry(KIO::UDSEntry& entry, const QString& name, const QString& url, const QString& mime,const QString& iconName) +static void createFileEntry(KIO::UDSEntry& entry, const QString& name, const QString& url, const QString& mime, const QString& iconName, const QString& localPath) { entry.clear(); addAtom(entry, KIO::UDS_NAME, 0, name); @@ -78,7 +78,7 @@ addAtom(entry, KIO::UDS_ACCESS, 0500); addAtom(entry, KIO::UDS_MIME_TYPE, 0, mime); addAtom(entry, KIO::UDS_SIZE, 0); - addAtom(entry, KIO::UDS_GUESSED_MIME_TYPE, 0, "application/x-desktop"); + addAtom(entry, KIO::UDS_LOCAL_PATH, 0, localPath); addAtom(entry, KIO::UDS_CREATION_TIME, 1); addAtom(entry, KIO::UDS_MODIFICATION_TIME, time(0)); addAtom(entry, KIO::UDS_ICON_NAME, 0, iconName); @@ -93,7 +93,6 @@ addAtom(entry, KIO::UDS_MIME_TYPE, 0, mime); addAtom(entry, KIO::UDS_URL, 0, url); addAtom(entry, KIO::UDS_SIZE, 0); - addAtom(entry, KIO::UDS_GUESSED_MIME_TYPE, 0, "inode/directory"); addAtom(entry, KIO::UDS_ICON_NAME, 0, iconName); } @@ -202,7 +201,7 @@ // createFileEntry(entry, service->name(), newUrl, "application/x-desktop", service->icon()); createFileEntry(entry, service->name(), url.url(1)+service->desktopEntryName(), - "application/x-desktop", service->icon()); + "application/x-desktop", service->icon(), locate("apps", service->desktopEntryPath()) ); } else { error(KIO::ERR_SLAVE_DEFINED,i18n("Unknown settings folder")); return; @@ -284,7 +283,7 @@ } else { KService::Ptr s(static_cast<KService *>(e)); kdDebug() << "SettingsProtocol: adding file entry " << url.url(1)+s->name() << endl; - createFileEntry(entry,s->name(),url.url(1)+s->desktopEntryName(), "application/x-desktop",s->icon()); + createFileEntry(entry,s->name(),url.url(1)+s->desktopEntryName(), "application/x-desktop",s->icon(),locate("apps", s->desktopEntryPath())); } listEntry(entry, false); *** Bug 107589 has been marked as a duplicate of this bug. *** *** Bug 108728 has been marked as a duplicate of this bug. *** *** Bug 111200 has been marked as a duplicate of this bug. *** |