changeset 26351:0dfd05966e09

Improve padding in media window.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Mon, 23 Mar 2009 04:47:54 +0000
parents 064657db29c4
children e23a74d7c97c
files pidgin/gtkmedia.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmedia.c	Mon Mar 23 04:00:11 2009 +0000
+++ b/pidgin/gtkmedia.c	Mon Mar 23 04:47:54 2009 +0000
@@ -277,7 +277,7 @@
 
 	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 @@
 			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);