# HG changeset patch # User Sadrul Habib Chowdhury # Date 1178120294 0 # Node ID d0f9b2b217cf2e7a77903b14f20f63fe4c24255c # Parent 2ff9195a35ce3b6a62bcd3900072b7445f7432f5 Fix context menu unusualness in the buddylist. diff -r 2ff9195a35ce -r d0f9b2b217cf finch/gntblist.c --- 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); } diff -r 2ff9195a35ce -r d0f9b2b217cf finch/libgnt/gntmain.c --- 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; }