From f34c1d586ab783f7fab644db804e3e2f727f7e15 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Wed, 4 Aug 2004 21:42:33 +0000 Subject: [PATCH] fix clean target for new standard makefiles svn path=/trunk/; revision=10399 --- reactos/subsys/system/explorer/Makefile.MinGW | 3 ++- reactos/subsys/system/explorer/Makefile.PCH | 3 ++- .../subsys/system/explorer/dialogs/settings.cpp | 14 ++++---------- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/reactos/subsys/system/explorer/Makefile.MinGW b/reactos/subsys/system/explorer/Makefile.MinGW index 622786208bd..a547d0935fc 100644 --- a/reactos/subsys/system/explorer/Makefile.MinGW +++ b/reactos/subsys/system/explorer/Makefile.MinGW @@ -90,4 +90,5 @@ notifyhook.dll: notifyhook/notifyhook.c notifyhook/notifyhook.h $(CC) -D_WIN32_IE=0x0600 -Wall -D_NOTIFYHOOK_IMPL -Os -s notifyhook/notifyhook.c -shared -o $@ clean: - rm -f $(TARGET) $(OBJECTS) $(PROGRAM)$(RES_SUFFIX) + rm -f $(TARGET) $(OBJECTS) $(PROGRAM)$(RES_SUFFIX) \ + desktop/*.o dialogs/*.o shell/*.o taskbar/*.o utility/*.o diff --git a/reactos/subsys/system/explorer/Makefile.PCH b/reactos/subsys/system/explorer/Makefile.PCH index 94640c893c1..c28b0158c94 100644 --- a/reactos/subsys/system/explorer/Makefile.PCH +++ b/reactos/subsys/system/explorer/Makefile.PCH @@ -95,4 +95,5 @@ notifyhook.dll: notifyhook/notifyhook.c notifyhook/notifyhook.h $(CC) -D_WIN32_IE=0x0600 -Wall -D_NOTIFYHOOK_IMPL -Os -s notifyhook/notifyhook.c -shared -o $@ clean: - rm -f $(TARGET) $(OBJECTS) $(PROGRAM)$(RES_SUFFIX) precomp.h.gch + rm -f $(TARGET) $(OBJECTS) $(PROGRAM)$(RES_SUFFIX) precomp.h.gch \ + desktop/*.o dialogs/*.o shell/*.o taskbar/*.o utility/*.o diff --git a/reactos/subsys/system/explorer/dialogs/settings.cpp b/reactos/subsys/system/explorer/dialogs/settings.cpp index 02fb0378527..f548c5b5a5f 100644 --- a/reactos/subsys/system/explorer/dialogs/settings.cpp +++ b/reactos/subsys/system/explorer/dialogs/settings.cpp @@ -191,25 +191,19 @@ int TaskbarSettingsDlg::Command(int id, int code) Dialog::DoModal(IDD_NOTIFYAREA, WINDOW_CREATOR(TrayNotifyDlg), _hwnd); break; - case ID_SHOW_CLOCK: - { + case ID_SHOW_CLOCK: { 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; - } - + break;} - case ID_HIDE_INACTIVE_ICONS: - { + case ID_HIDE_INACTIVE_ICONS: { 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; - } - + break;} default: return 1;