# HG changeset patch # User Mike Ruprecht # Date 1214589673 0 # Node ID b8e0a56cd6cf1aec0c12938d15b4182923e5f70a # Parent 19e077a4cb625b7b98803045467e6f9a5982c506 Fix the order of the send/recv audio/video display widgets. diff -r 19e077a4cb62 -r b8e0a56cd6cf pidgin/gtkmedia.c --- a/pidgin/gtkmedia.c Fri Jun 27 16:56:25 2008 +0000 +++ b/pidgin/gtkmedia.c Fri Jun 27 18:01:13 2008 +0000 @@ -324,14 +324,14 @@ NULL); } + recv_widget = gtk_hbox_new(FALSE, PIDGIN_HIG_BOX_SPACE); send_widget = gtk_hbox_new(FALSE, PIDGIN_HIG_BOX_SPACE); - recv_widget = gtk_hbox_new(FALSE, PIDGIN_HIG_BOX_SPACE); + gtk_box_pack_start(GTK_BOX(gtkmedia->priv->display), recv_widget, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(gtkmedia->priv->display), send_widget, TRUE, TRUE, 0); - gtk_box_pack_start(GTK_BOX(gtkmedia->priv->display), recv_widget, TRUE, TRUE, 0); + gtk_widget_show(recv_widget); gtk_widget_show(send_widget); - gtk_widget_show(recv_widget); if (videorecvbin || videosendbin) { GtkWidget *aspect; @@ -342,7 +342,7 @@ aspect = gtk_aspect_frame_new(NULL, 0.5, 0.5, 4.0/3.0, FALSE); gtk_frame_set_shadow_type(GTK_FRAME(aspect), GTK_SHADOW_IN); - gtk_box_pack_start(GTK_BOX(send_widget), aspect, TRUE, TRUE, 0); + gtk_box_pack_start(GTK_BOX(recv_widget), aspect, TRUE, TRUE, 0); remote_video = gtk_drawing_area_new(); gtk_container_add(GTK_CONTAINER(aspect), remote_video); @@ -352,7 +352,7 @@ aspect = gtk_aspect_frame_new(NULL, 0.5, 0.5, 4.0/3.0, FALSE); gtk_frame_set_shadow_type(GTK_FRAME(aspect), GTK_SHADOW_IN); - gtk_box_pack_start(GTK_BOX(recv_widget), aspect, TRUE, TRUE, 0); + gtk_box_pack_start(GTK_BOX(send_widget), aspect, TRUE, TRUE, 0); local_video = gtk_drawing_area_new(); gtk_container_add(GTK_CONTAINER(aspect), local_video);