# HG changeset patch # User Elliott Sales de Andrade # Date 1261554434 0 # Node ID ac6c2dda0eae74483b7898b954f9e6c40af45b06 # Parent 5259ca10b6414939346e01863d8a68e14f710b04 Add a GtkAlignment to create a small indent for the file transfer details. The actual indent size is a bit of a magic number, though. Fixes #3015. diff -r 5259ca10b641 -r ac6c2dda0eae pidgin/gtkft.c --- a/pidgin/gtkft.c Wed Dec 23 07:13:27 2009 +0000 +++ b/pidgin/gtkft.c Wed Dec 23 07:47:14 2009 +0000 @@ -730,6 +730,7 @@ GtkWidget *sw; GtkWidget *button; GtkWidget *expander; + GtkWidget *alignment; GtkWidget *table; GtkWidget *checkbox; @@ -787,9 +788,15 @@ gtk_widget_set_sensitive(expander, FALSE); + /* Small indent make table fall under GtkExpander's label */ + alignment = gtk_alignment_new(1, 0, 1, 1); + gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), 0, 0, 20, 0); + gtk_container_add(GTK_CONTAINER(expander), alignment); + gtk_widget_show(alignment); + /* The table of information. */ table = make_info_table(dialog); - gtk_container_add(GTK_CONTAINER(expander), table); + gtk_container_add(GTK_CONTAINER(alignment), table); gtk_widget_show(table); /* Open button */