aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/addressbook-view.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/addressbook/gui/component/addressbook-view.c b/addressbook/gui/component/addressbook-view.c
index a3f71da707..82c4c50f2b 100644
--- a/addressbook/gui/component/addressbook-view.c
+++ b/addressbook/gui/component/addressbook-view.c
@@ -1276,13 +1276,14 @@ addressbook_view_class_init (AddressbookViewClass *klass)
parent_class = g_type_class_peek_parent (klass);
}
-static void
+static gboolean
source_selector_key_press_event_callback (GtkWidget *widget, GdkEventKey *event, AddressbookView *view)
{
if (event->keyval == GDK_Delete) {
- delete_addressbook_folder (view);
+ delete_addressbook_folder (view);
+ return TRUE;
}
- return;
+ return FALSE;
}
static void