diff pidgin/gtkblist.c @ 21931:fa57a93219bf

Reset the 'editable' flag of the renderer after cancelling the edit. Fixes #4471.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 24 Dec 2007 01:28:24 +0000
parents 2b6e6dd24a37
children f82c94a72f5f
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sun Dec 23 01:30:27 2007 +0000
+++ b/pidgin/gtkblist.c	Mon Dec 24 01:28:24 2007 +0000
@@ -409,6 +409,7 @@
 static void gtk_blist_renderer_editing_cancelled_cb(GtkCellRenderer *renderer, PurpleBuddyList *list)
 {
 	editing_blist = FALSE;
+	g_object_set(G_OBJECT(renderer), "editable", FALSE, NULL);
 	pidgin_blist_refresh(list);
 }