changeset 3122:6b76324748f5 trunk

Automated merge with ssh://hg.atheme.org//hg/audacious
author William Pitcock <nenolod@atheme-project.org>
date Fri, 20 Jul 2007 09:00:33 -0500
parents 3b6d316f8b09 (current diff) 3262bf0b8831 (diff)
children f1c756f39e6c
files src/audacious/util.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/util.c	Fri Jul 20 08:59:47 2007 -0500
+++ b/src/audacious/util.c	Fri Jul 20 09:00:33 2007 -0500
@@ -930,13 +930,15 @@
   if ( button_action )
     g_signal_connect( G_OBJECT(dialog_bbox_b1) , "clicked" ,
                       button_action , action_data );
-  GTK_WIDGET_SET_FLAGS( dialog_bbox_b1 , GTK_CAN_DEFAULT);
-  gtk_widget_grab_default( dialog_bbox_b1 );
 
   gtk_container_add( GTK_CONTAINER(dialog_bbox) , dialog_bbox_b1 );
   gtk_box_pack_start( GTK_BOX(dialog_vbox) , dialog_bbox , FALSE , FALSE , 0 );
 
   gtk_container_add( GTK_CONTAINER(dialog) , dialog_vbox );
+
+  GTK_WIDGET_SET_FLAGS( dialog_bbox_b1 , GTK_CAN_DEFAULT);
+  gtk_widget_grab_default( dialog_bbox_b1 );
+
   gtk_widget_show_all(dialog);
 
   return dialog;