# HG changeset patch # User Sadrul Habib Chowdhury # Date 1182277906 0 # Node ID a4dee68e040fb7e5bfee779cf17629c62c068842 # Parent 9c17cdcfc799b9f637cedeb9dc3233207f32ab81 Let non-delete keys operate. diff -r 9c17cdcfc799 -r a4dee68e040f pidgin/gtkstatusbox.c --- a/pidgin/gtkstatusbox.c Tue Jun 19 17:19:52 2007 +0000 +++ b/pidgin/gtkstatusbox.c Tue Jun 19 18:31:46 2007 +0000 @@ -1624,15 +1624,17 @@ GtkTreePath *path; if (gtk_tree_selection_get_selected(sel, NULL, &iter)) { + gboolean ret = TRUE; path = gtk_tree_model_get_path(GTK_TREE_MODEL(box->dropdown_store), &iter); if (event->keyval == GDK_Return) { treeview_activate_current_selection(box, path); } else if (event->keyval == GDK_Delete) { tree_view_delete_current_selection(box, path); - } + } else + ret = FALSE; gtk_tree_path_free (path); - return TRUE; + return ret; } } }