1. 15 Aug, 2003 1 commit
    • Kristian Rietveld's avatar
      (Note: This is not exactly the same as the patch which went in gtk-2-2). · 2e299387
      Kristian Rietveld authored
      Fri Aug 15 19:43:14 2003  Kristian Rietveld  <kris@gtk.org>
      
      	(Note: This is not exactly the same as the patch which went in
      	 gtk-2-2).
      
      	* gtk/gtktreeview.c (gtk_tree_view_class_init),
      	(gtk_tree_view_key_press), (gtk_tree_view_search_key_press_event):
      	Also support the up, down, left, right, home, end, page up and
      	page down keys on the numpad. (#119419, reported by Alex Larsson).
      2e299387
  2. 17 Jul, 2003 3 commits
    • Kristian Rietveld's avatar
      Merged from stable. · e733ed3e
      Kristian Rietveld authored
      Thu Jul 17 19:24:51 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	Fixes issues pointed out by Morten Welinder in #115140.
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): fix comment,
      	(do_validate_rows): update validated_area with a logic OR instead
      	of a bitwise OR,
      	(validate_rows_handler): make the if statement match the one in
      	validate_rows(), so we don't leak the timeout.
      e733ed3e
    • Kristian Rietveld's avatar
      Merged from stable. · fd9992d8
      Kristian Rietveld authored
      Thu Jul 17 19:12:02 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview
      	should only grab focus back if the "cell_editable" widget still
      	has focus. (Fixes #110104, testcase provided by Marco Pesenti
      	Gritti).
      fd9992d8
    • Kristian Rietveld's avatar
      Merged from stable. · bdce65ea
      Kristian Rietveld authored
      Thu Jul 17 16:11:21 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_rows_reordered): stop editing
      	if needed. (Fixes #115869, reported by Michael Natterer).
      bdce65ea
  3. 12 Jul, 2003 4 commits
    • Kristian Rietveld's avatar
      Merged from stable. · 497de299
      Kristian Rietveld authored
      Sat Jul 12 16:16:04 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_drag_data_received): special
      	case drags to "0", scroll to the top after dropping. (Fixes #94968,
      	reported by Alp Toker).
      497de299
    • Kristian Rietveld's avatar
      Merged from stable. · 1719b20a
      Kristian Rietveld authored
      Sat Jul 12 15:51:33 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	Fixes #113904, testcase provided by Rene Seindal.
      
      	* gtk/gtktreeview.c (gtk_tree_view_button_press): set
      	pressed_button to -1 when a row has been activated,
      	(gtk_tree_view_motion_bin_window): only start a drag if there's
      	a button being pressed.
      1719b20a
    • Kristian Rietveld's avatar
      Merged from stable. · 97ddec66
      Kristian Rietveld authored
      Sat Jul 12 15:51:18 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): use
      	gdk_window_get_pointer instead of gdk_display_get_window_at_pointer
      	to avoid a roundtrip (#110272, Owen Taylor).
      97ddec66
    • Kristian Rietveld's avatar
      Merged from stable. · e680d2f5
      Kristian Rietveld authored
      Sat Jul 12 15:28:26 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	This patch really really fixes scrolling. Related bugs: #81627,
      	testcase provided by Timo Sirainen, #111500, testcase provided by
      	manu, #113241, reported by Pedro Gimeno/Michael Natterer.
      
      	*  gtk/gtktreeview.c (validate_visible_area): scrolling to a dy
      	which is equal to the lower border of the window means scrolling
      	to an invisible row, always update the dy when scrolling to an
      	invisible row, corrected area_above/below calculations for
      	invisible rows, when walking the tree correct the size
      	subtracted for invalidated rows, fix wrong logic in comment.
      e680d2f5
  4. 06 Jun, 2003 1 commit
    • Kristian Rietveld's avatar
      Merged from stable. · e0e04dd8
      Kristian Rietveld authored
      Fri Jun  6 23:38:23 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (do_expand_collapse),
      	(expand_collapse_timeout), (cancel_arrow_animation): made
      	expand_collapse_timeout a wrapper with locks around
      	do_expand_collapse, made cancel_arrow_animation use
      	do_expand_collapse. Fixes threadlock. (Fixes #111286, patch from
      	Peter Bloomfield).
      e0e04dd8
  5. 04 Jun, 2003 1 commit
    • Kristian Rietveld's avatar
      Merged from stable. · 5afcde9a
      Kristian Rietveld authored
      Wed Jun  4 21:25:35 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_drag_begin): use a silent
      	assert for get_info. (reported by Michael Natterer),
      	(gtk_tree_view_expand_all_emission_helper),
      	(gtk_tree_view_expand_all_helper): emit row_expanded for all
      	expanded rows during an _expand_all operation. (Fixes #111280,
      	reported by Benjamin Bayart).
      5afcde9a
  6. 29 May, 2003 8 commits
    • Kristian Rietveld's avatar
      Merged from stable. · 76367269
      Kristian Rietveld authored
      Thu May 29 18:23:01 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_button_press): put the focus
      	grab separate, the user might clear the tree in the focus-in
      	callback. (Fixes #113086, testcase from Felipe Heidrich).
      76367269
    • Kristian Rietveld's avatar
      Merged from stable. · d718b973
      Kristian Rietveld authored
      Thu May 29 18:06:26 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_model_set_model): reset a bunch
      	of row reference when we unset the model. Also reset
      	dy and top_row_dy. (Fixes #109289, patch from Owen Taylor).
      d718b973
    • Kristian Rietveld's avatar
      Merged from stable. · 7554c3df
      Kristian Rietveld authored
      Thu May 29 17:12:19 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
      	the current editing, if it exists. (Fixes #108956, reported by
      	Michael Natterer).
      7554c3df
    • Kristian Rietveld's avatar
      Merged from stable. · 4a03ea23
      Kristian Rietveld authored
      Thu May 29 17:06:09 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (check_selection_helper): new function,
      	(gtk_tree_view_row_deleted): traverse the tree from the
      	deleted node to see whether the selection changed, instead of
      	just checking this node. (Fixes #107400, reported by 'Duncan').
      4a03ea23
    • Kristian Rietveld's avatar
      Merged from stable. · c906acd0
      Kristian Rietveld authored
      Thu May 29 16:31:34 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row),
      	(gtk_tree_view_drag_begin): set the DnD icon in _drag_begin
      	instead of _maybe_begin_dragging_row, so the icon can be
      	overridden by apps. (Fixes #104374, patch from Daniel Elstner).
      c906acd0
    • Kristian Rietveld's avatar
      Merged from stable. · bdff7cdb
      Kristian Rietveld authored
      Thu May 29 16:14:04 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_start_editing): correct
      	cell_area x/width for the expander if needed. (Fixes #101748,
      	reported by Dave Cook and Mariano Suarez-Alvarez).
      bdff7cdb
    • Kristian Rietveld's avatar
      check if tree/node are still the same after _internal_select_node. (Fixes · fcabeed6
      Kristian Rietveld authored
      Thu May 29 16:01:38 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): check
      	if tree/node are still the same after _internal_select_node.
      	(Fixes #92256, reported by edscott).
      fcabeed6
    • Kristian Rietveld's avatar
      Fixes #75745, reported by Richard Hult. Merged from stable. · c3789891
      Kristian Rietveld authored
      Thu May 29 15:38:30 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes #75745, reported by Richard Hult. Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): set/unset
      	GTK_CELL_RENDERER_FOCUSED flag whether the current node is the
      	cursor or not.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
      	if we are rendering a cursor row, and the cell the be
      	processed has focus, then set the GTK_CELL_RENDERER_FOCUSED
      	flag (else we unset it).
      c3789891
  7. 28 Apr, 2003 1 commit
  8. 17 Apr, 2003 1 commit
  9. 07 Apr, 2003 1 commit
  10. 26 Mar, 2003 1 commit
  11. 11 Mar, 2003 1 commit
  12. 03 Mar, 2003 1 commit
    • Jonathan Blandford's avatar
      handle rtl code. · 0d93b643
      Jonathan Blandford authored
      Sun Mar  2 23:35:57 2003  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
      	handle rtl code.
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto
      
      	* gtk/gtktreeview.c: (invalidate_column),
      	(invalidate_last_column),
      	(gtk_tree_view_get_real_requested_width_from_column),
      	(gtk_tree_view_size_allocate_columns),
      	(gtk_tree_view_size_allocate), (gtk_tree_view_button_press),
      	(gtk_tree_view_button_release_drag_column),
      	(gtk_tree_view_update_current_reorder),
      	(gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose),
      	(gtk_tree_view_key_press), (gtk_tree_view_header_focus),
      	(gtk_tree_view_get_background_xrange),
      	(gtk_tree_view_get_arrow_xrange),
      	(gtk_tree_view_is_expander_column),
      	(gtk_tree_view_set_column_drag_info),
      	(gtk_tree_view_move_cursor_left_right):
      	Add RTL support.
      
      	* gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an
      	expand flag.
      
      	* gtk/gtktreeviewcolumn.c:
      	(gtk_tree_view_column_class_init),
      	(gtk_tree_view_column_set_property),
      	(gtk_tree_view_column_get_property),
      	(gtk_tree_view_column_set_expand),
      	(gtk_tree_view_column_get_expand),
      	(gtk_tree_view_column_cell_process_action):
      	Add support for expand flag
      0d93b643
  13. 05 Feb, 2003 1 commit
  14. 27 Jan, 2003 1 commit
  15. 14 Jan, 2003 2 commits
  16. 19 Dec, 2002 1 commit
    • Kristian Rietveld's avatar
      the rand variable should be static to avoid conflicts with rand(). · 4a19c3da
      Kristian Rietveld authored
      Thu Dec 19 03:58:36 2002  Kristian Rietveld  <kris@gtk.org>
      
              * tests/testtreeflow.c: the rand variable should be static to
              avoid conflicts with rand(). (#100844, reported by Soeren Sandmann,
              fix pointed out by Matthias Clasen).
      
      Thu Dec 19 03:56:23 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we
              started editing, we handled this key signal, so return TRUE.
              (#100532, reported by Soeren Sandmann).
      4a19c3da
  17. 10 Dec, 2002 2 commits
    • Kristian Rietveld's avatar
      x can be in the range [0, upper], which can be bigger than [0, page_size]. · bfb45391
      Kristian Rietveld authored
      Tue Dec 10 02:14:12 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): x can be in
              the range [0, upper], which can be bigger than [0, page_size].
              (Fixed #99778, reported and testcase provided by Carlos Garnacho
              Parro).
      bfb45391
    • Kristian Rietveld's avatar
      implement a working use_align = FALSE implementation (also mentioned in · 5fb6d3b8
      Kristian Rietveld authored
      Tue Dec 10 01:58:43 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (validate_visible_area): implement a working
              use_align = FALSE implementation (also mentioned in #91335, reported
              by Juri Pakaste).
      
              * gtk/gtktreeview.c (validate_visible_area): only free the
              scroll_to_path if we are done with validating (fixes #93584, reported
              and testcase provided by Erik Simonsen).
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
              set the GTK_CELL_RENDERER_FOCUSED flag where appropriate. (fixes
              #75745, reported by Richard Hult).
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_position):
              initialize cellinfo to NULL to silence the compiler.
      5fb6d3b8
  18. 28 Nov, 2002 1 commit
  19. 26 Nov, 2002 1 commit
    • Kristian Rietveld's avatar
      add a gtk_list_store_sort_iter_changed line for some special case ... · a09f497c
      Kristian Rietveld authored
      Tue Nov 26 22:26:04 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtk{tree,list}store.c (gtk_{tree,list}_store_real_set_value):
              add a gtk_list_store_sort_iter_changed line for some special
              case ... (#96647 (issue 1), testcases from Soeren Sandmann and
              Daniel Elstner).
      
      Tue Nov 26 22:18:06 2002  Kristian Rietveld  <kris@gtk.org>
      
              Inconsistent state for toggle renderers, requested by Paolo Bacchilega
              in #88130.
      
              * gtk/gtktreeprivate.h: move GtkCellRendererInfo here.
      
              * gtk/gtkcellrenderer.c: moved GtkCellRendererInfo away,
              fix some indentation issues.
      
              * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init),
              (gtk_cell_renderer_toggle_set_property),
              (gtk_cell_renderer_toggle_get_property),
              (gtk_cell_renderer_toggle_render): add an inconsistent property.
      
              * gtk/gtkstyle.c (gtk_default_draw_check),
              (gtk_default_draw_option): support drawing inconsistent
              options/checks for cells.
      
      Tue Nov 26 22:14:14 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done),
              (gtk_cell_renderer_text_start_editing): add a focus_out_id to avoid
              calling _editing_done twice (which has nasty side-effects). (#96647,
              (issue 2) testcase from Soeren Sandmann).
      
      Tue Nov 26 22:12:21 2002  Kristian Rietveld  <kris@gtk.org>
      
              #82739, patch from Padraig O'Briain.
      
              * gtk/gtktreeviewcolumn.[ch]: add
              gtk_tree_view_column_cell_get_position()
      
      Tue Nov 26 22:06:29 2002  Kristian Rietveld  <kris@gtk.org>
      
              Yes, this chunk breaks ABI compatibility. Owen knows about it and
              agreed with it. It doesn't break ABI that bad though, things will
              still work. Please keep it silent :P.
      
              This patch fixes some keynav issues reported by Narayana Pattipati
              in #81633. (Also mentioned in #92037 (Sun tracking bug)).
      
              * gtk/gtkmarshalers.list: add two silly marshalers
      
              * gtk/gtktreeview.[ch] (gtk_tree_view_real_select_all),
              (gtk_tree_view_real_unselect_all),
              (gtk_tree_view_real_select_cursor_row),
              (gtk_tree_view_real_toggle_cursor_row),
              (gtk_tree_view_real_expand_collapse_cursor_row),
              (gtk_tree_view_real_start_interactive_search): change the return
              type from void to gboolean, update prototypes, functions, signals and
              entries in GtkTreeViewClass,
              (gtk_tree_view_class_init): add select_cursor_row binding for
              enter key,
              (gtk_tree_view_key_press): only navigate the header button if the
              header is also visible ...
      
      Tue Nov 26 22:05:48 2002  Kristian Rietveld  <kris@gtk.org>
      
              API bit of #75745, reported by Richard Hult.
      
              * gtk/gtkcellrenderer.h (GtkCellRendererState): add
              GTK_CELL_RENDERER_FOCUSED, rest of this bug fix will follow later.
      a09f497c
  20. 21 Nov, 2002 1 commit
  21. 20 Nov, 2002 1 commit
    • Kristian Rietveld's avatar
      return a value in the range of [-1, 1] instead [0, 1], · 83e9cd53
      Kristian Rietveld authored
      Wed Nov 20 19:29:50 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtkrbtree.c (gtk_rbtree_reorder_sort_func): return a value
              in the range of [-1, 1] instead [0, 1],
              (gtk_rbtree_reorder_invert_func): ditto,
              This makes treeview reordering working on platforms as FreeBSD and
              solaris, thanks go to Heiner Eichmann for finding this out and
              sending in a patch (#98251).
      
      Wed Nov 20 19:27:07 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreestore.c (node_free): only free the data list if
              node->data is not NULL,
              (gtk_tree_store_remove): free the data list from the node if
              needed. (#94728, pointed out by Peter Bloomfield).
      
      Wed Nov 20 19:23:13 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_remove_column): stop editing
              and set the edited_column to NULL if edited_column is set.
              (#91288, modified patch from Josh Parsons).
      
      Wed Nov 20 19:20:34 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_size_allocate): do a full
              redraw if vadjustment->value is bigger than tree_view->priv->height,
              (gtk_tree_view_row_deleted): free the row ref if it isn't valid
              anymore. (#83726, reported by Robert Kinsella).
      83e9cd53
  22. 18 Nov, 2002 1 commit
    • Kristian Rietveld's avatar
      modify and free tmp instead of path ... (patch from #97927). · b977d5af
      Kristian Rietveld authored
      Mon Nov 18 20:42:27 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_expand_to_path): modify and
              free tmp instead of path ... (patch from #97927).
      
      Mon Nov 18 20:31:20 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
              only _set_text if celltext->text is not NULL. (#97815, reported
              and testcase provided by Vitaly Tishkov).
      
      Mon Nov 18 20:28:28 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
              also update the anchor_path, makes behaviour consistent with the
              other selection modification functions. (#96801, reported and
              testcase provided by Vitaly Tishkov).
      
      Mon Nov 18 20:17:56 2002  Kristian Rietveld  <kris@gtk.org>
      
              Hrm, this fixes up lots of mistakes in my swap/move code ... Some
              of these mistakes where pointed out by Vitaly Tishkov in bugs
              #97403, #97404, #97412, #97618.
      
              * gtktreestore.[ch]: gtk_tree_store_move is now private, use
              gtk_tree_store_move_{before,after} instead now. Lots of fixes
              (more like a rewrite :) in the _move and _swap functions.
      
              * gtkliststore.[ch]: likewise.
      b977d5af
  23. 27 Oct, 2002 1 commit
    • Kristian Rietveld's avatar
      This fixes a scrolling bug. Shouldn't cause problems, but you never know · ca633e17
      Kristian Rietveld authored
      Sun Oct 27 15:58:30 2002  Kristian Rietveld  <kris@gtk.org>
      
              This fixes a scrolling bug. Shouldn't cause problems, but you
              never know ... (#81627, testcase by Timo Sirainen).
      
              * gtk/gtktreeview.c (validate_visible_area): add a temporary
              implemention for non use_align, always update dy and ->top_row
              if we scroll here,
              (gtk_tree_view_clamp_node_visible): reimplement using
              _scroll_to_cell (#73895).
      ca633e17
  24. 22 Oct, 2002 1 commit
    • Kristian Rietveld's avatar
      Another feature to create truly ugly TreeViews!: style properties for the · ecb42dc7
      Kristian Rietveld authored
      Wed Oct 23 01:03:43 2002  Kristian Rietveld  <kris@gtk.org>
      
              Another feature to create truly ugly TreeViews!: style properties
              for the even/odd colors used for row hinting. (#71595, reported
              by Owen Taylor).
      
              * gtk/gtktreeview.c (gtk_tree_view_class_init): add even_row_color
              and odd_row_color style properties.
      
              * gtk/gtkstyle.c (get_darkened_gc): support darken_count == 0 case,
              (gtk_default_draw_flat_box): rework cell coloring code to support
              user-provided even/odd row colors.
      
      Wed Oct 23 01:01:52 2002  Kristian Rietveld  <kris@gtk.org>
      
              Cache signal IDs to speed up signal emission. This is a good speedup
              because GtkTreeModel emits a big number of signals.
      
              * gtk/gtktreemodel.c (gtk_tree_model_base_init): save IDs returned
              by g_signal_new,
              (gtk_tree_model_row_changed): use g_signal_emit instead of
              g_signal_emit_by_name,
              (gtk_tree_model_row_inserted): ditto,
              (gtk_tree_model_row_has_child_toggled): ditto,
              (gtk_tree_model_row_deleted): ditto,
              (gtk_tree_model_rows_reordered): ditto.
      
      Wed Oct 23 00:56:15 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeselection.c (model_changed): new function,
              (gtk_tree_selection_selected_foreach): monitor changes in the model,
              bail out if the model has been changed from the foreach func.
              (#50263, reported by Havoc Pennington).
      
              * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
              free anchor if applicable (#94868, reported and testcase provided by
              Daniel Elstner).
      ecb42dc7
  25. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · c77265d3
      Manish Singh authored
      Sun Oct 13 12:29:15 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcolorsel.[ch] gtk/gtkcombo.[ch] gtk/gtkplug.[ch]
              gtk/gtksocket.[ch] gtk/gtktreeview.[ch] gtk/gtktreeviewcolumn.[ch]:
              Deprecation cleanup
      
              * gtk/gtkcolorseldialog.c: make window not resizable (lost
              accidently in the previous cleanup)
      c77265d3
  26. 07 Oct, 2002 1 commit
    • Owen Taylor's avatar
      - Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks, · 253458ec
      Owen Taylor authored
      Mon Oct  7 15:10:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.[ch] gdk/gdkinternals.h
              gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c
              gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c:
      
              - Replace GdkPointerHooks with a multihead-safe
                GdkDisplayPointerHooks, leave GdkPointerHooks
                around for singlehead.
              - Add gdk_display_get_pointer() to get the pointer
                location with the screen it is on.
      
              * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]:
              Change gdk_screen_get_window_at_pointer() to
              gdk_display_get_window_at_pointer().
      
              * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c
              tests/testgtk.c: Use gdk_display_get_window_at_pointer(),
              not gdk_screen_get_window_at_pointer().
      
              * gtk/gtkcolorsel.c: Fix grabbing color to be multihead
              safe.
      
              * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL).
              since it is useful for writing code that doesn't
              know the dcurrent state but needs a clean colormap.
      
              * gtk/gtkrc.c: When loading the settings for a particular
              screen, only reset toplevels on that screen.
      
              * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE
              that should have been #ifndef GTK_MULTIHEAD_SAFE.
      253458ec