]> git.sesse.net Git - vlc/commitdiff
* fixed the dockmenu. had gotten disconnected somehow.
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 20 Nov 2003 02:39:09 +0000 (02:39 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 20 Nov 2003 02:39:09 +0000 (02:39 +0000)
* cleaned up the playlist source.
* set the correct sizing properties on the playlist buttons.
  bigben: see the bottom of the size panel of your inspector. when adding items
  always take this into account to make resize work correctly.
  also. windows are opened at the position where you save them when the nib is open.
  Always make sure the controller and playlist are to the upper left side.

extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
modules/gui/macosx/playlist.m

index 3cbb07e2a1e9ecd8b87d3ed1791c3ace62a9a5ac..8ba9a791479d44d490d3a77237a9b591ca7a4048 100644 (file)
@@ -3,15 +3,15 @@
 <plist version="1.0">
 <dict>
        <key>IBDocumentLocation</key>
-       <string>497 164 505 541 0 0 1024 746 </string>
+       <string>313 340 505 541 0 0 1280 1002 </string>
        <key>IBEditorPositions</key>
        <dict>
                <key>1617</key>
                <string>691 686 104 149 0 0 1280 1002 </string>
                <key>29</key>
-               <string>116 681 419 44 0 0 1024 746 </string>
+               <string>165 929 419 44 0 0 1280 1002 </string>
                <key>915</key>
-               <string>344 471 93 99 0 0 1024 746 </string>
+               <string>439 657 93 99 0 0 1280 1002 </string>
        </dict>
        <key>IBFramework Version</key>
        <string>349.0</string>
@@ -19,9 +19,8 @@
        <array/>
        <key>IBOpenObjects</key>
        <array>
-               <integer>29</integer>
+               <integer>1617</integer>
                <integer>1647</integer>
-               <integer>915</integer>
                <integer>21</integer>
        </array>
        <key>IBSystem Version</key>
index ebb8d00144fd8ff4df48328129cf085358ccb3a9..eed8ce16c915bbdad4305d6a3b5ba7dc24f3d3f6 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 4686e77e82d73c470ec7f63a65ba62c3169112d3..29bd0894115ecd09aaddcdbb60f9573edd4dda37 100644 (file)
@@ -2,7 +2,7 @@
  * playlist.m: MacOS X interface plugin
  *****************************************************************************
  * Copyright (C) 2002-2003 VideoLAN
- * $Id: playlist.m,v 1.45 2003/11/19 19:00:16 bigben Exp $
+ * $Id: playlist.m,v 1.46 2003/11/20 02:39:09 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Derk-Jan Hartman <thedj@users.sourceforge.net>
     [o_loop_ckb setTitle: _NS("Repeat Playlist")];
     [o_repeat_ckb setTitle: _NS("Repeat Item")];
     [o_search_button setTitle: _NS("Search")];
-
-
-    /*vlc_value_t val;
-    intf_thread_t * p_intf = [NSApp getIntf];
-    playlist_t * p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST,
-                                                       FIND_ANYWHERE );
-    if( p_playlist != NULL )
-    {
-        var_Get( p_playlist, "random", &val );
-        [o_random_ckb setState: val.b_bool];
-
-        var_Get( p_playlist, "loop", &val );
-        [o_loop_ckb setState: val.b_bool];
-
-        var_Get( p_playlist, "repeat", &val );
-        [o_repeat_ckb setState: val.b_bool];
-
-        vlc_object_release( p_playlist );
-    }*/
 }
 
 - (BOOL)tableView:(NSTableView *)o_tv 
 
 - (void)playlistUpdated
 {
-
     vlc_value_t val;
-
-    [o_table_view reloadData];
-
     intf_thread_t * p_intf = [NSApp getIntf];
     playlist_t * p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST,
                                                        FIND_ANYWHERE );
 
         vlc_object_release( p_playlist );
     }
+    [o_table_view reloadData];
 }
 
 - (void)updateRowSelection