diff options
author | Dave Camp <dave@ximian.com> | 2003-01-13 04:35:56 +0000 |
---|---|---|
committer | Dave Camp <campd@src.gnome.org> | 2003-01-13 04:35:56 +0000 |
commit | e0d92d618e465fd6eeefd9e04b7a6930287e8022 (patch) | |
tree | 6a345a32889de692f7b931b48c25990e9bd0e91d | |
parent | f956758133dfe2ce897e86ddf9323ce09b159b35 (diff) | |
download | nautilus-e0d92d618e465fd6eeefd9e04b7a6930287e8022.tar.gz |
Only handle keypresses on the bin window.
2003-01-12 Dave Camp <dave@ximian.com>
* src/file-manager/fm-list-view.c (key_press_callback): Only
handle keypresses on the bin window.
Fixes #102259, thanks to Pasupathi <pasupathi.duraisamy@wipro.com>
for helping to track this down.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/file-manager/fm-list-view.c | 4 |
2 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,13 @@ 2003-01-12 Dave Camp <dave@ximian.com> + * src/file-manager/fm-list-view.c (key_press_callback): Only + handle keypresses on the bin window. + + Fixes #102259, thanks to Pasupathi <pasupathi.duraisamy@wipro.com> + for helping to track this down. + +2003-01-12 Dave Camp <dave@ximian.com> + * src/file-manager/fm-list-view.c (button_press_callback): In single click mode, don't activate if shift or control is held down. This matches the icon view behavior. diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c index ccfbfa1ac..4fee54339 100644 --- a/src/file-manager/fm-list-view.c +++ b/src/file-manager/fm-list-view.c @@ -212,6 +212,10 @@ key_press_callback (GtkWidget *widget, GdkEventKey *event, gpointer callback_dat GList *file_list; view = FM_DIRECTORY_VIEW (callback_data); + + if (event->window != gtk_tree_view_get_bin_window (GTK_TREE_VIEW (widget))) { + return FALSE; + } switch (event->keyval) { case GDK_space: |