[Digikam-devel] [Bug 147263] Some icons are missing
Gilles Caulier
caulier.gilles at gmail.com
Sun Jul 1 15:21:08 BST 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=147263
------- Additional Comments From caulier.gilles gmail com 2007-07-01 16:21 -------
Not reproductible here. I have installed a fresh computer to my son school yesterday, using current svn, and all is fine.
The png files used for picker color buttons are in digikam/data/pics/ and named :
color-picker-black.png
color-picker-grey.png
color-picker-white.png
3 files are installed in digiKam data folders from your KDE application install dir. Here under mandriva, we have:
/usr/bin/install -c -p -m 644 'color-picker-black.png' '/usr/share/apps/digikam/data/color-picker-black.png'
/usr/bin/install -c -p -m 644 'color-picker-grey.png' '/usr/share/apps/digikam/data/color-picker-grey.png'
/usr/bin/install -c -p -m 644 'color-picker-white.png' '/usr/share/apps/digikam/data/color-picker-white.png'
in AdjustCurves plugin dialog code, we have :
...
m_pickBlack = new QPushButton(m_pickerColorButtonGroup);
m_pickerColorButtonGroup->insert(m_pickBlack, BlackTonal);
KGlobal::dirs()->addResourceType("color-picker-black", KGlobal::dirs()->kde_default("data") +
"digikam/data");
directory = KGlobal::dirs()->findResourceDir("color-picker-black", "color-picker-black.png");
m_pickBlack->setPixmap( QPixmap( directory + "color-picker-black.png" ) );
...
Which work perfectly...
Gilles
More information about the Digikam-devel
mailing list