[Digikam-devel] [Bug 132660] Shortcuts for ratings do not work as of 0.9.x beta
Marcel Wiesweg
marcel.wiesweg at gmx.de
Thu Aug 24 20:57:23 BST 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=132660
marcel.wiesweg gmx de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From marcel.wiesweg gmx de 2006-08-24 21:57 -------
SVN commit 576788 by mwiesweg:
- for main view shortcuts, use assignRating slots from AlbumIconView,
which assigns directly (right side bar does not)
- give shortcuts for rating clearer names so that they can be
identified in the shortcuts dialog
BUG: 132660
M +6 -6 digikam/digikamapp.cpp
M +7 -7 digikam/digikamview.cpp
M +6 -6 utilities/imageeditor/editor/imagewindow.cpp
--- trunk/extragear/graphics/digikam/digikam/digikamapp.cpp #576787:576788
@ -692,22 +692,22 @
// -- Rating actions ---------------------------------------------------------------
- m_0Star = new KAction(i18n("No Star"), CTRL+Key_0,
+ m_0Star = new KAction(i18n("Assign Rating \"No Star\""), CTRL+Key_0,
mView, SLOT(slotAssignRatingNoStar()),
actionCollection(), "imageview_ratenostar");
- m_1Star = new KAction(i18n("One Star"), CTRL+Key_1,
+ m_1Star = new KAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1,
mView, SLOT(slotAssignRatingOneStar()),
actionCollection(), "imageview_rateonestar");
- m_2Star = new KAction(i18n("Two Star"), CTRL+Key_2,
+ m_2Star = new KAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2,
mView, SLOT(slotAssignRatingTwoStar()),
actionCollection(), "imageview_ratetwostar");
- m_3Star = new KAction(i18n("Three Star"), CTRL+Key_3,
+ m_3Star = new KAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3,
mView, SLOT(slotAssignRatingThreeStar()),
actionCollection(), "imageview_ratethreestar");
- m_4Star = new KAction(i18n("Four Star"), CTRL+Key_4,
+ m_4Star = new KAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4,
mView, SLOT(slotAssignRatingFourStar()),
actionCollection(), "imageview_ratefourstar");
- m_5Star = new KAction(i18n("Five Star"), CTRL+Key_5,
+ m_5Star = new KAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5,
mView, SLOT(slotAssignRatingFiveStar()),
actionCollection(), "imageview_ratefivestar");
--- trunk/extragear/graphics/digikam/digikam/digikamview.cpp #576787:576788
@ -916,37 +916,37 @
void DigikamView::slotAssignRating(int rating)
{
- d->rightSideBar->slotAssignRating(rating);
+ d->iconView->slotAssignRating(rating);
}
void DigikamView::slotAssignRatingNoStar()
{
- d->rightSideBar->slotAssignRating(0);
+ d->iconView->slotAssignRating(0);
}
void DigikamView::slotAssignRatingOneStar()
{
- d->rightSideBar->slotAssignRating(1);
+ d->iconView->slotAssignRating(1);
}
void DigikamView::slotAssignRatingTwoStar()
{
- d->rightSideBar->slotAssignRating(2);
+ d->iconView->slotAssignRating(2);
}
void DigikamView::slotAssignRatingThreeStar()
{
- d->rightSideBar->slotAssignRating(3);
+ d->iconView->slotAssignRating(3);
}
void DigikamView::slotAssignRatingFourStar()
{
- d->rightSideBar->slotAssignRating(4);
+ d->iconView->slotAssignRating(4);
}
void DigikamView::slotAssignRatingFiveStar()
{
- d->rightSideBar->slotAssignRating(5);
+ d->iconView->slotAssignRating(5);
}
} // namespace Digikam
--- trunk/extragear/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp #576787:576788
@ -228,22 +228,22 @
// -- Rating actions ---------------------------------------------------------------
- m_0Star = new KAction(i18n("No Star"), CTRL+Key_0,
+ m_0Star = new KAction(i18n("Assign Rating \"No Star\""), CTRL+Key_0,
m_rightSidebar, SLOT(slotAssignRatingNoStar()),
actionCollection(), "imageview_ratenostar");
- m_1Star = new KAction(i18n("One Star"), CTRL+Key_1,
+ m_1Star = new KAction(i18n("Assign Rating \"One Star\""), CTRL+Key_1,
m_rightSidebar, SLOT(slotAssignRatingOneStar()),
actionCollection(), "imageview_rateonestar");
- m_2Star = new KAction(i18n("Two Star"), CTRL+Key_2,
+ m_2Star = new KAction(i18n("Assign Rating \"Two Stars\""), CTRL+Key_2,
m_rightSidebar, SLOT(slotAssignRatingTwoStar()),
actionCollection(), "imageview_ratetwostar");
- m_3Star = new KAction(i18n("Three Star"), CTRL+Key_3,
+ m_3Star = new KAction(i18n("Assign Rating \"Three Stars\""), CTRL+Key_3,
m_rightSidebar, SLOT(slotAssignRatingThreeStar()),
actionCollection(), "imageview_ratethreestar");
- m_4Star = new KAction(i18n("Four Star"), CTRL+Key_4,
+ m_4Star = new KAction(i18n("Assign Rating \"Four Stars\""), CTRL+Key_4,
m_rightSidebar, SLOT(slotAssignRatingFourStar()),
actionCollection(), "imageview_ratefourstar");
- m_5Star = new KAction(i18n("Five Star"), CTRL+Key_5,
+ m_5Star = new KAction(i18n("Assign Rating \"Five Stars\""), CTRL+Key_5,
m_rightSidebar, SLOT(slotAssignRatingFiveStar()),
actionCollection(), "imageview_ratefivestar");
More information about the Digikam-devel
mailing list