From 74d7e474b9ff4895093cd774ea0170ed1b620915 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Tue, 21 Aug 2007 03:00:50 +0000 Subject: [PATCH] Mac Uninstaller: Display new image in "Are you sure" dialog showing new BOINC logo going into the trash for non-English speaking users svn path=/trunk/boinc/; revision=13421 --- checkin_notes | 11 +++++++++++ mac_installer/Uninstaller.rsrc | 0 mac_installer/uninstall.cpp | 5 +++-- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 mac_installer/Uninstaller.rsrc diff --git a/checkin_notes b/checkin_notes index 502449f1a6..aec8978865 100755 --- a/checkin_notes +++ b/checkin_notes @@ -8024,3 +8024,14 @@ Rom 20 Aug 2007 screensaver_win.cpp clientscr/res/ boinc.bmp + +Charlie 20 Aug 2007 + Mac Uninstaller: Display new image in "Are you sure" dialog showing new + BOINC logo going into the trash for non-English speaking users. + + mac_build/ + boinc.xcodeproj/ + project.pbxproj + mac_installer/ + uninstall.cpp + Uninstaller.rsrc diff --git a/mac_installer/Uninstaller.rsrc b/mac_installer/Uninstaller.rsrc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/mac_installer/uninstall.cpp b/mac_installer/uninstall.cpp index 65bdce1f8d..4842cc897c 100644 --- a/mac_installer/uninstall.cpp +++ b/mac_installer/uninstall.cpp @@ -96,8 +96,9 @@ int main(int argc, char *argv[]) p = strchr(appName, ' '); p += 1; // Point to brand name following "Uninstall " - cancelled = ! ShowMessage(true, "Are you sure you want to completely remove %s and all its data from your computer?\n\n" - "Any unreported results will be lost.", p); + cancelled = (Alert(128, NULL) == cancel); +// cancelled = ! ShowMessage(true, "Are you sure you want to completely remove %s and all its data from your computer?\n\n" +// "Any unreported results will be lost.", p); if (! cancelled) err = DoPrivilegedExec(p, pathToSelf, "--privileged", NULL, NULL, NULL, NULL);