From 5dc616eadfd3e66cb89e9fc22c714c2edd2a77f2 Mon Sep 17 00:00:00 2001 From: reiseb <48870100+reiseb@users.noreply.github.com> Date: Tue, 16 Jun 2020 16:21:03 +0200 Subject: change play/pause to playing/paused to improve UX --- man/feh.pre | 2 +- src/help.raw | 2 +- src/slideshow.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/feh.pre b/man/feh.pre index b70d948..faedce1 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -1206,7 +1206,7 @@ file . .It %a . -Information about slideshow state (play/pause) +Information about slideshow state (playing/paused) . .It %f . diff --git a/src/help.raw b/src/help.raw index 0a87b70..e0fb62a 100644 --- a/src/help.raw +++ b/src/help.raw @@ -124,7 +124,7 @@ INDEX MODE OPTIONS font is specified, a title will not be printed FORMAT SPECIFIERS - %a information about slideshow state (play/pause) + %a information about slideshow state (playing/paused) %f image path/filename %F image path/filename (shell-escaped) %g window dimensions (\"width,height\") in pixels diff --git a/src/slideshow.c b/src/slideshow.c index d9f33de..03e8e06 100644 --- a/src/slideshow.c +++ b/src/slideshow.c @@ -399,10 +399,10 @@ char *feh_printf(char *str, feh_file * file, winwidget winwid) switch (*c) { case 'a': if (opt.paused == 1) { - strncat(ret, "pause", sizeof(ret) - strlen(ret) - 1); + strncat(ret, "paused", sizeof(ret) - strlen(ret) - 1); } else { - strncat(ret, "play", sizeof(ret) - strlen(ret) - 1); + strncat(ret, "playing", sizeof(ret) - strlen(ret) - 1); } break; case 'f': -- cgit v1.2.3