From 965fd8f8bea7d5237358ff8ce050abeed6d73e9a Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Sat, 25 Jan 2020 02:36:40 +0500 Subject: [PATCH] player_rate: Use tabular figures for speed rate menu Since gtk::ModelButton allows to set markup, the menu entries can now use tabular figures. Make the labels untranslatable, as they are generic enough already, and being translatable would make even less sense with markup. --- podcasts-gtk/resources/gtk/player_rate.ui | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/podcasts-gtk/resources/gtk/player_rate.ui b/podcasts-gtk/resources/gtk/player_rate.ui index b7cb691..b627fae 100644 --- a/podcasts-gtk/resources/gtk/player_rate.ui +++ b/podcasts-gtk/resources/gtk/player_rate.ui @@ -45,6 +45,9 @@ Tobias Bernard True False 1.00× + + + False @@ -79,7 +82,8 @@ Tobias Bernard vertical - 1.50× + <span font-features="tnum=1">1.50×</span> + True True 1.5 speed rate radio @@ -92,7 +96,8 @@ Tobias Bernard - 1.25× + <span font-features="tnum=1">1.25×</span> + True True 1.25 speed rate radio @@ -105,7 +110,8 @@ Tobias Bernard - 1.00× + <span font-features="tnum=1">1.00×</span> + True True Normal speed True