Owen Rudge : shell32: Remove "no control panels" found message.

Alexandre Julliard julliard at winehq.org
Tue Jul 22 09:35:57 CDT 2008


Module: wine
Branch: master
Commit: 4ae7a87e746dc153050c8d49c8216dc7ee97e883
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4ae7a87e746dc153050c8d49c8216dc7ee97e883

Author: Owen Rudge <owen at owenrudge.net>
Date:   Mon Jul 21 19:22:32 2008 +0100

shell32: Remove "no control panels" found message.

---

 dlls/shell32/control.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/dlls/shell32/control.c b/dlls/shell32/control.c
index dbebbd2..292df5b 100644
--- a/dlls/shell32/control.c
+++ b/dlls/shell32/control.c
@@ -308,12 +308,6 @@ static void    Control_DoInterface(CPanel* panel, HWND hWnd, HINSTANCE hInst)
 		    hWnd, NULL, hInst, panel);
     if (!panel->hWnd) return;
 
-    if (!panel->first) {
-	/* FIXME appName & message should be localized  */
-	MessageBoxA(panel->hWnd, "Cannot load any applets", appName, MB_OK);
-	return;
-    }
-
     while (GetMessageA(&msg, panel->hWnd, 0, 0)) {
         TranslateMessage(&msg);
         DispatchMessageA(&msg);




More information about the wine-cvs mailing list