From f158b01bd38af27302fdc690caf61d09d86ab7e2 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Fri, 5 Dec 2025 14:48:41 +0300 Subject: [PATCH] fixed disabling display of time spent in the game --- data_from_portwine/scripts/functions_helper | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index f066fb79..a8de34bf 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -6778,9 +6778,12 @@ gui_userconf () { *"${translations[dark]}") GTK_THEME=${GTK_THEME//${translations[dark]}/dark} ;; esac - if [[ $DESKTOP_WITH_TIME == "${translations[Show in hours and minutes]}" ]] - then DESKTOP_WITH_TIME="posnumber1" - else DESKTOP_WITH_TIME="posnumber2" + if [[ $DESKTOP_WITH_TIME == "${translations[Show in hours and minutes]}" ]] ; then + DESKTOP_WITH_TIME="posnumber1" + elif [[ $DESKTOP_WITH_TIME == "${translations[Show in days, hours, minutes]}" ]] ; then + DESKTOP_WITH_TIME="posnumber2" + else + DESKTOP_WITH_TIME="disabled" fi if [[ $SORT_WITH_TIME == "${translations[According to last launch]}" ]]