Changeset b9e9cb420db33d098d3d9edea1f3e9d84d5fb18f
- Timestamp:
- 06/07/02 16:30:41 (6 years ago)
- git-parent:
- Files:
-
- ChangeLog (modified) (1 diff)
- bootstrap.sh (modified) (2 diffs)
- include/playlist.h (modified) (4 diffs)
- include/vlc/vlc.h (modified) (2 diffs)
- include/vlc_objects.h (modified) (2 diffs)
- include/vlc_symbols.h (modified) (1 diff)
- plugins/avi/avi.c (modified) (2 diffs)
- plugins/ffmpeg/ffmpeg.c (modified) (3 diffs)
- plugins/gtk/gnome.c (modified) (5 diffs)
- plugins/gtk/gnome.glade (modified) (47 diffs)
- plugins/gtk/gnome_callbacks.c (modified) (2 diffs)
- plugins/gtk/gnome_callbacks.h (modified) (1 diff)
- plugins/gtk/gnome_interface.c (modified) (30 diffs)
- plugins/gtk/gtk.c (modified) (6 diffs)
- plugins/gtk/gtk.glade (modified) (47 diffs)
- plugins/gtk/gtk_callbacks.c (modified) (15 diffs)
- plugins/gtk/gtk_callbacks.h (modified) (5 diffs)
- plugins/gtk/gtk_common.h (modified) (2 diffs)
- plugins/gtk/gtk_control.c (modified) (6 diffs)
- plugins/gtk/gtk_control.h (modified) (2 diffs)
- plugins/gtk/gtk_interface.c (modified) (3 diffs)
- plugins/gtk/gtk_modules.c (modified) (3 diffs)
- plugins/gtk/gtk_modules.h (modified) (2 diffs)
- plugins/gtk/gtk_open.c (modified) (12 diffs)
- plugins/gtk/gtk_open.h (modified) (4 diffs)
- plugins/gtk/gtk_playlist.c (modified) (15 diffs)
- plugins/gtk/gtk_playlist.h (modified) (3 diffs)
- plugins/gtk/gtk_preferences.c (modified) (3 diffs)
- plugins/gtk/gtk_preferences.h (modified) (2 diffs)
- plugins/mpeg_system/mpeg_audio.c (modified) (3 diffs)
- plugins/mpeg_vdec/vpar_headers.c (modified) (3 diffs)
- plugins/text/rc.c (modified) (9 diffs)
- po/de.po (modified) (8 diffs)
- po/en_GB.po (modified) (8 diffs)
- po/fr.po (modified) (8 diffs)
- po/ja.po (modified) (8 diffs)
- po/nl.po (modified) (8 diffs)
- po/no.po (modified) (8 diffs)
- po/pl.po (modified) (8 diffs)
- po/ru.po (modified) (8 diffs)
- po/vlc.pot (modified) (8 diffs)
- src/input/input.c (modified) (7 diffs)
- src/libvlc.c (modified) (5 diffs)
- src/libvlc.h (modified) (3 diffs)
- src/misc/cpu.c (modified) (9 diffs)
- src/misc/modules.c (modified) (2 diffs)
- src/misc/objects.c (modified) (3 diffs)
- src/playlist/playlist.c (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
ChangeLog
re9de293 rb9e9cb4 6 6 Not released yet 7 7 8 * ./src/playlist/playlist.c: lots of playlist behaviour enhancements. 9 * ./src/misc/objects.c: we do not hang on attempt to destroy an object with 10 a non-zero reference count, but we still complain. 11 * ./plugins/gtk/gtk_control.c, plugins/gtk/gtk_playlist.c: most controls such 12 as play, pause, stop, next, fast etc. work again. 13 * ./plugins/gtk/gnome_*: got rid of lots of useless wrappers which were a 14 workaround for a bug in Glade. Instead, bootstrap.sh does the Glade fixes. 15 * ./plugins/ffmpeg/ffmpeg.c: if there is already a video output with the 16 appropriate properties, we use it. 17 * ./Makefile: minor fix for the BeOS' make-package (icon loss). 18 * ./plugins/spudec/spu_decoder.c: release vout when we close spudec. 19 * ./plugins/ac3_spdif/ac3_spdif.c: only report initiliazation error when it 20 is really an error. 21 * ./include/video_output.h: added mouse coordinates to vout struct. 22 * ./plugins/mpeg_vdec/video_parser.c: check that p_vpar->p_vout is available 23 before detaching it. 8 24 * ./plugins/gtk/gtk_callbacks.c: fixed a segfault when switching to 9 25 fullscreen from the popup menu. bootstrap.sh
r3722c40 rb9e9cb4 2 2 3 3 ## bootstrap.sh file for vlc, the VideoLAN Client 4 ## $Id: bootstrap.sh,v 1. 3 2002/06/01 17:11:41sam Exp $4 ## $Id: bootstrap.sh,v 1.4 2002/06/07 14:30:40 sam Exp $ 5 5 ## 6 6 ## Authors: Samuel Hocevar <sam@zoy.org> … … 70 70 | sed 's#_("/dev/dvd")#"/dev/dvd"#' \ 71 71 | sed 's#_(\("./."\))#\1#' \ 72 | sed 's/_GLADE_SUX_\([^,]*\), NULL/, "\1"/' \ 72 73 >> /tmp/$$.$file.bak 73 74 mv -f /tmp/$$.$file.bak plugins/gtk/$file include/playlist.h
r7291e0a rb9e9cb4 3 3 ***************************************************************************** 4 4 * Copyright (C) 1999, 2000, 2001, 2002 VideoLAN 5 * $Id: playlist.h,v 1. 5 2002/06/04 00:11:12sam Exp $5 * $Id: playlist.h,v 1.6 2002/06/07 14:30:40 sam Exp $ 6 6 * 7 7 * Authors: Samuel Hocevar <sam@zoy.org> … … 43 43 VLC_COMMON_MEMBERS 44 44 45 /* Thread properties and lock */ 46 vlc_mutex_t change_lock; 45 int i_index; /* current index */ 46 int i_status; 47 int i_size; /* total size */ 47 48 48 int i_index; /* current index */49 int i_size; /* total size */50 49 playlist_item_t ** pp_items; 51 52 int i_status;53 50 54 51 input_thread_t * p_input; … … 56 53 57 54 /* Used by playlist_Add */ 58 #define PLAYLIST_START 0 55 #define PLAYLIST_INSERT 0x0001 56 #define PLAYLIST_REPLACE 0x0002 57 #define PLAYLIST_APPEND 0x0004 58 #define PLAYLIST_GO 0x0008 59 59 60 #define PLAYLIST_END -1 60 61 … … 92 93 VLC_EXPORT( void, playlist_Command, ( playlist_t *, int, int ) ); 93 94 94 VLC_EXPORT( int, playlist_Add, ( playlist_t *, int, const char *) );95 VLC_EXPORT( int, playlist_Add, ( playlist_t *, const char *, int, int ) ); 95 96 VLC_EXPORT( int, playlist_Delete, ( playlist_t *, int ) ); 96 97 include/vlc/vlc.h
r9d64d52 rb9e9cb4 3 3 ***************************************************************************** 4 4 * Copyright (C) 1998, 1999, 2000 VideoLAN 5 * $Id: vlc.h,v 1. 2 2002/06/02 13:38:03 gbazinExp $5 * $Id: vlc.h,v 1.3 2002/06/07 14:30:40 sam Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or modify … … 92 92 93 93 vlc_error_t vlc_add_intf ( vlc_t *, char *, vlc_bool_t ); 94 vlc_error_t vlc_add_target ( vlc_t *, char * );94 vlc_error_t vlc_add_target ( vlc_t *, char *, int, int ); 95 95 96 96 vlc_status_t vlc_status ( vlc_t * ); include/vlc_objects.h
r211d6ba rb9e9cb4 3 3 ***************************************************************************** 4 4 * Copyright (C) 2002 VideoLAN 5 * $Id: vlc_objects.h,v 1. 2 2002/06/02 09:03:53sam Exp $5 * $Id: vlc_objects.h,v 1.3 2002/06/07 14:30:40 sam Exp $ 6 6 * 7 7 * Authors: Samuel Hocevar <sam@zoy.org> … … 27 27 #define VLC_OBJECT_INTF (-3) 28 28 #define VLC_OBJECT_PLAYLIST (-4) 29 #define VLC_OBJECT_INPUT (-5) 30 #define VLC_OBJECT_DECODER (-6) 31 #define VLC_OBJECT_VOUT (-7) 32 #define VLC_OBJECT_AOUT (-8) 29 #define VLC_OBJECT_ITEM (-5) 30 #define VLC_OBJECT_INPUT (-6) 31 #define VLC_OBJECT_DECODER (-7) 32 #define VLC_OBJECT_VOUT (-8) 33 #define VLC_OBJECT_AOUT (-9) 33 34 #define VLC_OBJECT_PRIVATE (-666) 34 35 include/vlc_symbols.h
r7291e0a rb9e9cb4 93 93 int (* __network_ChannelCreate_inner) ( vlc_object_t * ) ; 94 94 void (* playlist_Command_inner) ( playlist_t *, int, int ) ; 95 int (* playlist_Add_inner) ( playlist_t *, int, const char *) ;95 int (* playlist_Add_inner) ( playlist_t *, const char *, int, int ) ; 96 96 int (* playlist_Delete_inner) ( playlist_t *, int ) ; 97 97 vout_thread_t * (* __vout_CreateThread_inner) ( vlc_object_t *, int, int, u32, int ) ; plugins/avi/avi.c
r9e3ab28 rb9e9cb4 3 3 ***************************************************************************** 4 4 * Copyright (C) 2001 VideoLAN 5 * $Id: avi.c,v 1.2 1 2002/06/01 12:31:58sam Exp $5 * $Id: avi.c,v 1.22 2002/06/07 14:30:40 sam Exp $ 6 6 * Authors: Laurent Aimar <fenrir@via.ecp.fr> 7 7 * … … 533 533 } 534 534 p_input->stream.p_selected_program = p_input->stream.pp_programs[0]; 535 p_input->stream.p_new_program = p_input->stream.pp_programs[0] ;536 535 p_input->stream.i_mux_rate = p_avi_demux->avih.i_maxbytespersec / 50; 537 536 vlc_mutex_unlock( &p_input->stream.stream_lock ); plugins/ffmpeg/ffmpeg.c
r71ec135 rb9e9cb4 3 3 ***************************************************************************** 4 4 * Copyright (C) 1999-2001 VideoLAN 5 * $Id: ffmpeg.c,v 1.1 2 2002/06/01 18:04:48sam Exp $5 * $Id: ffmpeg.c,v 1.13 2002/06/07 14:30:40 sam Exp $ 6 6 * 7 7 * Authors: Laurent Aimar <fenrir@via.ecp.fr> … … 376 376 } 377 377 378 /* create vout */ 379 p_vdec->p_vout = vout_CreateThread( p_vdec->p_fifo, 380 p_vdec->format.i_width, 381 p_vdec->format.i_height, 382 FOURCC_I420, 383 VOUT_ASPECT_FACTOR * p_vdec->format.i_width / 384 p_vdec->format.i_height ); 385 378 /* Spawn a video output if there is none. First we look for our children, 379 * then we look for any other vout that might be available. */ 380 p_vdec->p_vout = vlc_object_find( p_vdec->p_fifo, VLC_OBJECT_VOUT, 381 FIND_CHILD ); 386 382 if( p_vdec->p_vout == NULL ) 387 383 { 388 msg_Err( p_vdec->p_fifo, "cannot open vout, aborting" ); 389 avcodec_close( p_vdec->p_context ); 390 msg_Dbg( p_vdec->p_fifo, "ffmpeg codec (%s) stopped", 391 p_vdec->psz_namecodec ); 392 return -1; 393 } 394 395 vlc_object_yield( p_vdec->p_vout ); 384 p_vdec->p_vout = vlc_object_find( p_vdec->p_fifo, VLC_OBJECT_VOUT, 385 FIND_ANYWHERE ); 386 } 387 388 if( p_vdec->p_vout ) 389 { 390 if( p_vdec->p_vout->render.i_width != p_vdec->format.i_width 391 || p_vdec->p_vout->render.i_height != p_vdec->format.i_height 392 || p_vdec->p_vout->render.i_chroma != FOURCC_I420 393 || p_vdec->p_vout->render.i_aspect != VOUT_ASPECT_FACTOR 394 * p_vdec->format.i_width / p_vdec->format.i_height ) 395 { 396 /* We are not interested in this format, close this vout */ 397 vlc_object_detach_all( p_vdec->p_vout ); 398 vlc_object_release( p_vdec->p_vout ); 399 vout_DestroyThread( p_vdec->p_vout ); 400 p_vdec->p_vout = NULL; 401 } 402 else 403 { 404 /* This video output is cool! Hijack it. */ 405 vlc_object_detach_all( p_vdec->p_vout ); 406 vlc_object_attach( p_vdec->p_vout, p_vdec->p_fifo ); 407 vlc_object_release( p_vdec->p_vout ); 408 } 409 } 410 411 if( p_vdec->p_vout == NULL ) 412 { 413 msg_Dbg( p_vdec->p_fifo, "no vout present, spawning one" ); 414 415 p_vdec->p_vout = vout_CreateThread( p_vdec->p_fifo, 416 p_vdec->format.i_width, 417 p_vdec->format.i_height, 418 FOURCC_I420, 419 VOUT_ASPECT_FACTOR * p_vdec->format.i_width / 420 p_vdec->format.i_height ); 421 422 /* Everything failed */ 423 if( p_vdec->p_vout == NULL ) 424 { 425 msg_Err( p_vdec->p_fifo, "cannot open vout, aborting" ); 426 avcodec_close( p_vdec->p_context ); 427 p_vdec->p_fifo->b_error = 1; 428 return -1; 429 } 430 } 396 431 397 432 return( 0 ); … … 419 454 } 420 455 421 vlc_object_release( p_vdec->p_vout ); 422 vout_DestroyThread( p_vdec->p_vout ); 456 if( p_vdec->p_vout != NULL ) 457 { 458 /* We are about to die. Reattach video output to p_vlc. */ 459 vlc_object_detach( p_vdec->p_vout, p_vdec->p_fifo ); 460 vlc_object_attach( p_vdec->p_vout, p_vdec->p_fifo->p_vlc ); 461 } 423 462 424 463 free( p_vdec ); plugins/gtk/gnome.c
r211d6ba rb9e9cb4 3 3 ***************************************************************************** 4 4 * Copyright (C) 2000 VideoLAN 5 * $Id: gnome.c,v 1.2 6 2002/06/02 09:03:54sam Exp $5 * $Id: gnome.c,v 1.27 2002/06/07 14:30:40 sam Exp $ 6 6 * 7 7 * Authors: Samuel Hocevar <sam@zoy.org> … … 181 181 static void intf_Close( intf_thread_t *p_intf ) 182 182 { 183 if( p_intf->p_sys->p_input ) 184 { 185 vlc_object_release( p_intf->p_sys->p_input ); 186 } 187 183 188 msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub ); 184 189 … … 223 228 p_intf->p_sys->p_window = create_intf_window( ); 224 229 p_intf->p_sys->p_popup = create_intf_popup( ); 225 p_intf->p_sys->p_play list= create_intf_playlist();230 p_intf->p_sys->p_playwin = create_intf_playlist(); 226 231 p_intf->p_sys->p_messages = create_intf_messages(); 227 232 … … 236 241 /* Accept file drops on the playlist window */ 237 242 gtk_drag_dest_set( GTK_WIDGET( gtk_object_get_data( GTK_OBJECT( 238 p_intf->p_sys->p_play list), "playlist_clist") ),243 p_intf->p_sys->p_playwin ), "playlist_clist") ), 239 244 GTK_DEST_DEFAULT_ALL, target_table, 240 245 1, GDK_ACTION_COPY ); … … 299 304 "p_intf", p_intf ); 300 305 301 gtk_object_set_data( GTK_OBJECT( p_intf->p_sys->p_play list),306 gtk_object_set_data( GTK_OBJECT( p_intf->p_sys->p_playwin ), 302 307 "p_intf", p_intf ); 303 308 plugins/gtk/gnome.glade
re9de293 rb9e9cb4 93 93 <signal> 94 94 <name>activate</name> 95 <handler>G nomeMenubarFileOpenActivate</handler>95 <handler>GtkFileOpenShow_GLADE_SUX_intf_window</handler> 96 96 <last_modification_time>Sat, 19 May 2001 16:27:02 GMT</last_modification_time> 97 97 </signal> … … 107 107 <signal> 108 108 <name>activate</name> 109 <handler>G nomeMenubarDiscOpenActivate</handler>109 <handler>GtkDiscOpenShow_GLADE_SUX_intf_window</handler> 110 110 <last_modification_time>Sat, 19 May 2001 16:27:10 GMT</last_modification_time> 111 111 </signal> … … 121 121 <signal> 122 122 <name>activate</name> 123 <handler>G nomeMenubarNetworkOpenActivate</handler>123 <handler>GtkNetworkOpenShow_GLADE_SUX_intf_window</handler> 124 124 <last_modification_time>Fri, 21 Dec 2001 13:11:28 GMT</last_modification_time> 125 125 </signal> … … 141 141 <signal> 142 142 <name>activate</name> 143 <handler>G nomeMenubarDiscEjectActivate</handler>143 <handler>GtkDiscEject_GLADE_SUX_intf_window</handler> 144 144 <last_modification_time>Fri, 21 Dec 2001 13:11:28 GMT</last_modification_time> 145 145 </signal> … … 160 160 <signal> 161 161 <name>activate</name> 162 <handler>G nomeMenubarExitActivate</handler>162 <handler>GtkExit_GLADE_SUX_intf_window</handler> 163 163 <last_modification_time>Sat, 19 May 2001 16:27:52 GMT</last_modification_time> 164 164 </signal> … … 182 182 <signal> 183 183 <name>activate</name> 184 <handler>G nomeMenubarWindowToggleActivate</handler>184 <handler>GtkWindowToggle_GLADE_SUX_intf_window</handler> 185 185 <last_modification_time>Sat, 19 May 2001 16:28:06 GMT</last_modification_time> 186 186 </signal> … … 194 194 <signal> 195 195 <name>activate</name> 196 <handler>G nomeMenubarFullscreenActivate</handler>196 <handler>GtkFullscreen_GLADE_SUX_intf_window</handler> 197 197 <last_modification_time>Sat, 19 May 2001 16:28:15 GMT</last_modification_time> 198 198 </signal> … … 246 246 <signal> 247 247 <name>activate</name> 248 <handler>G nomeMenubarPlaylistActivate</handler>248 <handler>GtkPlaylistShow_GLADE_SUX_intf_window</handler> 249 249 <last_modification_time>Sat, 19 May 2001 16:28:41 GMT</last_modification_time> 250 250 </signal> … … 261 261 <signal> 262 262 <name>activate</name> 263 <handler>G nomeMenubarModulesActivate</handler>263 <handler>GtkModulesShow_GLADE_SUX_intf_window</handler> 264 264 <last_modification_time>Sat, 19 May 2001 16:28:53 GMT</last_modification_time> 265 265 </signal> … … 275 275 <signal> 276 276 <name>activate</name> 277 <handler>G nomeMenubarMessagesActivate</handler>277 <handler>GtkMessagesShow_GLADE_SUX_intf_window</handler> 278 278 <last_modification_time>Wed, 20 Feb 2002 05:43:55 GMT</last_modification_time> 279 279 </signal> … … 322 322 <signal> 323 323 <name>activate</name> 324 <handler>G nomeMenubarPreferencesActivate</handler>324 <handler>GtkPreferencesShow_GLADE_SUX_intf_window</handler> 325 325 <last_modification_time>Sat, 19 May 2001 16:29:03 GMT</last_modification_time> 326 326 </signal> … … 344 344 <signal> 345 345 <name>activate</name> 346 <handler>G nomeMenubarAboutActivate</handler>346 <handler>GtkAboutShow_GLADE_SUX_intf_window</handler> 347 347 <last_modification_time>Sat, 19 May 2001 16:29:19 GMT</last_modification_time> 348 348 </signal> … … 385 385 <tooltip>Open a File</tooltip> 386 386 <signal> 387 <name> button_press_event</name>387 <name>clicked</name> 388 388 <handler>GtkFileOpenShow</handler> 389 389 <data>"intf_window"</data> … … 400 400 <tooltip>Open a DVD or VCD</tooltip> 401 401 <signal> 402 <name> button_press_event</name>402 <name>clicked</name> 403 403 <handler>GtkDiscOpenShow</handler> 404 404 <data>"intf_window"</data> … … 415 415 <tooltip>Select a Network Stream</tooltip> 416 416 <signal> 417 <name> button_press_event</name>417 <name>clicked</name> 418 418 <handler>GtkNetworkOpenShow</handler> 419 419 <data>"intf_window"</data> … … 430 430 <tooltip>Open a Satellite Card</tooltip> 431 431 <signal> 432 <name> button_press_event</name>432 <name>clicked</name> 433 433 <handler>GtkSatOpenShow</handler> 434 434 <data>"intf_window"</data> … … 446 446 <tooltip>Go Backward</tooltip> 447 447 <signal> 448 <name> button_press_event</name>448 <name>clicked</name> 449 449 <handler>GtkControlBack</handler> 450 450 <data>"intf_window"</data> … … 464 464 <tooltip>Stop Stream</tooltip> 465 465 <signal> 466 <name> button_press_event</name>466 <name>clicked</name> 467 467 <handler>GtkControlStop</handler> 468 468 <data>"intf_window"</data> … … 479 479 <tooltip>Eject disc</tooltip> 480 480 <signal> 481 <name> button_press_event</name>481 <name>clicked</name> 482 482 <handler>GtkDiscEject</handler> 483 483 <data>"intf_window"</data> … … 494 494 <tooltip>Play Stream</tooltip> 495 495 <signal> 496 <name> button_press_event</name>496 <name>clicked</name> 497 497 <handler>GtkControlPlay</handler> 498 498 <data>"intf_window"</data> 499 <last_modification_time> Sat, 19 May 2001 03:14:17GMT</last_modification_time>499 <last_modification_time>Wed, 05 Jun 2002 15:10:19 GMT</last_modification_time> 500 500 </signal> 501 501 <label>Play</label> … … 510 510 <tooltip>Pause Stream</tooltip> 511 511 <signal> 512 <name> button_press_event</name>512 <name>clicked</name> 513 513 <handler>GtkControlPause</handler> 514 514 <data>"intf_window"</data> … … 526 526 <tooltip>Play Slower</tooltip> 527 527 <signal> 528 <name> button_press_event</name>528 <name>clicked</name> 529 529 <handler>GtkControlSlow</handler> 530 530 <data>"intf_window"</data> … … 545 545 <tooltip>Play Faster</tooltip> 546 546 <signal> 547 <name> button_press_event</name>547 <name>clicked</name> 548 548 <handler>GtkControlFast</handler> 549 549 <data>"intf_window"</data> … … 560 560 <tooltip>Open Playlist</tooltip> 561 561 <signal> 562 <name> button_press_event</name>562 <name>clicked</name> 563 563 <handler>GtkPlaylistShow</handler> 564 564 <data>"intf_window"</data> … … 575 575 <tooltip>Previous File</tooltip> 576 576 <signal> 577 <name> button_press_event</name>577 <name>clicked</name> 578 578 <handler>GtkPlaylistPrev</handler> 579 579 <data>"intf_window"</data> … … 590 590 <tooltip>Next File</tooltip> 591 591 <signal> 592 <name> button_press_event</name>592 <name>clicked</name> 593 593 <handler>GtkPlaylistNext</handler> 594 594 <data>"intf_window"</data> … … 1022 1022 <signal> 1023 1023 <name>activate</name> 1024 <handler>G nomePopupPlayActivate</handler>1024 <handler>GtkControlPlay_GLADE_SUX_intf_popup</handler> 1025 1025 <data>"intf_popup"</data> 1026 1026 <last_modification_time>Sat, 19 May 2001 16:16:58 GMT</last_modification_time> … … 1036 1036 <signal> 1037 1037 <name>activate</name> 1038 <handler>G nomePopupPauseActivate</handler>1038 <handler>GtkControlPause_GLADE_SUX_intf_popup</handler> 1039 1039 <data>"intf_popup"</data> 1040 1040 <last_modification_time>Sat, 19 May 2001 16:17:31 GMT</last_modification_time> … … 1050 1050 <signal> 1051 1051 <name>activate</name> 1052 <handler>G nomePopupStopActivate</handler>1052 <handler>GtkControlStop_GLADE_SUX_intf_popup</handler> 1053 1053 <data>"intf_popup"</data> 1054 1054 <last_modification_time>Sat, 19 May 2001 16:18:10 GMT</last_modification_time> … … 1065 1065 <signal> 1066 1066 <name>activate</name> 1067 <handler>G nomePopupBackActivate</handler>1067 <handler>GtkControlBack_GLADE_SUX_intf_popup</handler> 1068 1068 <data>"intf_popup"</data> 1069 1069 <last_modification_time>Sat, 19 May 2001 16:18:21 GMT</last_modification_time> … … 1079 1079 <signal> 1080 1080 <name>activate</name> 1081 <handler>G nomePopupSlowActivate</handler>1081 <handler>GtkControlSlow_GLADE_SUX_intf_popup</handler> 1082 1082 <data>"intf_popup"</data> 1083 1083 <last_modification_time>Sat, 19 May 2001 16:18:29 GMT</last_modification_time> … … 1093 1093 <signal> 1094 1094 <name>activate</name> 1095 <handler>G nomePopupFastActivate</handler>1095 <handler>GtkControlFast_GLADE_SUX_intf_popup</handler> 1096 1096 <data>"intf_popup"</data> 1097 1097 <last_modification_time>Sat, 19 May 2001 16:18:37 GMT</last_modification_time> … … 1113 1113 <signal> 1114 1114 <name>activate</name> 1115 <handler>G nomePopupWindowToggleActivate</handler>1115 <handler>GtkWindowToggle_GLADE_SUX_intf_popup</handler> 1116 1116 <data>"intf_popup"</data> 1117 1117 <last_modification_time>Sat, 19 May 2001 16:18:51 GMT</last_modification_time> … … 1127 1127 <signal> 1128 1128 <name>activate</name> 1129 <handler>G nomePopupFullscreenActivate</handler>1129 <handler>GtkFullscreen_GLADE_SUX_intf_popup</handler> 1130 1130 <data>"intf_popup"</data> 1131 1131 <last_modification_time>Sat, 19 May 2001 16:19:07 GMT</last_modification_time> … … 1146 1146 <signal> 1147 1147 <name>activate</name> 1148 <handler>G nomePopupNextActivate</handler>1148 <handler>GtkPlaylistNext_GLADE_SUX_intf_popup</handler> 1149 1149 <data>"intf_popup"</data> 1150 1150 <last_modification_time>Sat, 19 May 2001 16:19:18 GMT</last_modification_time> … … 1159 1159 <signal> 1160 1160 <name>activate</name> 1161 <handler>G nomePopupPrevActivate</handler>1161 <handler>GtkPlaylistPrev_GLADE_SUX_intf_popup</handler> 1162 1162 <data>"intf_popup"</data> 1163 1163 <last_modification_time>Sat, 19 May 2001 16:19:26 GMT</last_modification_time> … … 1173 1173 <signal> 1174 1174 <name>activate</name> 1175 <handler>G nomePopupJumpActivate</handler>1175 <handler>GtkJumpShow_GLADE_SUX_intf_popup</handler> 1176 1176 <data>"intf_popup"</data> 1177 1177 <last_modification_time>Sat, 19 May 2001 16:34:46 GMT</last_modification_time> … … 1242 1242 <signal> 1243 1243 <name>activate</name> 1244 <handler>G nomePopupFileOpenActivate</handler>1244 <handler>GtkFileOpenShow_GLADE_SUX_intf_popup</handler> 1245 1245 <data>"intf_popup"</data> 1246 1246 <last_modification_time>Sat, 19 May 2001 16:20:08 GMT</last_modification_time> … … 1257 1257 <signal> 1258 1258 <name>activate</name> 1259 <handler>G nomePopupDiscOpenActivate</handler>1259 <handler>GtkDiscOpenShow_GLADE_SUX_intf_popup</handler> 1260 1260 <data>"intf_popup"</data> 1261 1261 <last_modification_time>Sat, 19 May 2001 16:20:44 GMT</last_modification_time> … … 1272 1272 <signal> 1273 1273 <name>activate</name> 1274 <handler>G nomePopupNetworkOpenActivate</handler>1274 <handler>GtkNetworkOpenShow_GLADE_SUX_intf_popup</handler> 1275 1275 <data>"intf_popup"</data> 1276 1276 <last_modification_time>Sat, 19 May 2001 16:20:54 GMT</last_modification_time> … … 1292 1292 <signal> 1293 1293 <name>activate</name> 1294 <handler>G nomePopupAboutActivate</handler>1294 <handler>GtkAboutShow_GLADE_SUX_intf_popup</handler> 1295 1295 <data>"intf_popup"</data> 1296 1296 <last_modification_time>Sat, 19 May 2001 16:21:02 GMT</last_modification_time> … … 1306 1306 <signal> 1307 1307 <name>activate</name> 1308 <handler>G nomePopupPlaylistActivate</handler>1308 <handler>GtkPlaylistShow_GLADE_SUX_intf_popup</handler> 1309 1309 <data>"intf_popup"</data> 1310 1310 <last_modification_time>Sat, 19 May 2001 16:21:14 GMT</last_modification_time> … … 1319 1319 <signal> 1320 1320 <name>activate</name> 1321 <handler>G nomePopupPreferencesActivate</handler>1321 <handler>GtkPreferencesShow_GLADE_SUX_intf_popup</handler> 1322 1322 <data>"intf_popup"</data> 1323 1323 <last_modification_time>Sat, 19 May 2001 16:21:25 GMT</last_modification_time> … … 1337 1337 <signal> 1338 1338 <name>activate</name> 1339 <handler>G nomePopupExitActivate</handler>1339 <handler>GtkExit_GLADE_SUX_intf_popup</handler> 1340 1340 <data>"intf_popup"</data> 1341 1341 <last_modification_time>Sat, 19 May 2001 16:21:45 GMT</last_modification_time> … … 2614 2614 <signal> 2615 2615 <name>activate</name> 2616 <handler>G nomePlaylistDiscOpenActivate</handler>2616 <handler>GtkDiscOpenShow_GLADE_SUX_intf_playlist</handler> 2617 2617 <data>"intf_playlist"</data> 2618 2618 <last_modification_time>Sat, 19 May 2001 16:22:26 GMT</last_modification_time> … … 2627 2627 <signal> 2628 2628 <name>activate</name> 2629 <handler>G nomePlaylistFileOpenActivate</handler>2629 <handler>GtkFileOpenShow_GLADE_SUX_intf_playlist</handler> 2630 2630 <data>"intf_playlist"</data> 2631 2631 <last_modification_time>Sat, 19 May 2001 16:22:37 GMT</last_modification_time> … … 2640 2640 <signal> 2641 2641 <name>activate</name> 2642 <handler>G nomePlaylistNetworkOpenActivate</handler>2642 <handler>GtkNetworkOpenShow_GLADE_SUX_intf_playlist</handler> 2643 2643 <data>"intf_playlist"</data> 2644 2644 <last_modification_time>Sat, 19 May 2001 16:22:52 GMT</last_modification_time> plugins/gtk/gnome_callbacks.c
re9de293 rb9e9cb4 3 3 ***************************************************************************** 4 4 * Copyright (C) 2000, 2001, 2002 VideoLAN 5 * $Id: gnome_callbacks.c,v 1.1 1 2002/06/04 20:33:25sam Exp $5 * $Id: gnome_callbacks.c,v 1.12 2002/06/07 14:30:40 sam Exp $ 6 6 * 7 7 * Authors: Samuel Hocevar <sam@zoy.org> … … 24 24 25 25 /***************************************************************************** 26 * Preamble26 * This file is not needed: everything is in gtk_callbacks.c 27 27 *****************************************************************************/ 28 #include <vlc/vlc.h>29 #include <vlc/intf.h>30 31 #include "gnome_callbacks.h"32 #include "gnome_interface.h"33 #include "gnome_support.h"34 35 #include <gnome.h>36 37 /*38 * These wrappers are made necessary by a bug in glade that seems not39 * to put user_data in c source of menuitems.40 */41 42 void43 GnomeMenubarFileOpenActivate (GtkMenuItem *menuitem,44 gpointer user_data)45 {46 GtkFileOpenShow( GTK_WIDGET( menuitem ), NULL, "intf_window" );47 }48 49 50 void51 GnomeMenubarDiscOpenActivate (GtkMenuItem *menuitem,52 gpointer user_data)53 {54 GtkDiscOpenShow( GTK_WIDGET( menuitem ), NULL, "intf_window" );55 }56 57 58 void59 GnomeMenubarNetworkOpenActivate (GtkMenuItem *menuitem,60 gpointer user_data)61 {62 GtkNetworkOpenShow( GTK_WIDGET( menuitem ), NULL, "intf_window" );63 }64 65 void66 GnomeMenubarDiscEjectActivate (GtkMenuItem *menuitem,67 gpointer user_data)68 {69 GtkDiscEject( GTK_WIDGET( menuitem ), NULL, "intf_window" );70 }71 72 void73 GnomeMenubarExitActivate (GtkMenuItem *menuitem,74 gpointer user_data)75 {76 GtkExit( GTK_WIDGET( menuitem ), NULL, "intf_window" );77 }78 79 80 void81 GnomeMenubarWindowToggleActivate (GtkMenuItem *menuitem,82 gpointer user_data)83 {84 GtkWindowToggle( GTK_WIDGET( menuitem ), NULL, "intf_window" );85 }86 87 88 void89 GnomeMenubarFullscreenActivate (GtkMenuItem *menuitem,90 gpointer user_data)91 {92 GtkFullscreen( GTK_WIDGET( menuitem ), NULL, "intf_window" );93 }94 95 96 void97 GnomeMenubarPlaylistActivate (GtkMenuItem *menuitem,98 gpointer user_data)99 {100 GtkPlaylistShow( GTK_WIDGET( menuitem ), NULL, "intf_window" );101 }102 103 104 void105 GnomeMenubarModulesActivate (GtkMenuItem *menuitem,106 gpointer user_data)107 {108 GtkModulesShow( GTK_WIDGET( menuitem ), NULL, "intf_window" );109 }110 111 112 void113 GnomeMenubarPreferencesActivate (GtkMenuItem *menuitem,114 gpointer user_data)115 {116 GtkPreferencesActivate( menuitem, "intf_window" );117 }118 119 120 void121 GnomeMenubarAboutActivate (GtkMenuItem *menuitem,122 gpointer user_data)123 {124 GtkAboutShow( GTK_WIDGET( menuitem ), NULL, "intf_window" );125 }126
