]> git.sesse.net Git - vlc/commitdiff
* New menu-items referencing forum
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 28 Mar 2005 23:31:02 +0000 (23:31 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 28 Mar 2005 23:31:02 +0000 (23:31 +0000)
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
modules/gui/macosx/intf.h
modules/gui/macosx/intf.m

index 4704eb5cfb7759965ff7cd8331396d57cf09e158..3431ba13551a51f9c37b51b72b79b71752340b5d 100644 (file)
                 intfOpenNet = id; 
                 openCrashLog = id; 
                 openDocumentation = id; 
+                openDonate = id; 
+                openForum = id; 
                 openLicense = id; 
                 openReadMe = id; 
                 openRecentItem = id; 
index 174cbee7afec385d3a08177bf3fa940ef1371f00..16214daf4e780dd172401d53dc95606eb9600808 100644 (file)
@@ -3,17 +3,17 @@
 <plist version="1.0">
 <dict>
        <key>IBDocumentLocation</key>
-       <string>186 61 505 517 0 0 800 578 </string>
+       <string>-2 60 496 270 0 0 1024 746 </string>
        <key>IBEditorPositions</key>
        <dict>
                <key>1617</key>
                <string>542 480 104 149 0 0 1024 746 </string>
                <key>2197</key>
-               <string>342 573 596 143 0 0 1280 938 </string>
+               <string>214 442 596 144 0 0 1024 746 </string>
                <key>29</key>
-               <string>102 894 419 44 0 0 1280 938 </string>
+               <string>72 702 419 44 0 0 1024 746 </string>
                <key>915</key>
-               <string>951 565 178 211 0 0 1280 938 </string>
+               <string>730 416 178 211 0 0 1024 746 </string>
        </dict>
        <key>IBFramework Version</key>
        <string>364.0</string>
@@ -22,9 +22,6 @@
        <key>IBOpenObjects</key>
        <array>
                <integer>21</integer>
-               <integer>2197</integer>
-               <integer>29</integer>
-               <integer>915</integer>
        </array>
        <key>IBSystem Version</key>
        <string>7U16</string>
index 81e6b277e1270faa970921a6fb19768cad16a556..127ecfd69f1d9c22c978dc7ab12daf1709234e3c 100644 (file)
Binary files a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib and b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib differ
index d43771cc04c751f58efdb4216ed04540e2292380..31e2169fe62abf7d31cf7e556e96d349050a195e 100644 (file)
@@ -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;
index d227969a953828909db74dd80dceb42e317bf130..1cee2881aed40f93a08bd5ffed46c675eefbaeaf 100644 (file)
@@ -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"