[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk mb.c,1.2,1.3
Zoltan Ponekker
pontscho at mplayer.dev.hu
Wed Dec 19 17:54:07 CET 2001
Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
In directory mplayer:/var/tmp.root/cvs-serv4926/Gui/mplayer/gtk
Modified Files:
mb.c
Log Message:
button design fix
Index: mb.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/mb.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mb.c 18 Dec 2001 23:19:53 -0000 1.2
+++ mb.c 19 Dec 2001 16:54:04 -0000 1.3
@@ -158,6 +158,8 @@
gtk_object_set_data_full (GTK_OBJECT (MessageBox), "hbuttonbox1", hbuttonbox1,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (hbuttonbox1);
+ gtk_widget_set_usize( hbuttonbox1,-2,25 );
+ gtk_button_box_set_child_size( GTK_BUTTON_BOX( hbuttonbox1 ),75,0 );
gtk_box_pack_start (GTK_BOX (vbox1), hbuttonbox1, FALSE, FALSE, 0);
Ok = gtk_button_new_with_label (MSGTR_Ok);
@@ -167,7 +169,6 @@
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (Ok);
gtk_container_add (GTK_CONTAINER (hbuttonbox1), Ok);
- GTK_WIDGET_SET_FLAGS (Ok, GTK_CAN_DEFAULT);
gtk_widget_add_accelerator (Ok, "released", accel_group,
GDK_Return, 0,
GTK_ACCEL_VISIBLE);
More information about the MPlayer-cvslog
mailing list