1. 08 Jun, 2006 10 commits
  2. 07 Jun, 2006 9 commits
  3. 06 Jun, 2006 5 commits
  4. 05 Jun, 2006 7 commits
  5. 04 Jun, 2006 1 commit
  6. 03 Jun, 2006 5 commits
  7. 02 Jun, 2006 3 commits
    • Kristian Rietveld's avatar
      Rubber banding for GtkTreeView, #80127. Uses same method as GtkIconView. · f6c583f7
      Kristian Rietveld authored
      2006-06-02  Kristian Rietveld  <kris@imendio.com>
      
      	Rubber banding for GtkTreeView, #80127.  Uses same method as
      	GtkIconView.
      
      	* gtk/gtktreeview.c (gtk_tree_view_class_init),
      	(gtk_tree_view_init), (gtk_tree_view_get_property),
      	(gtk_tree_view_set_property), (gtk_tree_view_set_rubber_banding),
      	(gtk_tree_view_get_rubber_banding): add property,
      	(gtk_tree_view_button_press): start rubber banding if enabled and
      	press is on a non-selected node,
      	(gtk_tree_view_button_release): stop rubber banding,
      	(gtk_tree_view_motion_bin_window), (scrool_row_timeout): enable/update
      	the rubber band,
      	(gtk_tree_view_bin_expose): draw rubber band if active,
      	(gtk_tree_view_stop_rubberband),
      	(gtk_tree_view_update_rubber_band_selection_range),
      	(gtk_tree_view_update_rubber_band_selection),
      	(gtk_tree_view_update_rubber_band),
      	(gtk_tree_view_paint_rubber_band): new functions.
      
      	* gtk/gtktreeview.h: add new set/get function for rubber banding
      	property.
      
      	* gtk/gtktreeprivate.h: add a bunch of new private fields.
      f6c583f7
    • Kristian Rietveld's avatar
      revert fix of #164884 because it's not a problem in gtk+ but in · 29018576
      Kristian Rietveld authored
      2006-06-02  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_leave_notify)P: revert fix of
      	#164884 because it's not a problem in gtk+ but in applications and
      	it breaks starting drags from the edge of a row.
      29018576
    • Kristian Rietveld's avatar
      Separate sensitive/selectable properties. · a70e6664
      Kristian Rietveld authored
      2006-06-02  Kristian Rietveld  <kris@imendio.com>
      
      	Separate sensitive/selectable properties.
      
      	* gtk/gtktreeselection.c (tree_column_is_sensitive): remove,
      	(_gtk_tree_selection_row_is_selectable): remove checks to see if at
      	least one column is sensitive,
      	(gtk_tree_selection_real_select_node): remove code which enables
      	insensitive rows to always be unselected.
      
      	* gtk/gtktreeview.c (gtk_tree_view_row_changed): remove code
      	that unselects a node if it just became insensitive.
      
      	* gtk/gtkcombobox.c (gtkcombo_box_list_select_func): new function,
      	based on the at least one column sensitive check from
      	_gtk_tree_selection_row_is_selectable(),
      	(gtk_combo_box_list_setup): set selection function on tree selection.
      a70e6664