Version: 0.8.2-rc1 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu14 dapper) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.15-22-686 At least kde 3.5.2 kcmshell returns no error when a kcm module is not found: $ kcmshell kgamma && echo okay kcmshell (kdelibs): WARNING: Could not find module 'kgamma'. okay Therefore Tools -> 'Gamma Adjustment...' gives no error msg when kgamma is not installed, because the return status check is okay. Achim P.S. FWIW: in Kubuntu, kgamma is replaced by the displayconfig module from guidance http://www.simonzone.com/software/guidance/#screenshots therefore kgamma is not installed by default.
See also: https://launchpad.net/products/digikam/+bug/44122
SVN commit 612662 by cgilles: digikam from trunk : fix kgamma to display module from KDE control center BUG: 127112 M +7 -7 digikamapp.cpp M +1 -1 digikamapp.h M +2 -2 digikamui.rc --- trunk/extragear/graphics/digikam/digikam/digikamapp.cpp #612661:612662 @@ -753,13 +753,13 @@ actionCollection(), "help_tipofday"); - mGammaAdjustmentAction = new KAction(i18n("Gamma Adjustment..."), + mGammaAdjustmentAction = new KAction(i18n("Display Adjustment..."), "kgamma", 0, this, - SLOT(slot_gammaAdjustment()), + SLOT(slotDisplayAdjustment()), actionCollection(), - "gamma_adjustment"); + "display_adjustment"); // -- Rating actions --------------------------------------------------------------- @@ -1056,18 +1056,18 @@ mImageExifOrientationActionMenu->setEnabled(val); } -void DigikamApp::slot_gammaAdjustment() +void DigikamApp::slotDisplayAdjustment() { QStringList args; QString *perror = 0; int *ppid = 0; - args << "kgamma"; + args << "display"; int ValRet = KApplication::kdeinitExec(QString::fromLatin1("kcmshell"), args, perror, ppid); if ( ValRet != 0 ) - KMessageBox::error(this, i18n("Cannot start \"KGamma\" extension from KDE control center;\n" - "please check your installation.")); + KMessageBox::error(this, i18n("Cannot start \"Display\" configuration panel from KDE control center;\n" + "please check your installation.")); } void DigikamApp::slot_exit() --- trunk/extragear/graphics/digikam/digikam/digikamapp.h #612661:612662 @@ -135,7 +135,7 @@ void slot_exit(); void slotShowTip(); void slotShowKipiHelp(); - void slot_gammaAdjustment(); + void slotDisplayAdjustment(); void slotAboutToShowForwardMenu(); void slotAboutToShowBackwardMenu(); --- trunk/extragear/graphics/digikam/digikam/digikamui.rc #612661:612662 @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui version="10" name="digikam" > +<kpartgui version="11" name="digikam" > <MenuBar> @@ -73,7 +73,7 @@ <Separator/> <ActionList name="album_actions"/> <Separator/> - <Action name="gamma_adjustment" /> + <Action name="display_adjustment" /> <ActionList name="tool_actions"/> <Menu name="BatchProcesses"><text>&Batch Processes</text> <ActionList name="batch_actions"/>