adium 2442:a12698ec7c05: Patch to add a contribute menu item. Fi...

commits at adium.im commits at adium.im
Mon Jun 1 20:34:14 UTC 2009


details:	http://hg.adium.im/adium/rev/a12698ec7c05
revision:	2442:a12698ec7c05
author:		Ariel Chinn
date:		Mon Jun 01 13:32:40 2009 -0700

Patch to add a contribute menu item. Fixes #12307

diffs (186 lines):

diff -r 537898391aee -r a12698ec7c05 Resources/MainMenu.nib/classes.nib
--- a/Resources/MainMenu.nib/classes.nib	Mon Jun 01 13:27:36 2009 -0700
+++ b/Resources/MainMenu.nib/classes.nib	Mon Jun 01 13:32:40 2009 -0700
@@ -34,6 +34,14 @@
 			<string>NSView</string>
 		</dict>
 		<dict>
+			<key>CLASS</key>
+			<string>NSMenu</string>
+			<key>LANGUAGE</key>
+			<string>ObjC</string>
+			<key>SUPERCLASS</key>
+			<string>NSObject</string>
+		</dict>
+		<dict>
 			<key>ACTIONS</key>
 			<dict>
 				<key>adiumPrint</key>
@@ -119,6 +127,30 @@
 			<string>NSObject</string>
 		</dict>
 		<dict>
+			<key>CLASS</key>
+			<string>NSFontManager</string>
+			<key>LANGUAGE</key>
+			<string>ObjC</string>
+			<key>SUPERCLASS</key>
+			<string>NSObject</string>
+		</dict>
+		<dict>
+			<key>CLASS</key>
+			<string>NSView</string>
+			<key>LANGUAGE</key>
+			<string>ObjC</string>
+			<key>SUPERCLASS</key>
+			<string>NSResponder</string>
+		</dict>
+		<dict>
+			<key>CLASS</key>
+			<string>NSMenuItem</string>
+			<key>LANGUAGE</key>
+			<string>ObjC</string>
+			<key>SUPERCLASS</key>
+			<string>NSObject</string>
+		</dict>
+		<dict>
 			<key>ACTIONS</key>
 			<dict>
 				<key>runToolbarConfigurationPalette</key>
@@ -145,6 +177,27 @@
 		</dict>
 		<dict>
 			<key>CLASS</key>
+			<string>NSOutlineView</string>
+			<key>LANGUAGE</key>
+			<string>ObjC</string>
+			<key>SUPERCLASS</key>
+			<string>NSTableView</string>
+		</dict>
+		<dict>
+			<key>ACTIONS</key>
+			<dict>
+				<key>performFindPanelAction</key>
+				<string>id</string>
+			</dict>
+			<key>CLASS</key>
+			<string>AIOutlineView</string>
+			<key>LANGUAGE</key>
+			<string>ObjC</string>
+			<key>SUPERCLASS</key>
+			<string>NSOutlineView</string>
+		</dict>
+		<dict>
+			<key>CLASS</key>
 			<string>AIApplication</string>
 			<key>LANGUAGE</key>
 			<string>ObjC</string>
@@ -153,6 +206,14 @@
 		</dict>
 		<dict>
 			<key>CLASS</key>
+			<string>NSTextView</string>
+			<key>LANGUAGE</key>
+			<string>ObjC</string>
+			<key>SUPERCLASS</key>
+			<string>NSText</string>
+		</dict>
+		<dict>
+			<key>CLASS</key>
 			<string>AIMenuController</string>
 			<key>LANGUAGE</key>
 			<string>ObjC</string>
@@ -186,6 +247,10 @@
 				<string>NSMenuItem</string>
 				<key>menuItem_contact</key>
 				<string>NSMenuItem</string>
+				<key>menuItem_contirbute</key>
+				<string>NSMenuItem</string>
+				<key>menuItem_contribute</key>
+				<string>NSMenuItem</string>
 				<key>menuItem_copy</key>
 				<string>NSMenuItem</string>
 				<key>menuItem_copyStyle</key>
@@ -396,6 +461,14 @@
 			<string>NSObject</string>
 		</dict>
 		<dict>
