diff --git a/data/icons/hints/Makefile.am b/data/icons/hints/Makefile.am index 43a6c747e..ad85f5467 100644 --- a/data/icons/hints/Makefile.am +++ b/data/icons/hints/Makefile.am @@ -11,6 +11,7 @@ install_DATA = \ hint_blank_screen.png \ hint_ci.png \ hint_dboxinfo.png \ + hint_default.png \ hint_delete.png \ hint_extended.png \ hint_factory.png \ diff --git a/data/icons/hints/hint_default.png b/data/icons/hints/hint_default.png new file mode 100644 index 000000000..afc7e537a Binary files /dev/null and b/data/icons/hints/hint_default.png differ diff --git a/src/gui/widget/icons.h b/src/gui/widget/icons.h index 5a506b0b5..e6ed49e17 100644 --- a/src/gui/widget/icons.h +++ b/src/gui/widget/icons.h @@ -183,6 +183,7 @@ #define NEUTRINO_ICON_BUTTON_MUTE_ZAP_INACTIVE "mute_zap_gray" /* menu hints */ +#define NEUTRINO_ICON_HINT_DEFAULT "hint_default" #define NEUTRINO_ICON_HINT_BACK "hint_back" #define NEUTRINO_ICON_HINT_NEXT "hint_next" /* main menu */ diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 1ecb788c8..b8ceefa5b 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1564,7 +1564,7 @@ void CMenuWidget::paintHint(int pos) info_box->setColorAll(COL_FRAME_PLUS_0, COL_MENUCONTENTDARK_PLUS_0); info_box->setTextColor(COL_MENUCONTENTDARK_TEXT); info_box->enableShadow(); - info_box->setPicture(item->hintIcon ? item->hintIcon : NULL); + info_box->setPicture(item->hintIcon ? item->hintIcon : NEUTRINO_ICON_HINT_DEFAULT); info_box->enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_MENUFOOT_PLUS_0, g_settings.theme.menu_Hint_gradient_direction);// COL_MENUFOOT_PLUS_0 is default footer color //paint result