diff options
author | 2012-09-11 21:18:21 +0200 | |
---|---|---|
committer | 2012-09-11 21:18:21 +0200 | |
commit | e3784e72ffa60e2acb893e401155663560ee68d0 (patch) | |
tree | 24b5d3a808fe4f2a0084321eacc41248f7a1e6d8 /plugins/gtkui/trkproperties.c | |
parent | 2095bdf4bc4ee8abdd056291131605a57ed631f5 (diff) |
gtkui: disable global keyboard handler in trkproperties, fix editing using enter key, cancelling using esc key, clipboard using ctrl/shift+ins, etc
Diffstat (limited to 'plugins/gtkui/trkproperties.c')
-rw-r--r-- | plugins/gtkui/trkproperties.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/gtkui/trkproperties.c b/plugins/gtkui/trkproperties.c index 74bd3a32..7d46e036 100644 --- a/plugins/gtkui/trkproperties.c +++ b/plugins/gtkui/trkproperties.c @@ -196,18 +196,23 @@ on_trackproperties_key_press_event (GtkWidget *widget, GdkEventKey *event, gpointer user_data) { +#if 0 if (event->keyval == GDK_Escape) { + printf ("trkproperties esc\n"); on_trackproperties_delete_event (trackproperties, NULL, NULL); return TRUE; } else if (event->keyval == GDK_Delete) { + printf ("trkproperties del\n"); on_remove_field_activate (NULL, NULL); return FALSE; } else if (event->keyval == GDK_Insert) { + printf ("trkproperties ins\n"); on_add_field_activate (NULL, NULL); return TRUE; } +#endif return FALSE; } |