diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-19 16:54:04 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-19 16:54:04 +0000 |
commit | 4854fe36aed765bcabaed844575cb7cbbd21c08c (patch) | |
tree | 641429067a48153e670e045ea2655cffd8100f64 /Gui/mplayer | |
parent | 1e7102f771174ba134fd9c2fafd1ef3e2c707785 (diff) |
button design fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3618 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer')
-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 e7dab57da0..9382ea4e6c 100644 --- a/Gui/mplayer/gtk/mb.c +++ b/Gui/mplayer/gtk/mb.c @@ -158,6 +158,8 @@ GtkWidget * create_MessageBox( int type ) 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 @@ GtkWidget * create_MessageBox( int type ) (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); |