trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2012

Re: [trinity-devel] Mysterious hard-coding (Solved!)

From: Darrell Anderson <humanreadable@...>
Date: Tue, 29 May 2012 16:50:51 -0700 (PDT)
> Could this be the problem?
> 
> In tdebase/konqueror/konq_mainwindow:3878
> 
>    m_configureModules <<
> "kde-filebehavior.desktop" <<
> "kde-fileappearance.desktop" <<
>       "kde-filepreviews.desktop" <<
> "kde-filetypes.desktop" <<
>       "kde-khtml_behavior.desktop" <<
> "kde-khtml_java_js.desktop" <<
>       "kde-khtml_filter.desktop" <<
>       "kde-khtml_fonts.desktop" <<
> "kde-ebrowsing.desktop" <<
>       "kde-kcmhistory.desktop" <<
> "kde-cookies.desktop" <<
>       "kde-cache.desktop" <<
> "kde-proxy.desktop" << "kde-kcmcss.desktop" <<
>       "kde-crypto.desktop" <<
> "kde-useragent.desktop" <<
>       "kde-khtml_plugins.desktop" <<
> "kde-kcmkonqyperformance.desktop";
> 
> Perhaps change the "kde-" prefix to "tde-"?
> 
> I'm rebuilding now with a patch....

Yes, Virginia, that is the problem! Woo-hoo! :-)

Looking through the sources reveals this is a common usage form for desktop files. Seems then I need to amend my patches to change instances in the source code of kde-*.desktop to tde-*.desktop.

Does this sound same?

Second, a full search of the GIT sources revealed one exception to a "blind" search-and-replace of all such instances: x-kde-wallet.desktop. This is a mimetype. For the purposes of resolving bug report 892, I don't want to mess with renaming that desktop file, but in the bigger picture, do we want to or should be? I don't know how renaming will break existing profiles.

Darrell