]> git.sesse.net Git - vlc/commitdiff
Disabled the preference menu, it is not filled in anyway.
authorJean-Paul Saman <jpsaman@videolan.org>
Fri, 13 Feb 2004 10:09:46 +0000 (10:09 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 13 Feb 2004 10:09:46 +0000 (10:09 +0000)
modules/gui/pda/pda.c
modules/gui/pda/pda_callbacks.c

index bc50518070db5ed98174269e8a415096fc758626..40f34dedad13983508610285ed841cc14e2f6e7b 100644 (file)
@@ -2,7 +2,7 @@
  * pda.c : PDA Gtk2 plugin for vlc
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: pda.c,v 1.20 2004/02/10 20:28:37 jpsaman Exp $
+ * $Id: pda.c,v 1.21 2004/02/13 10:09:46 jpsaman Exp $
  *
  * Authors: Jean-Paul Saman <jpsaman@wxs.nl>
  *          Marc Ariberti <marcari@videolan.org>
@@ -306,6 +306,10 @@ static void Run( intf_thread_t *p_intf )
     /* END OF PLAYLIST GTK_TREE_VIEW */
 
     /* Hide the Preference TAB for now. */
+    GtkWidget *p_preference_tab = NULL;
+    p_preference_tab = gtk_notebook_get_nth_page(p_intf->p_sys->p_notebook,5);
+    if (p_preference_tab != NULL)
+      gtk_widget_hide(p_preference_tab);
 
     /* Show the control window */
     gtk_widget_show( p_intf->p_sys->p_window );
index 1d6b6b6a53734dbcb07ba21b3101406e7d5e27fe..984c4fa13d40c5c9b76bf55467ea790963fbb6ef 100644 (file)
@@ -2,7 +2,7 @@
  * pda_callbacks.c : Callbacks for the pda Linux Gtk+ plugin.
  *****************************************************************************
  * Copyright (C) 2000, 2001 VideoLAN
- * $Id: pda_callbacks.c,v 1.27 2004/02/10 20:28:37 jpsaman Exp $
+ * $Id: pda_callbacks.c,v 1.28 2004/02/13 10:09:46 jpsaman Exp $
  *
  * Authors: Jean-Paul Saman <jpsaman@wxs.nl>
  *
@@ -870,7 +870,7 @@ void onDeletePlaylist(GtkButton *button, gpointer user_data)
 #if 0 
             g_list_foreach (p_rows, (GFunc*)gtk_tree_path_free, NULL);
 #endif /* Testing the next line */
-            g_list_foreach (p_rows, (GFunc*)deleteItemFromPlaylist, NULL);
+            g_list_foreach (p_rows, deleteItemFromPlaylist, NULL);
             g_list_free (p_rows);
         }