trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

Re: [trinity-devel] Error Message When Opening Panels Control Center

From: Darrell Anderson <humanreadable@...>
Date: Mon, 14 Nov 2011 19:19:57 -0800 (PST)
> In 3.5.13, when I select
> Desktop/Panels in the Control Center or from the T-Menu, I
> receive the following error message:
> 
> ================================================
> Error - KDE Control Module
> ================================================
> Error loading theme image file.
> /opt/trinity/apps/kicker/wallpapers/default.png
> /opt/trinity/apps/kicker/wallpapers/default.png
>               OK
> ================================================
> 
> The message box title bar needs some branding attention.
> :)
> 
> I have an
> /opt/trinity/share/apps/kicker/wallpapers/default.png.
> 
> Is this error message a build error? I notice in the cmake
> files I might need to specify DATA_INSTALL_DIR (kde_datadir
> in autotools). If yes, then is that location $PREFIX/share?
> 
> Or is this an error in the panel configuration sources?


More info:

The error message references: /opt/trinity/apps/kicker/wallpapers/default.png

rather than: /opt/trinity/share/apps/kicker/wallpapers/default.png

/opt/trinity/share/apps/kicker/wallpapers/default.png does exist

kdebase/cmake/modules/TDESetupPaths.cmake:

EXEC_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX} = $PREFIX = /opt/trinity
SHARE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}/share = /opt/trinity/share
DATA_INSTALL_DIR = ${SHARE_INSTALL_PREFIX}/apps = /opt/trinity/share/apps

kdebase/kicker/data/wallpaper/CMakeLists.txt:

DESTINATION ${DATA_INSTALL_DIR}/kicker/wallpapers = /opt/trinity/share/apps/kicker/wallpapers

kdebase/kcontrol/kthememanager/ktheme.cpp:

return m_kgd->findResource( "data", "kicker/wallpapers/" + path )

Same code snippet as in KDE 3.5.10.

Everything looks correct. Why the error message? Is there a way to patch this easily?

Darrell