changeset 16792:d0f9b2b217cf

Fix context menu unusualness in the buddylist.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 02 May 2007 15:38:14 +0000
parents 2ff9195a35ce
children ea82b9e581a8
files finch/gntblist.c finch/libgnt/gntmain.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntblist.c	Wed May 02 14:27:45 2007 +0000
+++ b/finch/gntblist.c	Wed May 02 15:38:14 2007 +0000
@@ -1421,6 +1421,7 @@
 static void
 selection_changed(GntWidget *widget, gpointer old, gpointer current, FinchBlist *ggblist)
 {
+	remove_peripherals(ggblist);
 	draw_tooltip(ggblist);
 }
 
--- a/finch/libgnt/gntmain.c	Wed May 02 14:27:45 2007 +0000
+++ b/finch/libgnt/gntmain.c	Wed May 02 15:38:14 2007 +0000
@@ -518,6 +518,7 @@
 	gnt_widget_draw(GNT_WIDGET(wm->menu));
 
 	g_signal_connect(G_OBJECT(wm->menu), "hide", G_CALLBACK(reset_menu), NULL);
+	g_signal_connect(G_OBJECT(wm->menu), "destroy", G_CALLBACK(reset_menu), NULL);
 
 	return TRUE;
 }