+			<key>CLASS</key>
+			<string>NSTableView</string>
+			<key>LANGUAGE</key>
+			<string>ObjC</string>
+			<key>SUPERCLASS</key>
+			<string>NSControl</string>
+		</dict>
+		<dict>
 			<key>ACTIONS</key>
 			<dict>
 				<key>adiumPrint</key>
diff -r 537898391aee -r a12698ec7c05 Resources/MainMenu.nib/info.nib
--- a/Resources/MainMenu.nib/info.nib	Mon Jun 01 13:27:36 2009 -0700
+++ b/Resources/MainMenu.nib/info.nib	Mon Jun 01 13:32:40 2009 -0700
@@ -3,17 +3,17 @@
 <plist version="1.0">
 <dict>
 	<key>IBFramework Version</key>
-	<string>677</string>
+	<string>672</string>
 	<key>IBLastKnownRelativeProjectPath</key>
 	<string>../Adium.xcodeproj</string>
 	<key>IBOldestOS</key>
 	<integer>5</integer>
 	<key>IBOpenObjects</key>
 	<array>
-		<integer>6453</integer>
+		<integer>6521</integer>
 	</array>
 	<key>IBSystem Version</key>
-	<string>9G55</string>
+	<string>9J61</string>
 	<key>targetFramework</key>
 	<string>IBCocoaFramework</string>
 </dict>
diff -r 537898391aee -r a12698ec7c05 Resources/MainMenu.nib/keyedobjects.nib
Binary file Resources/MainMenu.nib/keyedobjects.nib has changed
diff -r 537898391aee -r a12698ec7c05 Source/AIAdium.m
--- a/Source/AIAdium.m	Mon Jun 01 13:27:36 2009 -0700
+++ b/Source/AIAdium.m	Mon Jun 01 13:32:40 2009 -0700
@@ -56,6 +56,7 @@
 #import "ESDebugController.h"
 
 #define ADIUM_TRAC_PAGE						@"http://trac.adium.im/"
+#define ADIUM_CONTRIBUTE_PAGE				@"http://trac.adium.im/wiki/Development"
 #define ADIUM_REPORT_BUG_PAGE				@"http://trac.adium.im/wiki/ReportingBugs"
 #define ADIUM_FORUM_PAGE					AILocalizedString(@"http://forum.adium.im/","Adium forums page. Localized only if a translated version exists.")
 #define ADIUM_FEEDBACK_PAGE					@"mailto:feedback at adium.im"
@@ -401,7 +402,7 @@
 
 - (IBAction)contibutingToAdium:(id)sender
 {
-	[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://trac.adiumx.com/wiki/ContributingToAdium"]];
+	[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:ADIUM_CONTRIBUTE_PAGE]];
 }
 - (IBAction)donate:(id)sender
 {
diff -r 537898391aee -r a12698ec7c05 Source/AIMenuController.h
--- a/Source/AIMenuController.h	Mon Jun 01 13:27:36 2009 -0700
+++ b/Source/AIMenuController.h	Mon Jun 01 13:32:40 2009 -0700
@@ -148,6 +148,7 @@
 
 	//Help menu
 	IBOutlet	NSMenuItem	*menuItem_adiumHelp;
+	IBOutlet	NSMenuItem	*menuItem_contribute;
 	IBOutlet	NSMenuItem	*menuItem_reportABug;
 	IBOutlet	NSMenuItem	*menuItem_sendFeedback;
 	IBOutlet	NSMenuItem	*menuItem_adiumForums;
diff -r 537898391aee -r a12698ec7c05 Source/AIMenuController.m
--- a/Source/AIMenuController.m	Mon Jun 01 13:27:36 2009 -0700
+++ b/Source/AIMenuController.m	Mon Jun 01 13:32:40 2009 -0700
@@ -488,6 +488,7 @@
 
 	//Help menu
 	[menuItem_adiumHelp setTitle:AILocalizedString(@"Adium Help",nil)];
+	[menuItem_contribute setTitle:AILocalizedString(@"Contribute",nil)];
 	[menuItem_reportABug setTitle:AILocalizedString(@"Report a Bug",nil)];
 	[menuItem_sendFeedback setTitle:AILocalizedString(@"Send Feedback",nil)];
 	[menuItem_adiumForums setTitle:AILocalizedString(@"Adium Forums",nil)];




More information about the commits mailing list