From 405c632cb41c0e9e7f04d9cf9aa951d7a8b93521 Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Fri, 13 Feb 2004 10:09:46 +0000 Subject: [PATCH] Disabled the preference menu, it is not filled in anyway. --- modules/gui/pda/pda.c | 6 +++++- modules/gui/pda/pda_callbacks.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/gui/pda/pda.c b/modules/gui/pda/pda.c index bc50518070..40f34dedad 100644 --- a/modules/gui/pda/pda.c +++ b/modules/gui/pda/pda.c @@ -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 * Marc Ariberti @@ -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 ); diff --git a/modules/gui/pda/pda_callbacks.c b/modules/gui/pda/pda_callbacks.c index 1d6b6b6a53..984c4fa13d 100644 --- a/modules/gui/pda/pda_callbacks.c +++ b/modules/gui/pda/pda_callbacks.c @@ -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 * @@ -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); } -- 2.39.2