diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-25 20:26:38 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-25 20:26:38 +0000 |
commit | b1be9a6a39d94fc1cbe00eaaa7c7425c081d0721 (patch) | |
tree | 67e25086b99bac66ff938b93dfffb24d0de693c9 /Gui/mplayer/gtk/mb.c | |
parent | 9ba7dabbab413d4eab2c262589276538b1193a09 (diff) | |
download | mpv-b1be9a6a39d94fc1cbe00eaaa7c7425c081d0721.tar.bz2 mpv-b1be9a6a39d94fc1cbe00eaaa7c7425c081d0721.tar.xz |
- add preferences support (first try)
- fix some playlist bug
- fix some equ bug
- fix some redraw bug
- fix dvd playing
- fix file open dialog box
- etc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6795 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/gtk/mb.c')
-rw-r--r-- | Gui/mplayer/gtk/mb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Gui/mplayer/gtk/mb.c b/Gui/mplayer/gtk/mb.c index a416f7562b..4492cabb29 100644 --- a/Gui/mplayer/gtk/mb.c +++ b/Gui/mplayer/gtk/mb.c @@ -18,6 +18,7 @@ void ShowMessageBox( char * msg ) { if ( gtkVMessageBox ) gtkActive( MessageBox ); else MessageBox=create_MessageBox( 0 ); + gtkSetLayer( MessageBox ); if ( strlen( msg ) < 20 ) gtk_widget_set_usize( MessageBox,196,-1 ); gtkVisible++; } @@ -164,7 +165,7 @@ GtkWidget * create_MessageBox( int type ) gtk_widget_add_accelerator( Ok,"released",accel_group,GDK_Escape,0,GTK_ACCEL_VISIBLE ); gtk_signal_connect( GTK_OBJECT( MessageBox ),"destroy_event",GTK_SIGNAL_FUNC( on_Ok_released ),NULL ); - gtk_signal_connect( GTK_OBJECT( MessageBox ),"show",GTK_SIGNAL_FUNC( on_MessageBox_show ),1 ); + gtk_signal_connect( GTK_OBJECT( MessageBox ),"show",GTK_SIGNAL_FUNC( on_MessageBox_show ),(void *)1 ); gtk_signal_connect( GTK_OBJECT( MessageBox ),"hide",GTK_SIGNAL_FUNC( on_MessageBox_show ),0 ); gtk_signal_connect( GTK_OBJECT( Ok ),"released",GTK_SIGNAL_FUNC( on_Ok_released ),NULL ); |