Mercurial > pidgin.yaz
changeset 18197:9287055b97d2
merge of '4de940f299051a02913e8184619cf3a50ad68dff'
and '5433e8d729b5ebf4946b383fbe85192080f661d0'
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Tue, 19 Jun 2007 18:59:12 +0000 |
parents | 5b4013f10285 (current diff) a4dee68e040f (diff) |
children | 9cb31b7c2dd6 |
files | |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkstatusbox.c Tue Jun 19 18:57:11 2007 +0000 +++ b/pidgin/gtkstatusbox.c Tue Jun 19 18:59:12 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; } } }