soc.2008.vv: 6edefad3: Fix the order of the send/recv audio/vid.

maiku at soc.pidgin.im maiku at soc.pidgin.im
Fri Jun 27 14:10:59 EDT 2008


-----------------------------------------------------------------
Revision: 6edefad3be68b0ae1104b6235376600c14c9c605
Ancestor: 18d8536f88c380d0204a943194945894a9adf195
Author: maiku at soc.pidgin.im
Date: 2008-06-27T18:01:13
Branch: im.pidgin.soc.2008.vv
URL: http://d.pidgin.im/viewmtn/revision/info/6edefad3be68b0ae1104b6235376600c14c9c605

Modified files:
        pidgin/gtkmedia.c

ChangeLog: 

Fix the order of the send/recv audio/video display widgets.

-------------- next part --------------
============================================================
--- pidgin/gtkmedia.c	12a7bdedece47f9a23b0b5b34da338fb0fb0b691
+++ pidgin/gtkmedia.c	203bf7ac97ff890596f39a9b566e45b859caf97c
@@ -324,14 +324,14 @@ pidgin_media_ready_cb(PurpleMedia *media
 				       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(send_widget);
 	gtk_widget_show(recv_widget);
+	gtk_widget_show(send_widget);
 
 	if (videorecvbin || videosendbin) {
 		GtkWidget *aspect;
@@ -342,7 +342,7 @@ pidgin_media_ready_cb(PurpleMedia *media
 
 		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 @@ pidgin_media_ready_cb(PurpleMedia *media
 
 		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);


More information about the Commits mailing list