pidgin.vv: 63befdb1: Improve padding in media window.

maiku at soc.pidgin.im maiku at soc.pidgin.im
Mon Mar 23 02:21:35 EDT 2009


-----------------------------------------------------------------
Revision: 63befdb114f64dd8fe45e589671053089250b0bf
Ancestor: 54fd69399f341b0b069451f9f87d498931b1b6f6
Author: maiku at soc.pidgin.im
Date: 2009-03-23T04:47:54
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/63befdb114f64dd8fe45e589671053089250b0bf

Modified files:
        pidgin/gtkmedia.c

ChangeLog: 

Improve padding in media window.

-------------- next part --------------
============================================================
--- pidgin/gtkmedia.c	db8613da127b3e45ac6a6befd96898cff5b4a2e0
+++ pidgin/gtkmedia.c	cacb375a1698592c612b8234f161b7b722e56729
@@ -277,7 +277,7 @@ pidgin_media_init (PidginMedia *media)
 
 	XSetErrorHandler(pidgin_x_error_handler);
 
-	vbox = gtk_vbox_new(FALSE, PIDGIN_HIG_BOX_SPACE);
+	vbox = gtk_vbox_new(FALSE, 0);
 	gtk_container_add(GTK_CONTAINER(media), vbox);
 
 	media->priv->statusbar = gtk_statusbar_new();
@@ -301,8 +301,12 @@ pidgin_media_init (PidginMedia *media)
 			G_CALLBACK(pidgin_media_mute_toggled), media);
 
 	gtk_box_pack_end(GTK_BOX(hbox), media->priv->mute, FALSE, FALSE, 0);
+	gtk_container_set_border_width(GTK_CONTAINER(media->priv->mute),
+			PIDGIN_HIG_BOX_SPACE);
 
 	media->priv->display = gtk_vbox_new(FALSE, PIDGIN_HIG_BOX_SPACE);
+	gtk_container_set_border_width(GTK_CONTAINER(media->priv->display),
+			PIDGIN_HIG_BOX_SPACE);
 	gtk_box_pack_start(GTK_BOX(vbox), media->priv->display,
 			TRUE, TRUE, PIDGIN_HIG_BOX_SPACE);
 	gtk_widget_show(vbox);


More information about the Commits mailing list