adium 5675:5e3306ae97c1: "Mnemonics are not supported in OS X."

commits at adium.im commits at adium.im
Sun Aug 4 01:51:38 UTC 2013


details:	http://hg.adium.im/adium/rev/5e3306ae97c1
revision:	5675:5e3306ae97c1
branch:		adium-1.6
author:		Frank Dowsett <wixardy at adium.im>
date:		Fri Jul 19 17:06:36 2013 -0400

"Mnemonics are not supported in OS X."
Subject: adium 5676:93b7aa7d0a76: Fix a logic error in the crash log detection where it wouldn't show an alert unless you had previously seen an alert.

details:	http://hg.adium.im/adium/rev/93b7aa7d0a76
revision:	5676:93b7aa7d0a76
branch:		adium-1.6
author:		Frank Dowsett <wixardy at adium.im>
date:		Sat Aug 03 21:12:16 2013 -0400

Fix a logic error in the crash log detection where it wouldn't show an alert unless you had previously seen an alert.

diffs (32 lines):

diff -r d53b592d49c2 -r 93b7aa7d0a76 Other/Adium Crash Reporter/AICrashReporter.m
--- a/Other/Adium Crash Reporter/AICrashReporter.m	Wed Jul 17 21:21:53 2013 -0400
+++ b/Other/Adium Crash Reporter/AICrashReporter.m	Sat Aug 03 21:12:16 2013 -0400
@@ -1,4 +1,4 @@
-/* 
+/*
  * Adium is the legal property of its developers, whose names are listed in the copyright file included
  * with this source distribution.
  * 
@@ -63,7 +63,7 @@
 	NSDate *lastKnownCrashDate = [defaults objectForKey:LAST_CRASH_DATE];
 	
 	// check to see if Adium crashed since the last crash (there's a newer crash report)
-	if (lastKnownCrashDate && [mostRecentCrashDate compare:lastKnownCrashDate] == NSOrderedDescending) {
+	if (mostRecentCrashDate && (!lastKnownCrashDate || [mostRecentCrashDate compare:lastKnownCrashDate] == NSOrderedDescending)) {
 		[NSBundle loadNibNamed:@"CrashReporter" owner:self];
 		
 		// save last crash date
diff -r d53b592d49c2 -r 93b7aa7d0a76 Source/AIMessageViewEmoticonsController.m
--- a/Source/AIMessageViewEmoticonsController.m	Wed Jul 17 21:21:53 2013 -0400
+++ b/Source/AIMessageViewEmoticonsController.m	Sat Aug 03 21:12:16 2013 -0400
@@ -134,8 +134,8 @@
 {
 	if (anIndex < [[self emoticons] count]) {
 		// Update Title and Symbol (Text Equivalent)
-		[[self emoticonTitleLabel] setTitleWithMnemonic:[[self emoticonTitles] objectAtIndex:anIndex]];
-		[[self emoticonSymbolLabel] setTitleWithMnemonic:[[self emoticonSymbols] objectAtIndex:anIndex]];
+		[[self emoticonTitleLabel] setStringValue:[[self emoticonTitles] objectAtIndex:anIndex]];
+		[[self emoticonSymbolLabel] setStringValue:[[self emoticonSymbols] objectAtIndex:anIndex]];
 	}
 }
 




More information about the commits mailing list