mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Add sublabel for 'Show desktop ui'
This commit is contained in:
parent
b915fd095d
commit
70d0458180
@ -6421,6 +6421,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_SHOW_WIMP,
|
||||
"Mostrar intefaz de escritorio"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_SHOW_WIMP,
|
||||
"Abre la interfaz de escritorio si fue cerrada"
|
||||
)
|
||||
#endif
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_QT_DONT_SHOW_AGAIN,
|
||||
|
@ -3843,6 +3843,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_SHOW_WIMP,
|
||||
"Show Desktop UI"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_SHOW_WIMP,
|
||||
"Open the desktop UI if it was closed"
|
||||
)
|
||||
#endif
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_QT_DONT_SHOW_AGAIN,
|
||||
"Don't show this again")
|
||||
|
@ -461,7 +461,9 @@ default_sublabel_macro(action_bind_sublabel_midi_output,
|
||||
default_sublabel_macro(action_bind_sublabel_midi_volume, MENU_ENUM_SUBLABEL_MIDI_VOLUME)
|
||||
default_sublabel_macro(action_bind_sublabel_onscreen_overlay_settings_list, MENU_ENUM_SUBLABEL_ONSCREEN_OVERLAY_SETTINGS)
|
||||
default_sublabel_macro(action_bind_sublabel_onscreen_notifications_settings_list, MENU_ENUM_SUBLABEL_ONSCREEN_NOTIFICATIONS_SETTINGS)
|
||||
|
||||
#ifdef HAVE_QT
|
||||
default_sublabel_macro(action_bind_sublabel_show_wimp, MENU_ENUM_SUBLABEL_SHOW_WIMP)
|
||||
#endif
|
||||
|
||||
static int action_bind_sublabel_cheevos_entry(
|
||||
file_list_t *list,
|
||||
@ -1942,6 +1944,11 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_ONSCREEN_NOTIFICATIONS_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_onscreen_notifications_settings_list);
|
||||
break;
|
||||
#ifdef HAVE_QT
|
||||
case MENU_ENUM_LABEL_SHOW_WIMP:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_show_wimp);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
case MSG_UNKNOWN:
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user