mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
hdd_menu: use new marker icons
Origin commit data
------------------
Commit: 0809b169e3
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)
Origin message was:
------------------
- hdd_menu: use new marker icons
This commit is contained in:
@@ -864,7 +864,7 @@ _show_menu:
|
|||||||
if (it->mounted) {
|
if (it->mounted) {
|
||||||
std::string dst = MOUNT_BASE + it->devname;
|
std::string dst = MOUNT_BASE + it->devname;
|
||||||
if (!stat(dst.c_str(), &stat_buf) && rec_st.st_dev == stat_buf.st_dev)
|
if (!stat(dst.c_str(), &stat_buf) && rec_st.st_dev == stat_buf.st_dev)
|
||||||
rec_icon = CNeutrinoApp::getInstance()->recordingstatus ? NEUTRINO_ICON_REC : NEUTRINO_ICON_REC_GRAY;
|
rec_icon = CNeutrinoApp::getInstance()->recordingstatus ? NEUTRINO_ICON_MARKER_RECORD : NEUTRINO_ICON_MARKER_RECORD_GRAY;
|
||||||
}
|
}
|
||||||
std::string key = "m" + it->devname;
|
std::string key = "m" + it->devname;
|
||||||
bool enabled = !rec_icon || !CNeutrinoApp::getInstance()->recordingstatus;
|
bool enabled = !rec_icon || !CNeutrinoApp::getInstance()->recordingstatus;
|
||||||
|
Reference in New Issue
Block a user