[gimp] plug-ins: add some default shortcuts for animation preview.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: add some default shortcuts for animation preview.
- Date: Sat, 20 Apr 2013 23:42:37 +0000 (UTC)
commit 2368763ddfc0aaddd50c026d3c45633021258a93
Author: Jehan <jehan girinstud io>
Date: Tue Dec 18 00:23:08 2012 +0900
plug-ins: add some default shortcuts for animation preview.
"space" for play/pause, "f" for next frame and "d" for previous frame.
plug-ins/common/animation-play.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/common/animation-play.c b/plug-ins/common/animation-play.c
index f1b7cf8..d3b4e0f 100644
--- a/plug-ins/common/animation-play.c
+++ b/plug-ins/common/animation-play.c
@@ -587,11 +587,11 @@ ui_manager_new (GtkWidget *window)
static GtkActionEntry actions[] =
{
{ "step-back", GTK_STOCK_MEDIA_PREVIOUS,
- N_("_Step_back"), NULL, N_("Step back to previous frame"),
+ N_("_Step_back"), "d", N_("Step back to previous frame"),
G_CALLBACK (step_back_callback) },
{ "step", GTK_STOCK_MEDIA_NEXT,
- N_("_Step"), NULL, N_("Step to next frame"),
+ N_("_Step"), "f", N_("Step to next frame"),
G_CALLBACK (step_callback) },
{ "rewind", GTK_STOCK_MEDIA_REWIND,
@@ -635,7 +635,7 @@ ui_manager_new (GtkWidget *window)
static GtkToggleActionEntry toggle_actions[] =
{
{ "play", GTK_STOCK_MEDIA_PLAY,
- NULL, NULL, N_("Start playback"),
+ NULL, "space", N_("Start playback"),
G_CALLBACK (play_callback), FALSE },
{ "detach", GIMP_STOCK_DETACH,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]