Changeset 5dfbd013db078d191a24305df86006e6d47ff2a2
- Timestamp:
- 26/05/08 09:27:30
(6 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1211786850 +0200
- git-parent:
[d171dda10a7eece56faeeca851c2d3dd8bd664ea]
- git-author:
- Rafaël Carré <funman@videolan.org> 1211555745 +0200
- Message:
PDA intf: clean up
Fix some warnings
Get the pixmaps from the right directory
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r13ae40b |
r5dfbd01 |
|
| 169 | 169 | |
|---|
| 170 | 170 | /* Create some useful widgets that will certainly be used */ |
|---|
| 171 | | /* FIXME: magic path */ |
|---|
| 172 | | add_pixmap_directory("share"); |
|---|
| 173 | | add_pixmap_directory("/usr/share/vlc"); |
|---|
| 174 | | |
|---|
| 175 | | /* Path for pixmaps under linupy 1.4 */ |
|---|
| 176 | | add_pixmap_directory("/usr/local/share/pixmaps/vlc"); |
|---|
| 177 | | /* Path for pixmaps under linupy 2.0 */ |
|---|
| 178 | | add_pixmap_directory("/usr/share/pixmaps/vlc"); |
|---|
| | 171 | add_pixmap_directory(config_GetDataDir()); |
|---|
| 179 | 172 | |
|---|
| 180 | 173 | p_intf->p_sys->p_window = create_pda(); |
|---|
| … | … | |
| 258 | 251 | G_TYPE_STRING, /* Owner */ |
|---|
| 259 | 252 | G_TYPE_STRING);/* Group */ |
|---|
| 260 | | ReadDirectory(p_intf, p_filelist, "."); |
|---|
| | 253 | ReadDirectory(p_intf, p_filelist, (char*)"."); |
|---|
| 261 | 254 | gtk_tree_view_set_model(GTK_TREE_VIEW(p_intf->p_sys->p_tvfile), GTK_TREE_MODEL(p_filelist)); |
|---|
| 262 | 255 | g_object_unref(p_filelist); /* Model will be released by GtkTreeView */ |
|---|
| … | … | |
| 555 | 548 | void GtkDisplayDate( GtkAdjustment *p_adj, gpointer userdata ) |
|---|
| 556 | 549 | { |
|---|
| | 550 | (void)p_adj; |
|---|
| | 551 | |
|---|
| 557 | 552 | intf_thread_t *p_intf; |
|---|
| 558 | 553 | |
|---|