]> git.sesse.net Git - vlc/commitdiff
* Fixed applescript Fullscreen command.
authorDerk-Jan Hartman <hartman@videolan.org>
Sun, 15 Jun 2003 15:20:21 +0000 (15:20 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Sun, 15 Jun 2003 15:20:21 +0000 (15:20 +0000)
modules/gui/macosx/applescript.m

index b397911a40dc362ef8002ac4ab5f1a377b7176f1..8cc131d257ae76d73dc0dad4e1410618551bebaf 100644 (file)
@@ -2,7 +2,7 @@
  * applescript.m: MacOS X AppleScript support
  *****************************************************************************
  * Copyright (C) 2002-2003 VideoLAN
- * $Id: applescript.m,v 1.2 2003/05/08 01:16:57 hartman Exp $
+ * $Id: applescript.m,v 1.3 2003/06/15 15:20:21 hartman Exp $
  *
  * Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
  *
         }
         else if ( [o_command isEqualToString:@"fullscreen"] )
         {
-/*FIXME*/            [o_controls fullscreen:self];
+            NSMenuItem *o_mi = [[NSMenuItem alloc] initWithTitle: _NS("Fullscreen") action: nil keyEquivalent:@""];
+            [o_controls windowAction:[o_mi autorelease]];
             return nil;
         }
         else if ( [o_command isEqualToString:@"mute"] )