mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Thx to Herv� Poussineau the gcc 3.3.x are working agein
[email protected] svn path=/trunk/; revision=10396
This commit is contained in:
@@ -192,16 +192,24 @@ int TaskbarSettingsDlg::Command(int id, int code)
|
||||
break;
|
||||
|
||||
case ID_SHOW_CLOCK:
|
||||
XMLBoolRef(XMLPos(g_Globals.get_cfg("desktopbar"),"options"), "show-clock", true).toggle();
|
||||
{
|
||||
XMLBoolRef boolRef1(XMLPos(g_Globals.get_cfg("desktopbar"),"options"), "show-clock", true);
|
||||
boolRef1.toggle();
|
||||
SendMessage(g_Globals._hwndDesktopBar, PM_REFRESH_CONFIG, 0, 0);
|
||||
PropSheet_Changed(GetParent(_hwnd), _hwnd);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case ID_HIDE_INACTIVE_ICONS:
|
||||
XMLBoolRef(XMLPos(g_Globals.get_cfg("notify-icons"),"options"), "hide-inactive", true).toggle();
|
||||
{
|
||||
XMLBoolRef boolRef2(XMLPos(g_Globals.get_cfg("notify-icons"),"options"), "hide-inactive", true);
|
||||
boolRef2.toggle();
|
||||
SendMessage(g_Globals._hwndDesktopBar, PM_REFRESH_CONFIG, 0, 0);
|
||||
PropSheet_Changed(GetParent(_hwnd), _hwnd);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
default:
|
||||
return 1;
|
||||
|
||||
@@ -262,7 +262,8 @@ void NotifyArea::write_config()
|
||||
XMLPos pos = g_Globals.get_cfg();
|
||||
|
||||
pos.smart_create("desktopbar");
|
||||
XMLBoolRef(XMLPos(pos,"options"), "show-clock") = _hwndClock!=0;
|
||||
XMLBoolRef boolRef(XMLPos(pos,"options"), "show-clock");
|
||||
boolRef = _hwndClock!=0;
|
||||
pos.back();
|
||||
|
||||
pos.smart_create("notify-icons");
|
||||
|
||||
Reference in New Issue
Block a user