Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
40693f98
Commit
40693f98
authored
Nov 07, 2003
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing GPE specific stuff.
parent
a7794253
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
17 deletions
+31
-17
modules/gui/pda/pda.c
modules/gui/pda/pda.c
+3
-14
modules/gui/pda/pda_callbacks.c
modules/gui/pda/pda_callbacks.c
+28
-3
No files found.
modules/gui/pda/pda.c
View file @
40693f98
...
...
@@ -2,7 +2,7 @@
* pda.c : PDA Gtk2 plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: pda.c,v 1.
5 2003/10/27 22:42:02
jpsaman Exp $
* $Id: pda.c,v 1.
6 2003/11/07 07:59:00
jpsaman Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
* Marc Ariberti <marcari@videolan.org>
...
...
@@ -35,10 +35,6 @@
#include <gtk/gtk.h>
#ifdef HAVE_GPE_INIT_H
#include <gpe/init.h>
#endif
#include "pda_callbacks.h"
#include "pda_interface.h"
#include "pda_support.h"
...
...
@@ -152,21 +148,14 @@ static void Run( intf_thread_t *p_intf )
GtkCellRenderer
*
renderer
=
NULL
;
GtkTreeViewColumn
*
column
=
NULL
;
#ifdef HAVE_GPE_INIT_H
/* Initialize GPE interface */
msg_Dbg
(
p_intf
,
"Starting pda GPE interface"
);
if
(
gpe_application_init
(
&
i_args
,
&
pp_args
)
==
FALSE
)
exit
(
1
);
#else
gtk_set_locale
();
#
ifndef NEED_GTK2_MAIN
#ifndef NEED_GTK2_MAIN
msg_Dbg
(
p_intf
,
"Starting pda GTK2+ interface"
);
gtk_init
(
&
i_args
,
&
pp_args
);
#
else
#else
/* Initialize Gtk+ */
msg_Dbg
(
p_intf
,
"Starting pda GTK+ interface thread"
);
gdk_threads_enter
();
# endif
#endif
/* Create some useful widgets that will certainly be used */
...
...
modules/gui/pda/pda_callbacks.c
View file @
40693f98
...
...
@@ -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.
2 2003/10/27 22:42:02
jpsaman Exp $
* $Id: pda_callbacks.c,v 1.
3 2003/11/07 07:59:00
jpsaman Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
*
...
...
@@ -547,7 +547,6 @@ gboolean addSelectedToPlaylist(GtkTreeModel *model,
gtk_tree_model_get
(
model
,
iter
,
0
,
&
filename
,
-
1
);
g_print
(
"selected %s
\n
"
,
filename
);
#if 1
tvplaylist
=
(
GtkTreeView
*
)
lookup_widget
(
GTK_WIDGET
(
userdata
),
"tvPlaylist"
);
if
(
NULL
!=
tvplaylist
)
{
...
...
@@ -563,7 +562,6 @@ gboolean addSelectedToPlaylist(GtkTreeModel *model,
else
// msg_Err(p_intf, "Error obtaining pointer to Play List");
g_print
(
"Error obtaining pointer to Play List"
);
#endif
}
void
...
...
@@ -720,7 +718,34 @@ void
onAddNetworkPlaylist
(
GtkButton
*
button
,
gpointer
user_data
)
{
#if 0
GtkEntry *p_mrl;
p_mrl = (GtkEntry*) lookup_widget(GTK_WIDGET(button),"" );
if (NULL != p_mrl)
{
GtkTreeView *tvplaylist = NULL;
GtkTreeModel *play_model;
GtkTreeIter play_iter;
gchar *name;
tvplaylist = (GtkTreeView *) lookup_widget( GTK_WIDGET(button), "tvPlaylist");
if (NULL != tvplaylist)
{
play_model = gtk_tree_view_get_model(tvplaylist);
/* Add a new row to the playlist treeview model */
gtk_list_store_append (play_model, &play_iter);
gtk_list_store_set (play_model, &play_iter,
0, name, /* Add path to it !!! */
1, "00:00:00",
-1 );
/* do we need to unref ?? */
}
else
// msg_Err(p_intf, "Error obtaining pointer to Play List");
g_print("Error obtaining pointer to Play List");
}
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment