From: Derk-Jan Hartman Date: Mon, 28 Mar 2005 23:31:02 +0000 (+0000) Subject: * New menu-items referencing forum X-Git-Tag: 0.8.2~705 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e92df3eb5fd3de74ef326255682a671764d311e7;p=vlc * New menu-items referencing forum --- diff --git a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib index 4704eb5cfb..3431ba1355 100644 --- a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib +++ b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib @@ -106,6 +106,8 @@ intfOpenNet = id; openCrashLog = id; openDocumentation = id; + openDonate = id; + openForum = id; openLicense = id; openReadMe = id; openRecentItem = id; diff --git a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib index 174cbee7af..16214daf4e 100644 --- a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib +++ b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib @@ -3,17 +3,17 @@ IBDocumentLocation - 186 61 505 517 0 0 800 578 + -2 60 496 270 0 0 1024 746 IBEditorPositions 1617 542 480 104 149 0 0 1024 746 2197 - 342 573 596 143 0 0 1280 938 + 214 442 596 144 0 0 1024 746 29 - 102 894 419 44 0 0 1280 938 + 72 702 419 44 0 0 1024 746 915 - 951 565 178 211 0 0 1280 938 + 730 416 178 211 0 0 1024 746 IBFramework Version 364.0 @@ -22,9 +22,6 @@ IBOpenObjects 21 - 2197 - 29 - 915 IBSystem Version 7U16 diff --git a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib index 81e6b277e1..127ecfd69f 100644 Binary files a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib and b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib differ diff --git a/modules/gui/macosx/intf.h b/modules/gui/macosx/intf.h index d43771cc04..31e2169fe6 100644 --- a/modules/gui/macosx/intf.h +++ b/modules/gui/macosx/intf.h @@ -284,6 +284,8 @@ struct intf_sys_t - (IBAction)reportABug:(id)sender; - (IBAction)openWebsite:(id)sender; - (IBAction)openLicense:(id)sender; +- (IBAction)openForum:(id)sender; +- (IBAction)openDonate:(id)sender; - (IBAction)openCrashLog:(id)sender; - (IBAction)togglePlaylist:(id)sender; diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index d227969a95..1cee2881ae 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -1452,6 +1452,20 @@ static VLCMain *_o_sharedMainInstance = nil; withApplication: @"TextEdit"]; } +- (IBAction)openForum:(id)sender +{ + NSURL * o_url = [NSURL URLWithString: @"http://forum.videolan.org/"]; + + [[NSWorkspace sharedWorkspace] openURL: o_url]; +} + +- (IBAction)openDonate:(id)sender +{ + NSURL * o_url = [NSURL URLWithString: @"http://www.videolan.org/contribute.html#paypal"]; + + [[NSWorkspace sharedWorkspace] openURL: o_url]; +} + - (IBAction)openCrashLog:(id)sender { NSString * o_path = [@"~/Library/Logs/CrashReporter/VLC.crash.log"