1. 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
  2. 22 Feb, 2002 1 commit
    • Matthias Clasen's avatar
      s/columns/rows/ in docs. (#70199) · 6b11e5cf
      Matthias Clasen authored
      	* gtk/gtktreeview.c (gtk_tree_view_set_reorderable):
      	s/columns/rows/ in docs.  (#70199)
      
      	* gtk/gtktreestore.c (gtk_tree_store_insert): s/before/after/ in
      	docs. (#71852, #68405)
      
      	* gtk/gtkcalendar.c (gtk_calendar_select_day): Correct a comment.
      
      	* gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkimage.sgml: s/%d/%%d/ in
      	examples.  (#71479)
      
      	* gtk/tmpl/gtkmenu.sgml: Document gtk_menu_set_active as
      	quasi-private.  (#69788)
      
      	* gtk/tmpl/gtkcalendar.sgml: Document month as zero-based and
      	selected_day as one-based.  (#57169)
      6b11e5cf
  3. 15 Feb, 2002 1 commit
  4. 31 Jan, 2002 1 commit
  5. 30 Jan, 2002 1 commit
    • Jonathan Blandford's avatar
      only emit the signal if an interesting column changes. · 78d39ef5
      Jonathan Blandford authored
      Wed Jan 30 18:46:14 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_set_valist): only emit the
      	signal if an interesting column changes.
      
      	* gtk/gtktreestore.c: ditto.
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_cursor): change behavior so
      	that it no longer grabs
      78d39ef5
  6. 22 Jan, 2002 2 commits
    • Padraig O'Briain's avatar
      Update last change to prevent core dump · e060f594
      Padraig O'Briain authored
      * gtk/gtktreestore.c (gtk_tree_store_iter_children):
      Update last change to prevent core dump
      e060f594
    • 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
  7. 08 Jan, 2002 1 commit
  8. 08 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Doc markup fix. · 63b4e379
      Matthias Clasen authored
              * gtk/gtkwidget.c: Doc markup fix.
      
              * gtk/gtktreeviewcolumn.c: Markup fixes. (#66447)
      
              * gtk/gtktreestore.c: Typo fixes. (#66445)
      
              * gtk/gtkaccelgroup.c: Misc doc markup. (#66425)
      
              * gtk/gtkclipboard.c (gtk_clipboard_get_owner): Fix reference
              to gtk_clipboard_set_with_owner(). (#66424)
      
              * gtk/tmpl/gtkclipboard.sgml: Fix references to
              get_clipboard_set_with_owner(). (#66424)
      63b4e379
  9. 04 Dec, 2001 1 commit
    • Matt Wilson's avatar
      fixed docs · f27cf774
      Matt Wilson authored
      2001-12-04  Matt Wilson  <msw@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_insert): fixed docs
      f27cf774
  10. 18 Nov, 2001 1 commit
  11. 14 Nov, 2001 1 commit
    • Jonathan Blandford's avatar
      new "model" construct property for language bindings. · 43d46397
      Jonathan Blandford authored
      Tue Nov 13 21:00:59 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): new
      	"model" construct property for language bindings.
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_column_types): New
      	function to let you set the column types of a GtkTreeStore for
      	language bindings.
      
      	* gtk/gtkliststore.c (gtk_list_store_set_column_types): ditto.
      43d46397
  12. 12 Nov, 2001 1 commit
  13. 06 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Add row_draggable() vfunc, and wrapper function. · 57479a86
      Owen Taylor authored
      Mon Nov  5 22:34:29 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
      	Add row_draggable() vfunc, and wrapper function.
      
      	* gtk/gtktreednd.[ch] (struct _GtkTreeDragDestIface): Make
      	row_drop_possible take a GtkSelectionData, rather than
      	model/row pair.
      
      	* gtk/gtktreestore.c gtk/gtkliststore.c: Update for
      	new DND interfaces.
      
      	* gtk/gtktreeview.[ch]: Remove the row_draggable_func
      	location_dropable_func from gtk_tree_view_set_rows_drag_source/dest.
      	and rename them to enable_model_drag_source/dest.
      
      	* gtk/treeviewcolumn.c: Add DND of columns between rows.
      	Still can't drop _to_ the left tree, but other places
      	work.
      
      	* gtk/gtktreeview.c (unset_reorderable): Unset the
      	reorderable property if unset/enable_model_drag_source/dest
      	are called manually.
      
      	* gtk/gtktreestore.c (gtk_tree_store_row_drop_possible):
      	Correct for change in depth count handling.
      
      	* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
      	Pass in a expose area to gtk_tree_view_column_cell_render()
      57479a86
  14. 31 Oct, 2001 1 commit
    • Jonathan Blandford's avatar
      rename gtk_selection_data_set_tree_row, #60218 · d7a97b97
      Jonathan Blandford authored
      Wed Oct 31 16:53:48 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreednd.c (gtk_tree_set_row_drag_data): rename
      	gtk_selection_data_set_tree_row, #60218
      	(gtk_tree_get_row_drag_data): rename
      	gtk_selection_data_get_tree_row, #60218
      
      	* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): Actually
      	get this right, after the third try, #63122.
      d7a97b97
  15. 27 Oct, 2001 1 commit
    • Hans Breuer's avatar
      to simplify parsing for exported functions: - made implementation · e2e69403
      Hans Breuer authored
      2001-10-27  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c
      	  gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c
      	  gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c
      	  gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c
      	  gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c
      	  gtk/gtktreestore.c gtk/gtkvbbox.c :
      	to simplify parsing for exported functions:
      	- made implementation signature static, when the local
      	  prototype already was
      	- put the functions return value on it's own line
      	- added as space between the function name and the
      	  opening bracket
      
      	* gtk/gtk.def : added the remaining exported functions
      e2e69403
  16. 24 Oct, 2001 1 commit
    • Jonathan Blandford's avatar
      Fix docs, #62808 · 74b49141
      Jonathan Blandford authored
      Mon Oct 22 20:07:21 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_prepend): Fix docs, #62808
      74b49141
  17. 22 Oct, 2001 2 commits
  18. 19 Oct, 2001 1 commit
    • Manish Singh's avatar
      correct docs for use_align · a52d7cd4
      Manish Singh authored
      Fri Oct 19 13:44:51 2001  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktreeview.c (gtk_treeview_scroll_to_cell): correct docs
              for use_align
      a52d7cd4
  19. 18 Oct, 2001 1 commit
  20. 09 Oct, 2001 1 commit
  21. 06 Oct, 2001 1 commit
    • Jonathan Blandford's avatar
      improve warning. · 63973ab3
      Jonathan Blandford authored
      Fri Oct  5 20:50:00 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_iter_has_child): improve
      	warning.
      
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): ref and
      	unref nodes, #okay61676
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_sort): we listen
      	to the property; no need to clear the other columns.  Also, we go
      	to 'unsorted' if the model supports it.
      63973ab3
  22. 01 Oct, 2001 2 commits
    • Jonathan Blandford's avatar
      add a finalize and destroy handler. · b41d6acd
      Jonathan Blandford authored
      Mon Oct  1 16:08:23 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_class_init): add a finalize
      	and destroy handler.
      
      	* gtk/gtktreestore.c (gtk_list_store_class_init): ditto, #59963
      
      	* gtk/gtktreeview.h (struct _GtkTreeViewClass): Add
      	'start_editing' flag to select_cursor_row.  Bug spotted by Manish
      	Singh <yosh@gimp.org>.
      b41d6acd
    • Jonathan Blandford's avatar
      change scroll_to_cell delayed code to happen in size_allocate. · 58ed9e8b
      Jonathan Blandford authored
      Mon Oct  1 14:07:02 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): change
      	scroll_to_cell delayed code to happen in size_allocate.
      
      	* gtk/gtkstyle.c (gtk_default_draw_expander): change
      	prelight/normal arrow drawing.
      
      	* gtk/gtktreedatalist.c: Change compare func to use g_utf8_collate
      
      	* gtk/gtktreestore.c: refactor.
      58ed9e8b
  23. 30 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      Make ITERS_PERSIST correct · 916b1610
      Jonathan Blandford authored
      Sun Sep 30 15:11:59 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_remove): Make ITERS_PERSIST correct
      916b1610
  24. 27 Sep, 2001 1 commit
  25. 25 Sep, 2001 1 commit
  26. 24 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Add a compat macro that got lost. · 540f15dc
      Owen Taylor authored
      Mon Sep 24 12:48:25 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtknotebook.h: Add a compat macro that got lost.
      
              * gtk/gtktreestore.c: Doc fixes.
      
              * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix reference
              leak for windows that receive events after being destroyed.
              (#60863, Joshua N. Pritikin)
      
              * gtk/gtktable.c (gtk_table_remove): Use gtk_widget_queue_resize
              rather than gtk_container_queue_resize().
      
              * gtk/{gtkcontainer.c,gtkwidget.c,gtkwindow.c}: _gtk prefix
              gtk_container_queue_resize, gtk_container_queue_resize_widgets,
              gtk_container_child_composite_name. (#60217.)
      540f15dc
  27. 12 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      Rename interface signals to make them more clear. Also, change · fc8304b1
      Jonathan Blandford authored
      Wed Sep 12 19:01:05 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h (struct _GtkTreeModelIface): Rename interface
      	signals to make them more clear.  Also, change ::range_changed to
      	::row_changed.
      	* gtk/gtktreemodel.c: Adjust to interface change
      	* gtk/gtktreemodel.h: ditto
      	* gtk/gtktreemodelsort.c: ditto
      	* gtk/gtktreestore.c: ditto
      	* gtk/gtkliststore.c: ditto
      	* gtk/gtktreeview.c: ditto
      	* tests/testtreecolumns.c: ditto
      	* gtk/gtkmarshal.list: Actually remove a marshaller!
      fc8304b1
  28. 10 Sep, 2001 1 commit
  29. 08 Sep, 2001 1 commit
  30. 04 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      fix initial val for sort column. · 93d8c11e
      Jonathan Blandford authored
      Tue Sep  4 18:13:43 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_init): fix initial val for
      	sort column.
      
      	* gtk/gtktreestore.c (gtk_list_store_init): ditto
      
      	* gtk/gtktreesortable.c: add docs.
      93d8c11e
  31. 03 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      handle default sort feature · 43405a3d
      Jonathan Blandford authored
      Mon Sep  3 18:03:56 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func):
      	handle default sort feature
      
      	* gtk/gtktreesortable.c (gtk_tree_sortable_set_default_sort_func):
      	new function to handle default sort.
      	(gtk_tree_sortable_has_default_sort_func): check if default sort
      	is set.
      
      	* gtk/gtkliststore.c (gtk_list_store_set_default_sort_func):
      	handle default sort feature
      43405a3d
  32. 23 Aug, 2001 1 commit
    • Kristian Rietveld's avatar
      use GtkSortType instead of GtkTreeSortOrder. (#59173). · 7cfc56db
      Kristian Rietveld authored
      Thu Aug 23 20:01:41 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch],
              gtk/gtktreestore.[ch], gtk/gtktreeviewcolumn.[ch],
              gtk/gtkliststore.[ch]: use GtkSortType instead of GtkTreeSortOrder.
              (#59173).
      7cfc56db
  33. 08 Aug, 2001 1 commit
  34. 30 Jul, 2001 1 commit
    • Jonathan Blandford's avatar
      Fix part of #57714. · 09e97cbb
      Jonathan Blandford authored
      Mon Jul 30 01:16:02 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix part of
      	#57714.
      09e97cbb
  35. 18 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Matthias Clasen to remove remove all instances of · 4e2b60ac
      Owen Taylor authored
      Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/*.c: Patch from Matthias Clasen to remove remove
      	all instances of g_return_if_fail (foo != NULL); that are
      	immediately before a g_return_if_fail (GTK_IS_FOO (foo));
      	since the second check catches the NULL anyways.
      4e2b60ac
  36. 09 Jul, 2001 1 commit
  37. 30 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      New function for language bindings. · 95cd4d8e
      Jonathan Blandford authored
      Sat Jun 30 17:13:51 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_newv): New function for
       	language bindings.
      
      	* gtk/gtkteststore.c (gtk_test_store_newv): New function for
       	language bindings.
      95cd4d8e