[Digikam-devel] [Bug 127112] digikam: Tools -> 'Gamma Adjustment...' fails silently when kgamma is not installed
Gilles Caulier
caulier.gilles at kdemail.net
Tue Dec 12 08:04:11 GMT 2006
------- 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=127112
caulier.gilles kdemail net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From caulier.gilles kdemail net 2006-12-12 09:04 -------
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"/>
More information about the Digikam-devel
mailing list