Create MENU_ENUM_LABEL_CB_MENU_WALLPAPER

This commit is contained in:
twinaphex 2016-06-18 18:41:18 +02:00
parent 3573050d28
commit 3b0983cf97
3 changed files with 5 additions and 1 deletions

View File

@ -900,7 +900,8 @@ static int generic_action_ok(const char *path,
strlcpy(settings->path.menu_wallpaper, strlcpy(settings->path.menu_wallpaper,
action_path, sizeof(settings->path.menu_wallpaper)); action_path, sizeof(settings->path.menu_wallpaper));
task_push_image_load(action_path, "cb_menu_wallpaper", task_push_image_load(action_path,
menu_hash_to_str_enum(MENU_ENUM_LABEL_CB_MENU_WALLPAPER),
menu_display_handle_wallpaper_upload, NULL); menu_display_handle_wallpaper_upload, NULL);
} }
break; break;

View File

@ -26,6 +26,8 @@ static const char *menu_hash_to_str_us_label_enum(enum menu_hash_enums msg)
{ {
switch (msg) switch (msg)
{ {
case MENU_ENUM_LABEL_CB_MENU_WALLPAPER:
return "cb_menu_wallpaper";
case MENU_ENUM_LABEL_CB_LAKKA_LIST: case MENU_ENUM_LABEL_CB_LAKKA_LIST:
return "cb_lakka_list"; return "cb_lakka_list";
case MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_LIST: case MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_LIST:

View File

@ -1291,6 +1291,7 @@ enum menu_hash_enums
MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_DOWNLOAD, MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_DOWNLOAD,
MENU_ENUM_LABEL_CB_UPDATE_OVERLAYS, MENU_ENUM_LABEL_CB_UPDATE_OVERLAYS,
MENU_ENUM_LABEL_CB_CORE_UPDATER_LIST, MENU_ENUM_LABEL_CB_CORE_UPDATER_LIST,
MENU_ENUM_LABEL_CB_MENU_WALLPAPER,
MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_LIST, MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_LIST,
MENU_ENUM_LABEL_CB_LAKKA_LIST, MENU_ENUM_LABEL_CB_LAKKA_LIST,
MENU_ENUM_LABEL_CB_CORE_CONTENT_LIST, MENU_ENUM_LABEL_CB_CORE_CONTENT_LIST,