mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
Merge remote-tracking branch 'check/next-cc'
needs some build-fixing and merge errors are likely :-( Conflicts: configure.ac data/icons/start.jpg data/locale/deutsch.locale data/locale/unmaintained/dutch.locale lib/libdvbsub/Makefile.am lib/libdvbsub/dvbsubtitle.cpp lib/libtuxtxt/Makefile.am src/Makefile.am src/daemonc/Makefile.am src/driver/audiodec/Makefile.am src/driver/framebuffer.cpp src/driver/framebuffer.h src/driver/pictureviewer/Makefile.am src/driver/rcinput.cpp src/driver/streamts.cpp src/driver/volume.cpp src/eitd/Makefile.am src/gui/Makefile.am src/gui/audioplayer.cpp src/gui/bedit/Makefile.am src/gui/bedit/bouqueteditor_chanselect.cpp src/gui/bouquetlist.cpp src/gui/channellist.cpp src/gui/components/Makefile.am src/gui/epgview.cpp src/gui/eventlist.cpp src/gui/infoviewer.cpp src/gui/infoviewer_bb.cpp src/gui/keybind_setup.cpp src/gui/moviebrowser.cpp src/gui/movieplayer.cpp src/gui/scan.cpp src/gui/scan_setup.cpp src/gui/test_menu.cpp src/gui/test_menu.h src/gui/update.cpp src/gui/videosettings.cpp src/gui/widget/Makefile.am src/gui/widget/buttons.cpp src/gui/widget/stringinput.cpp src/neutrino.cpp src/nhttpd/tuxboxapi/coolstream/Makefile.am src/system/Makefile.am src/system/setting_helpers.cpp src/system/settings.h src/zapit/include/zapit/client/zapitclient.h src/zapit/include/zapit/femanager.h src/zapit/include/zapit/getservices.h src/zapit/lib/zapitclient.cpp src/zapit/src/Makefile.am src/zapit/src/capmt.cpp src/zapit/src/femanager.cpp src/zapit/src/frontend.cpp src/zapit/src/getservices.cpp
This commit is contained in:
@@ -184,12 +184,6 @@ void CColorSetupNotifier::setPalette()
|
||||
bool CColorSetupNotifier::changeNotify(const neutrino_locale_t, void *)
|
||||
{
|
||||
setPalette();
|
||||
#if 0
|
||||
/* recalculate volumebar */
|
||||
CVolume::getInstance()->Init();
|
||||
/* recalculate infoclock */
|
||||
CInfoClock::getInstance()->Init();
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -249,8 +243,6 @@ bool CFontSizeNotifier::changeNotify(const neutrino_locale_t, void *)
|
||||
CNeutrinoApp::getInstance()->SetupFonts();
|
||||
|
||||
hintBox.hide();
|
||||
/* recalculate volumebar */
|
||||
CVolume::getInstance()->Init();
|
||||
/* recalculate infoclock */
|
||||
CInfoClock::getInstance()->Init();
|
||||
return true;
|
||||
@@ -448,8 +440,11 @@ bool CTZChangeNotifier::changeNotify(const neutrino_locale_t, void * Data)
|
||||
perror("unlink failed");
|
||||
if (symlink(cmd.c_str(), "/etc/localtime"))
|
||||
perror("symlink failed");
|
||||
#if 0
|
||||
cmd = ":" + zone;
|
||||
setenv("TZ", cmd.c_str(), 1);
|
||||
#endif
|
||||
tzset();
|
||||
}
|
||||
|
||||
return false;
|
||||
@@ -511,10 +506,9 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
||||
#if HAVE_COOL_HARDWARE
|
||||
void CFanControlNotifier::setSpeed(unsigned int speed)
|
||||
{
|
||||
int cfd;
|
||||
|
||||
printf("FAN Speed %d\n", speed);
|
||||
cfd = open("/dev/cs_control", O_RDONLY);
|
||||
#ifndef BOXMODEL_APOLLO
|
||||
int cfd = open("/dev/cs_control", O_RDONLY);
|
||||
if(cfd < 0) {
|
||||
perror("Cannot open /dev/cs_control");
|
||||
return;
|
||||
@@ -523,6 +517,7 @@ void CFanControlNotifier::setSpeed(unsigned int speed)
|
||||
perror("IOC_CONTROL_PWM_SPEED");
|
||||
|
||||
close(cfd);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool CFanControlNotifier::changeNotify(const neutrino_locale_t, void * data)
|
||||
|
Reference in New Issue
Block a user