]> git.sesse.net Git - vlc/commitdiff
* start osx up in VIEW_SIMPLE and only switch to VIEW_CATEGORY when needed.
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 24 Feb 2005 00:07:30 +0000 (00:07 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 24 Feb 2005 00:07:30 +0000 (00:07 +0000)
modules/gui/macosx/playlist.m

index 68ec731060df052f21b403f94c0c4c4d594f39b1..0c0e56a4cfb0e3a2bbc920d6343d5a678fddb978 100644 (file)
                                         FIND_ANYWHERE );
 
     int i_index;
-    i_current_view = VIEW_CATEGORY;
+    i_current_view = VIEW_SIMPLE;
     playlist_ViewUpdate( p_playlist, i_current_view );
 
     [o_outline_view setTarget: self];
@@ -362,7 +362,6 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
                     p_item = NULL;
                 }
             }
-
             playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, i_current_view, p_node, p_item );
         }
         vlc_object_release( p_playlist );
@@ -382,6 +381,9 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
 
     [o_mi setState: playlist_IsServicesDiscoveryLoaded( p_playlist,
                                           [o_string cString] ) ? YES : NO];
+
+    i_current_view = VIEW_CATEGORY;
+    playlist_ViewUpdate( p_playlist, i_current_view );
     [self playlistUpdated];
     return;
 }