1. 06 Mar, 2004 1 commit
  2. 01 Mar, 2004 1 commit
  3. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
  4. 18 Dec, 2003 1 commit
    • Kristian Rietveld's avatar
      Fixes #110249, reworked patch from Joshua N Pritikin. · 4d9e9afd
      Kristian Rietveld authored
      Thu Dec 18 19:13:12 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes #110249, reworked patch from Joshua N Pritikin.
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_type),
      	(gtk_tree_model_sort_tree_drag_source_init),
      	(gtk_tree_model_sort_row_draggable),
      	(gtk_tree_model_sort_drag_data_get),
      	(gtk_tree_model_sort_drag_data_delete): implement GtkTreeDragSource.
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_type),
      	(gtk_tree_model_filter_tree_drag_source_init),
      	(gtk_tree_model_filter_row_draggable),
      	(gtk_tree_model_filter_drag_data_get),
      	(gtk_tree_model_filter_drag_data_delete): ditto.
      4d9e9afd
  5. 17 Dec, 2003 1 commit
  6. 13 Dec, 2003 1 commit
    • Kristian Rietveld's avatar
      A trick for a faster treeview, step 1. Patch to short circuit · 5f3cde77
      Kristian Rietveld authored
      Sat Dec 13 16:13:27 2003  Kristian Rietveld  <kris@gtk.org>
      
      	A trick for a faster treeview, step 1. Patch to short circuit
      	_build_tree(), inspired by Jonathan (#80868).
      
      	* gtk/gtktreeview.c (gtk_tree_view_init): don't put _IS_LIST in
      	flags by default,
      	(gtk_tree_view_build_tree): don't even try to recurse when the
      	model says that it is a list, remove flag unsetter,
      	(gtk_tree_view_set_model): change flag setting logic.
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags):
      	propagate whether or not the child model has _IS_LIST set.
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_flags):
      	ditto.
      5f3cde77
  7. 15 Aug, 2003 1 commit
    • Kristian Rietveld's avatar
      Merged from stable. · 15885321
      Kristian Rietveld authored
      Fri Aug 15 20:06:42 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_model_sort_row_changed),
      	(gtk_tree_model_sort_level_find_insert),
      	(gtk_tree_model_sort_insert_value): fix off-by-one error.
      	(#109292 continued, patch from Yann Rouillard).
      15885321
  8. 04 Jun, 2003 1 commit
  9. 27 Jan, 2003 1 commit
  10. 28 Nov, 2002 1 commit
  11. 02 Nov, 2002 1 commit
  12. 14 Oct, 2002 1 commit
    • Kristian Rietveld's avatar
      Behaviour change, apply changes if the entry of the editable gets a focus · bd20ab01
      Kristian Rietveld authored
      Tue Oct 15 00:53:14 2002  Kristian Rietveld  <kris@gtk.org>
      
              Behaviour change, apply changes if the entry of the editable gets
              a focus out event (#82405).
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
              new function,
              (gtk_cell_renderer_text_start_editing): stop editing and apply
              changes on focus-out.
      
      Tue Oct 15 00:47:35 2002  Kristian Rietveld  <kris@gtk.org>
      
              Fixes an *evil* GtkTreeModelSort bug, #93629.
      
              * gtk/gtktreemodel.c (release_row_references): return if the
              refs->list is NULL.
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): if we
              are swapping two rows (re-insertion on row_changed), also *emit*
              a rows_reordered signal. oops.
      
      Tue Oct 15 00:45:03 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtkliststore.c (gtk_list_store_remove_silently): free
              the actual link after the node has been removed (#92014).
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_column_finalize):
              free the cell_list and the child if the exists (#92014).
      
      Tue Oct 15 00:40:25 2002  Kristian Rietveld  <kris@gtk.org>
      
              Don't accept drops if the model has been sorted, #93758)
      
              * gtk/gtkliststore.c (gtk_list_store_row_drop_possible): return
              FALSE if the list has been sorted.
      
              * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): check
              if drag_dest is a TreeStore, return FALSE if the tree has been
              sorted.
      
      Tue Oct 15 00:33:59 2002  Kristian Rietveld  <kris@gtk.org>
      
              Compiler warning fixage, (#85858, #85859, #85860, #85872)
      
              * gtk/gtkcellrendererpixbuf (gtk_cell_renderer_pixbuf_render):
              s/guint/GtkCellRendererState/.
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
              ditto.
      
              * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render),
              (gtk_cell_renderer_toggle_activate): ditto.
      
              * gtk/gtkliststore.c (gtk_list_store_get_flags): a
              s/guint/GtkTreeModelFlags/ on the return type.
      bd20ab01
  13. 07 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 55704fc7
      Manish Singh authored
      Mon Oct  7 11:59:33 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkliststore.[ch] gtk/gtktreedatalist.[ch] gtk/gtktreednd.c
              gtk/gtktreemodel.[ch] gtk/gtktreemodelsort.[ch]
              gtk/gtktreeselection.[ch] gtk/gtktreesortable.[ch]
              gtk/gtktreestore.[ch]: Deprecation cleanup
      55704fc7
  14. 05 Jul, 2002 1 commit
    • Jonathan Blandford's avatar
      fix warning. (gtk_tree_view_search_iter): fix warning, #85884 · e05a9660
      Jonathan Blandford authored
      Fri Jul  5 02:50:24 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_collapse_all): fix warning.
      	(gtk_tree_view_search_iter): fix warning, #85884
      
      	* gtk/gtktreestore.c (gtk_tree_store_get_flags): change return
      	value to GtkTreeModelFlags to fix compiler warning, #85883
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags): change
      	return value to GtkTreeModelFlags to fix compiler warning, #85882
      
      	* gtk/gtktreemodel.c (gtk_tree_path_prepend_index): fix compiler
      	warning, #85881
      e05a9660
  15. 04 Jun, 2002 1 commit
    • Kristian Rietveld's avatar
      Discussed in #76249. · f39b189d
      Kristian Rietveld authored
      Tue Jun  4 19:24:41 2002  Kristian Rietveld  <kris@gtk.org>
      
              Discussed in #76249.
      
              * gtk/gtkliststore.[ch]: made gtk_list_store_remove return a gboolean,
              added gtk_list_store_iter_is_valid.
      
              * gtk/gtktreestore.[ch]: made gtk_tree_store_remove return a gboolean,
              added gtk_tree_store_iter_is_valid.
      
              * gtk/gtktreemodelsort.[ch]: added VALID_ITER macro as in liststore
              and treestore sources, added gtk_tree_model_sort_iter_is_valid.
      f39b189d
  16. 24 May, 2002 2 commits
  17. 29 Apr, 2002 1 commit
  18. 24 Apr, 2002 1 commit
  19. 20 Apr, 2002 1 commit
  20. 17 Apr, 2002 1 commit
  21. 01 Apr, 2002 1 commit
    • Kristian Rietveld's avatar
      add check for y > tree_view->priv->height (fixes #76974) · 30896669
      Kristian Rietveld authored
      Mon Apr  1 22:20:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): add
              check for y > tree_view->priv->height (fixes #76974)
      
      Mon Apr  1 22:19:39 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): get
              the stamp changes right this time
      
      Mon Apr  1 22:13:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodel.c (gtk_tree_row_reference_free): only
              disconnect the ref callbacks when model == proxy (Thanks go to
              Manuel Clos Crespo for the remote debugging)
      30896669
  22. 30 Mar, 2002 3 commits
  23. 29 Mar, 2002 1 commit
    • Kristian Rietveld's avatar
      remove call to gtk_tree_model_sort_increment_stamp · 835094b1
      Kristian Rietveld authored
      Fri Mar 29 20:17:35 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
              remove call to gtk_tree_model_sort_increment_stamp
              (gtk_tree_model_sort_sort_level): always increment the stamp
      835094b1
  24. 16 Mar, 2002 1 commit
    • Kristian Rietveld's avatar
      just return when we have an input_only window (fix by Owen Taylor) · bd7678c7
      Kristian Rietveld authored
      Sat Mar 16 23:54:56 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_bit_gravity): just
              return when we have an input_only window (fix by Owen Taylor)
      
              * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add
              scroll_sync_timer
      
              * gtk/gtktreeview.c (install_scroll_sync_handler): new function,
              (scroll_sync_handler): ditto,
              (gtk_tree_view_unrealize): take scroll_sync_timer into account
              (gtk_tree_view_row_deleted): install scroll_sync_timer instead of
              calling top_row_to_dy/dy_to_top_row directly
              -- this greatly speeds up clearing the model (#73199)
      
              * gtk/gtktreemodelsort.c
              (gtk_tree_model_sort_convert_path_to_child_path): fix up this function,
              for some reason I really screwed it up (fixes #74663)
      bd7678c7
  25. 14 Mar, 2002 1 commit
  26. 07 Mar, 2002 1 commit
    • Darin Adler's avatar
      Update offsets before finding where to insert the new value. · 1845cc43
      Darin Adler authored
      	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_insert_value):
      	Update offsets before finding where to insert the new value.
      
      	* gtk/gtktreeview.c: (validate_visible_area): Make sure we redraw when
      	we scroll, instead of just updating the scroll position variables.
      1845cc43
  27. 03 Mar, 2002 1 commit
    • Tim Janik's avatar
      added compile time switch to put the tree views into a hpaned for owen to · f0b58ab8
      Tim Janik authored
      Sun Mar  3 06:39:19 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkfilesel.c: added compile time switch to put the tree views
              into a hpaned for owen to play with.
      
              * gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free):
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func),
              (gtk_tree_view_column_finalize):
              * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func),
              (gtk_tree_store_set_sort_func), (gtk_tree_store_finalize):
              * gtk/gtktreeselection.c (gtk_tree_selection_finalize):
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func),
              (gtk_tree_model_sort_set_default_sort_func),
              (gtk_tree_model_sort_set_sort_func):
              * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_sort_func), (gtk_list_store_finalize):
              add reentrancy protection around destroy() function invocation.
      
              * gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix
              destroy function invocation (which was missing).
      f0b58ab8
  28. 24 Feb, 2002 1 commit
    • Jonathan Blandford's avatar
      at Feb 23 23:00:48 2002 Jonathan Blandford <jrb@redhat.com> · a265926e
      Jonathan Blandford authored
      	* gtk/gtktreemodel.h: add () to function macros as per owen's
      	request.
      
      	* gtk/gtkfontsel.c: (gtk_font_selection_select_best_style),
      	(gtk_font_selection_show_available_sizes),
      	(gtk_font_selection_set_font_name):
      	* gtk/gtktreemodel.c: (gtk_tree_model_get_iter_first),
      	(gtk_tree_model_foreach):
      	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_sort_level),
      	(gtk_tree_model_sort_build_level):
      	* gtk/gtktreeselection.c: (gtk_tree_selection_selected_foreach):
      	* gtk/gtktreeview.c: (validate_visible_area),
      	(gtk_tree_view_focus_to_cursor), (gtk_tree_view_set_model),
      	(gtk_tree_view_map_expanded_rows), (gtk_tree_view_search_move),
      	(gtk_tree_view_search_init):
      	* tests/testtreeview.c: (run_automated_tests): change iter_root
      	to iter_first
      a265926e
  29. 12 Feb, 2002 2 commits
    • Kristian Rietveld's avatar
      emit row_deleted before we start unreffing the nodes ourselves · 67051d64
      Kristian Rietveld authored
      Tue Feb 12 14:27:41 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): emit
              row_deleted before we start unreffing the nodes ourselves
              (gtk_tree_model_sort_increment_stamp): always increment the stamp,
              and not only if the stamp equals 0 (pointed out by Darin Adler)
      
              * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): we want
              to continue the while loop and not the nested for loop.
      67051d64
    • Darin Adler's avatar
      Consider reordering the row even when there's no sort column, if there's a · c823b8f6
      Darin Adler authored
              * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_row_changed):
              Consider reordering the row even when there's no sort column, if
              there's a default sort function.
              (gtk_tree_model_sort_rows_reordered): Use symbolic constants.
              (gtk_tree_model_sort_level_find_insert): Add code to handle the
              case where there is no sort column, but a default sort function.
              (gtk_tree_model_sort_insert_value): Add code to handle the case
              where there is no sort column an no default sort function.
              (gtk_tree_model_sort_set_model): Use symbolic constant.
              (gtk_tree_model_sort_reset_default_sort_func): Use symbolic constant.
      c823b8f6
  30. 09 Feb, 2002 2 commits
  31. 08 Feb, 2002 1 commit
  32. 06 Feb, 2002 1 commit
  33. 22 Jan, 2002 1 commit
    • Kristian Rietveld's avatar
      add some more stamp checks (pointed out by Anders Carlsson) · f0c42465
      Kristian Rietveld authored
      Mon Jan 21 01:21:54 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreestore.c: add some more stamp checks (pointed out
              by Anders Carlsson)
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_insert_value): don't
              assume _row_changed will insert sort (because _row_changed doesn't
              need to follow this signal), so apply insert sort here
              (gtk_tree_model_sort_level_find_insert): header doesn't need to be
              set here, so use a return instead of g_return_val_if_fail.
      f0c42465
  34. 15 Jan, 2002 1 commit
  35. 13 Jan, 2002 1 commit
    • Kristian Rietveld's avatar
      various cleanups, (get_child_iter_from_elt): removed, · 86f07fb5
      Kristian Rietveld authored
      Sun Jan 13 01:15:45 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c: various cleanups,
              (get_child_iter_from_elt): removed,
              (gtk_tree_model_sort_elt_get_path): rewritten to be a lot cleaner
              and especially faster,
              (gtk_tree_model_convert_iter_to_child_iter): use
              gtk_tree_model_sort_elt_get_path
      86f07fb5