[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk opts.c,1.30,1.31
Zoltan Ponekker
pontscho at mplayerhq.hu
Tue Nov 12 22:52:59 CET 2002
Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
In directory mail:/var/tmp.root/cvs-serv11036/Gui/mplayer/gtk
Modified Files:
opts.c
Log Message:
cleanup
Index: opts.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/opts.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- opts.c 11 Nov 2002 19:19:31 -0000 1.30
+++ opts.c 12 Nov 2002 21:52:56 -0000 1.31
@@ -18,6 +18,7 @@
#include "../widgets.h"
#include "opts.h"
#include "fs.h"
+#include "common.h"
typedef struct sh_video_t sh_video_t;
typedef struct sh_audio_t sh_audio_t;
@@ -614,34 +615,11 @@
}
}
[...1106 lines suppressed...]
- gtk_object_set_data_full( GTK_OBJECT( DXR3Config ),"dxr3BOk",dxr3BOk,(GtkDestroyNotify)gtk_widget_unref );
- gtk_widget_show( dxr3BOk );
- gtk_container_add( GTK_CONTAINER( hbuttonbox1 ),dxr3BOk );
-
- dxr3BCancel=gtk_button_new_with_label( MSGTR_Cancel );
- gtk_widget_set_name( dxr3BCancel,"dxr3BCancel" );
- gtk_widget_ref( dxr3BCancel );
- gtk_object_set_data_full( GTK_OBJECT( DXR3Config ),"dxr3BCancel",dxr3BCancel,(GtkDestroyNotify)gtk_widget_unref );
- gtk_widget_show( dxr3BCancel );
- gtk_container_add( GTK_CONTAINER( hbuttonbox1 ),dxr3BCancel );
+ AddHSeparator( vbox1 );
+
+ hbuttonbox1=AddHButtonBox( vbox1 );
+ gtk_button_box_set_layout( GTK_BUTTON_BOX( hbuttonbox1 ),GTK_BUTTONBOX_END );
+ gtk_button_box_set_spacing( GTK_BUTTON_BOX( hbuttonbox1 ),10 );
+ dxr3BOk=AddButton( MSGTR_Ok,hbuttonbox1 );
+ dxr3BCancel=AddButton( MSGTR_Cancel,hbuttonbox1 );
gtk_widget_add_accelerator( dxr3BOk,"released",accel_group,GDK_Return,0,GTK_ACCEL_VISIBLE );
gtk_widget_add_accelerator( dxr3BCancel,"released",accel_group,GDK_Escape,0,GTK_ACCEL_VISIBLE );
More information about the MPlayer-cvslog
mailing list