changeset 14545:0a7ce7c8faa8

[gaim-migrate @ 17266] There's a horizontal separator between the imhtml and the imhtml toolbar. Before we weren't hiding he separator if we hid the toolbar which resulted in a stray horizontal line. This kills that. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 13 Sep 2006 18:02:08 +0000
parents d1f9b05c3f58
children 776975f2c550
files gtk/gtkutils.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkutils.c	Tue Sep 12 23:56:25 2006 +0000
+++ b/gtk/gtkutils.c	Wed Sep 13 18:02:08 2006 +0000
@@ -124,6 +124,8 @@
 
 		sep = gtk_hseparator_new();
 		gtk_box_pack_start(GTK_BOX(vbox), sep, FALSE, FALSE, 0);
+		g_signal_connect_swapped(G_OBJECT(toolbar), "show", G_CALLBACK(gtk_widget_show), sep);
+		g_signal_connect_swapped(G_OBJECT(toolbar), "hide", G_CALLBACK(gtk_widget_hide), sep);
 		gtk_widget_show(sep);
 	}