Mercurial > mplayer.hg
changeset 33777:235c6f2514be
Arrange OSD preferences according to option 'osdlevel'.
This partly closes Bugzilla #645.
author | ib |
---|---|
date | Sun, 10 Jul 2011 12:29:36 +0000 |
parents | 4fae8b19fbbd |
children | 4fcbd59b4e78 |
files | gui/ui/gtk/preferences.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/gtk/preferences.c Sun Jul 10 12:11:03 2011 +0000 +++ b/gui/ui/gtk/preferences.c Sun Jul 10 12:29:36 2011 +0000 @@ -114,8 +114,8 @@ static GtkAdjustment * SBAutoSyncadj; static GtkWidget * RBOSDNone; +static GtkWidget * RBOSDIndicator; static GtkWidget * RBOSDTandP; -static GtkWidget * RBOSDIndicator; static GtkWidget * RBOSDTPTT; static GtkWidget * HSAudioDelay; @@ -1001,8 +1001,8 @@ AddFrame( MSGTR_PREFERENCES_FRAME_OSD_Level,GTK_SHADOW_ETCHED_OUT,vbox6,0 ),1 ),0 ); RBOSDNone=AddRadioButton( MSGTR_PREFERENCES_None,&OSD_group,vbox600 ); + RBOSDIndicator=AddRadioButton( MSGTR_PREFERENCES_OSDProgress,&OSD_group,vbox600 ); RBOSDTandP=AddRadioButton( MSGTR_PREFERENCES_OSDTimer,&OSD_group,vbox600 ); - RBOSDIndicator=AddRadioButton( MSGTR_PREFERENCES_OSDProgress,&OSD_group,vbox600 ); RBOSDTPTT=AddRadioButton( MSGTR_PREFERENCES_OSDTimerPercentageTotalTime,&OSD_group,vbox600 ); vbox7=AddVBox( @@ -1361,8 +1361,8 @@ #endif #if 0 gtk_signal_connect( GTK_OBJECT( RBOSDNone ),"toggled",GTK_SIGNAL_FUNC( on_RBOSDNone_toggled ),NULL ); + gtk_signal_connect( GTK_OBJECT( RBOSDIndicator ),"toggled",GTK_SIGNAL_FUNC( on_RBOSDIndicator_toggled ),NULL ); gtk_signal_connect( GTK_OBJECT( RBOSDTandP ),"toggled",GTK_SIGNAL_FUNC( on_RBOSDTandP_toggled ),NULL ); - gtk_signal_connect( GTK_OBJECT( RBOSDIndicator ),"toggled",GTK_SIGNAL_FUNC( on_RBOSDIndicator_toggled ),NULL ); gtk_signal_connect( GTK_OBJECT( RBOSDTPTT ),"toggled",GTK_SIGNAL_FUNC( on_RBOSDIndicator_toggled ),NULL ); gtk_signal_connect( GTK_OBJECT( CBAudioEqualizer ),"toggled",GTK_SIGNAL_FUNC( on_CBAudioEqualizer_toggled ),NULL ); #endif