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
5dfbd013
Commit
5dfbd013
authored
May 23, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PDA intf: clean up
Fix some warnings Get the pixmaps from the right directory
parent
d171dda1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
modules/gui/pda/pda.c
modules/gui/pda/pda.c
+4
-9
No files found.
modules/gui/pda/pda.c
View file @
5dfbd013
...
...
@@ -168,14 +168,7 @@ static void Run( intf_thread_t *p_intf )
#endif
/* Create some useful widgets that will certainly be used */
/* FIXME: magic path */
add_pixmap_directory
(
"share"
);
add_pixmap_directory
(
"/usr/share/vlc"
);
/* Path for pixmaps under linupy 1.4 */
add_pixmap_directory
(
"/usr/local/share/pixmaps/vlc"
);
/* Path for pixmaps under linupy 2.0 */
add_pixmap_directory
(
"/usr/share/pixmaps/vlc"
);
add_pixmap_directory
(
config_GetDataDir
());
p_intf
->
p_sys
->
p_window
=
create_pda
();
if
(
p_intf
->
p_sys
->
p_window
==
NULL
)
...
...
@@ -257,7 +250,7 @@ static void Run( intf_thread_t *p_intf )
G_TYPE_UINT64
,
/* File size */
G_TYPE_STRING
,
/* Owner */
G_TYPE_STRING
);
/* Group */
ReadDirectory
(
p_intf
,
p_filelist
,
"."
);
ReadDirectory
(
p_intf
,
p_filelist
,
(
char
*
)
"."
);
gtk_tree_view_set_model
(
GTK_TREE_VIEW
(
p_intf
->
p_sys
->
p_tvfile
),
GTK_TREE_MODEL
(
p_filelist
));
g_object_unref
(
p_filelist
);
/* Model will be released by GtkTreeView */
gtk_tree_selection_set_mode
(
gtk_tree_view_get_selection
(
GTK_TREE_VIEW
(
p_intf
->
p_sys
->
p_tvfile
)),
GTK_SELECTION_MULTIPLE
);
...
...
@@ -554,6 +547,8 @@ static int Manage( intf_thread_t *p_intf )
*****************************************************************************/
void
GtkDisplayDate
(
GtkAdjustment
*
p_adj
,
gpointer
userdata
)
{
(
void
)
p_adj
;
intf_thread_t
*
p_intf
;
p_intf
=
(
intf_thread_t
*
)
userdata
;
...
...
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