From 0b145cae4d919cfe4e8683f9f900941607f6ed49 Mon Sep 17 00:00:00 2001 From: Marcel Stimberg Date: Mon, 13 Jul 2009 14:17:54 +0200 Subject: Bug #555326 - Suppress Del key press in Contacts source selector --- addressbook/gui/component/addressbook-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/component/addressbook-view.c') diff --git a/addressbook/gui/component/addressbook-view.c b/addressbook/gui/component/addressbook-view.c index a048479ea8..e76c871287 100644 --- a/addressbook/gui/component/addressbook-view.c +++ b/addressbook/gui/component/addressbook-view.c @@ -1158,7 +1158,7 @@ static gboolean source_selector_key_press_event_callback (GtkWidget *widget, GdkEventKey *event, AddressbookView *view) { if (event->keyval == GDK_Delete) { - delete_addressbook_folder (view); + /* suppress delete key press in a source selector */ return TRUE; } return FALSE; -- cgit