summaryrefslogtreecommitdiff
path: root/ChangeLog-20000414
diff options
context:
space:
mode:
authorJohn Sullivan <sullivan@src.gnome.org>2000-04-08 01:05:59 +0000
committerJohn Sullivan <sullivan@src.gnome.org>2000-04-08 01:05:59 +0000
commit949566269c04783ae385b23bf850e5f681810cb4 (patch)
treefdb7ad390ade90e7aaf999df9046b7da8396bd6e /ChangeLog-20000414
parente68159f3119d38d2f1ce8d4d9c6f5729c3d9326e (diff)
downloadnautilus-949566269c04783ae385b23bf850e5f681810cb4.tar.gz
Fixed bug Andy pointed out where list view "links" could
be activated by clicking in white space past the name. Also started making changes in the direction of getting keyboard selection working properly in list view (but most of the work remains). * libnautilus/nautilus-gdk-extensions.h, * libnautilus/nautilus-gdk-extensions.c: (nautilus_stipple_bitmap): New function, returns pointer to static 50% stipple bitmap. * libnautilus/nautilus-icon-cvanvas-item.c: remove global stipple object; (nautilus_icon_canvas_item_initialize_class): Remove initialization of global stipple object. (draw_or_measure_label_text), (draw_stretch_handles): Use nautilus_stipple_bitmap () in lieu of global stipple object in this file. * libnautilus/nautilus-list.c: (get_cell_horizontal_start_position): New function, extracted from draw_row so I could use it elsewhere. (nautilus_list_key): Removed function. (nautilus_list_draw_focus): New function, draws keyboard-focussed row with the same stipple outline used in icon view. (nautilus_list_move_function_row): New function, copied & simplified from GtkCList. Will probably rewrite entirely or eliminate very soon. (nautilus_list_scroll_vertical): New function, copied & simplified from GtkCList. Handles various keyboard commands, though not yet with the behavior we actually want. (nautilus_list_initialize_class): Begin to override and eliminate GtkCList key bindings that we want to change. I've just started this work -- all I've done so far is make space do nothing but Control-space toggle the selection status of the keyboard-focussed row. I need to go through and fix up all the bad inherited bindings. Also in this function replace GtkCList's scroll_vertical and draw_focus function pointers, and removed the key_press_event and key_release_event overrides that were deliberately preventing us from inheriting any of GtkCList's keyboard behavior. (nautilus_list_button_release): Only activate link-text if the click is in the horizontal bounds of the text. (draw_row) Use get_cell_horizontal_start_position that was extracted from this function.
Diffstat (limited to 'ChangeLog-20000414')
-rw-r--r--ChangeLog-2000041444
1 files changed, 44 insertions, 0 deletions
diff --git a/ChangeLog-20000414 b/ChangeLog-20000414
index ac21ee8e5..6bc443c62 100644
--- a/ChangeLog-20000414
+++ b/ChangeLog-20000414
@@ -1,3 +1,47 @@
+2000-04-07 John Sullivan <sullivan@eazel.com>
+
+ Fixed bug Andy pointed out where list view "links" could
+ be activated by clicking in white space past the name.
+ Also started making changes in the direction of getting
+ keyboard selection working properly in list view (but
+ most of the work remains).
+
+ * libnautilus/nautilus-gdk-extensions.h,
+ * libnautilus/nautilus-gdk-extensions.c:
+ (nautilus_stipple_bitmap): New function, returns pointer to
+ static 50% stipple bitmap.
+ * libnautilus/nautilus-icon-cvanvas-item.c:
+ remove global stipple object;
+ (nautilus_icon_canvas_item_initialize_class): Remove initialization
+ of global stipple object.
+ (draw_or_measure_label_text), (draw_stretch_handles): Use
+ nautilus_stipple_bitmap () in lieu of global stipple object
+ in this file.
+ * libnautilus/nautilus-list.c:
+ (get_cell_horizontal_start_position): New function, extracted
+ from draw_row so I could use it elsewhere.
+ (nautilus_list_key): Removed function.
+ (nautilus_list_draw_focus): New function, draws keyboard-focussed
+ row with the same stipple outline used in icon view.
+ (nautilus_list_move_function_row): New function, copied & simplified
+ from GtkCList. Will probably rewrite entirely or eliminate very soon.
+ (nautilus_list_scroll_vertical): New function, copied & simplified
+ from GtkCList. Handles various keyboard commands, though not yet with
+ the behavior we actually want.
+ (nautilus_list_initialize_class): Begin to override and eliminate
+ GtkCList key bindings that we want to change. I've just started this
+ work -- all I've done so far is make space do nothing but Control-space
+ toggle the selection status of the keyboard-focussed row. I need to
+ go through and fix up all the bad inherited bindings. Also in this
+ function replace GtkCList's scroll_vertical and draw_focus function
+ pointers, and removed the key_press_event and key_release_event
+ overrides that were deliberately preventing us from inheriting any
+ of GtkCList's keyboard behavior.
+ (nautilus_list_button_release): Only activate link-text if the click
+ is in the horizontal bounds of the text.
+ (draw_row) Use get_cell_horizontal_start_position that was extracted
+ from this function.
+
2000-04-07 Andy Hertzfeld <andy@eazel.com>
* components/services/startup/nautilus-service-startup-view.c: