aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/e-book-shell-view-private.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/addressbook/e-book-shell-view-private.c b/modules/addressbook/e-book-shell-view-private.c
index 641861284e..ce0de8d960 100644
--- a/modules/addressbook/e-book-shell-view-private.c
+++ b/modules/addressbook/e-book-shell-view-private.c
@@ -412,23 +412,6 @@ book_shell_view_selector_popup_menu_cb (EShellView *shell_view)
return book_shell_view_show_popup_menu (NULL, shell_view);
}
-static gboolean
-book_shell_view_selector_key_press_event_cb (EShellView *shell_view,
- GdkEventKey *event)
-{
- EShellWindow *shell_window;
-
- /* Needed for the ACTION() macro. */
- shell_window = e_shell_view_get_shell_window (shell_view);
-
- if (event->keyval == GDK_KEY_Delete) {
- gtk_action_activate (ACTION (ADDRESS_BOOK_DELETE));
- return TRUE;
- }
-
- return FALSE;
-}
-
static void
book_shell_view_source_removed_cb (ESourceRegistry *registry,
ESource *source,
@@ -576,11 +559,6 @@ e_book_shell_view_private_constructed (EBookShellView *book_shell_view)
book_shell_view, G_CONNECT_SWAPPED);
g_signal_connect_object (
- selector, "key-press-event",
- G_CALLBACK (book_shell_view_selector_key_press_event_cb),
- book_shell_view, G_CONNECT_SWAPPED);
-
- g_signal_connect_object (
selector, "popup-menu",
G_CALLBACK (book_shell_view_selector_popup_menu_cb),
book_shell_view, G_CONNECT_SWAPPED);