1. 06 Mar, 2004 1 commit
  2. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 37278865
      Manish Singh authored
      Sun Oct 13 16:20:41 2002  Manish Singh  <yosh@gimp.org>
      
              * tests/pixbuf-randomly-modified.c tests/prop-editor.c
              tests/testcalendar.c tests/testdnd.c tests/testgtk.c tests/testinput.c
              tests/testmultidisplay.c tests/testmultiscreen.c tests/testrgb.c
              tests/testselection.c tests/testsocket.c tests/testsocket_common.c
              tests/testtext.c tests/testtextbuffer.c tests/testtreecolumns.c
              tests/testtreeedit.c tests/testtreeflow.c tests/testtreefocus.c
              tests/testtreesort.c tests/testtreeview.c tests/testxinerama.c
              tests/treestoretest.c: Deprecation cleanup
      
              * tests/Makefile.am: Added disable deprecation flags
      37278865
  3. 24 Oct, 2001 1 commit
    • Kristian Rietveld's avatar
      more changes in an attempt to get it right. It's not yet ready for general · beaba6a4
      Kristian Rietveld authored
      Wed Oct 24 20:29:47 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreemodelsort.c: more changes in an attempt to get
              it right. It's not yet ready for general consumption.
      
              * tests/treestoretest.c: add a button and entry for the new
              iter_change function
              (iter_change): new function, to test
              the row_changed signal implementation of the GtkTreeModelSort
      
              * tests/testtreesort.c: cleanups, changes to test more features
              of the GtkTreeModelSort at once
      beaba6a4
  4. 27 Aug, 2001 1 commit
    • Jonathan Blandford's avatar
      Fix to use GtkSelectionMode. ditto ditto ditto. · 5d9166f1
      Jonathan Blandford authored
      Mon Aug 27 15:28:56 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* tests/testtreefocus.c (main): Fix to use GtkSelectionMode.
      	* tests/treestoretest.c (make_window): ditto
      	* demos/gtk-demo/main.c (create_tree): ditto
      	* demos/gtk-demo/stock_browser.c (do_stock_browser): ditto.
      5d9166f1
  5. 19 Aug, 2001 2 commits
    • Sven Neumann's avatar
      gtk/gtktooltips.c tests/testtreesort.c inserted some casts to get rid of · dedfce8a
      Sven Neumann authored
      2001-08-19  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtktooltips.c
      	* tests/testtreesort.c
      	* tests/treestoretest.c: inserted some casts to get rid of compiler
      	warnings.
      dedfce8a
    • Jonathan Blandford's avatar
      Sun Aug 19 01:44:44 2001 Jonathan Blandford <jrb@redhat.com>> · 112eb9b2
      Jonathan Blandford authored
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_pack_{start,end}_cell_renderer): sink cell.
      
      	* gtk/gtktreeview.c (gtk_tree_view_insert_column): sink column.
      	(_gtk_tree_view_find_node): If *node is NULL,
      	*tree should be NULL too.
      
      	* demos/gtk-demo/stock_browser.c (do_stock_browser): don't unref
      	column/renderers.
      	* tests/testtreecolumns.c: ditto
      	* tests/testtreefocus.c: ditto
      	* tests/testtreesort.c: ditto
      	* tests/testtreeview.c: ditto
      	* tests/treestoretest.c: ditto
      112eb9b2
  6. 18 Jul, 2001 1 commit
    • Darin Adler's avatar
      Ignore the sgml directory made by gtkdoc. Use gtk_window_set_resizable · 03496763
      Darin Adler authored
      	* .cvsignore: Ignore the sgml directory made by gtkdoc.
      	* demos/pixbuf-demo.c: (main): Use gtk_window_set_resizable
      	instead of the deprecated gtk_window_set_policy.
      	* demos/testpixbuf-scale.c: Add missing <stdlib.h> include.
      	* gdk/gdkkeys.c: (gdk_keymap_class_init): Remove empty finalize
      	function to get rid of warning and some code too.
      	* gdk/x11/gdkfont-x11.c: (gdk_font_charset_for_locale): Add
      	missing const.
      	* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init_check): Remove
      	unused local.
      	* gdk/x11/gdkpango-x11.c: (gdk_pango_context_get): Add missing
      	const.
      	* gdk/x11/gdkselection-x11.c: (gdk_text_property_to_utf8_list),
      	(gdk_utf8_to_compound_text): Add missing const.
      	* gtk/gtkimage.c: (gtk_image_expose): Remove unused local.
      	* gtk/gtkmenubar.c: (gtk_menu_bar_hierarchy_changed): Add missing
      	cast and get rid of an unnecessary one.
      	* gtk/gtksettings.c: (gtk_settings_notify): Remove unused local.
      	* gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate): Remove unused
      	local.
      	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_build_level):
      	Remove unused local.
      	* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_new): Add
      	missing const.
      	* tests/testsocket.c: (add_child): Add cast so the printf format
      	doesn't make us implicitly depend on what integer type
      	gtk_socket_get_id returns.
      	* tests/testtextbuffer.c: Add missing const.
      	* tests/testtreefocus.c: (main): Remove unused local.
      	* tests/treestoretest.c: (iter_remove): Remove unused local.
      	(uppercase_value): Remove unused function.
      	(make_window): Add statement to quiet the compiler's uninitialized
      	variable warning.
      03496763
  7. 30 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      changed new_with_types to just plain new, fixing the number of columns, · ee5ff7dd
      Jonathan Blandford authored
      Fri Jun 29 22:13:28 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_new): changed new_with_types
      	to just plain new, fixing the number of columns, and column types
      	at creation time.
      
      	* gtk/gtkliststore.c (gtk_list_store_new): ditto.
      
      	* gtk/gtkcellrenderertext.c
      	(gtk_cell_renderer_text_set_fixed_height_from_font): FIX the
      	height to a specific font.
      
      	* gtk/gtktreeview.c (gtk_tree_view_is_expander_column): fix brokenness.
      
      	* tests/*c: change to work with new store models.
      ee5ff7dd
  8. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      fixes to compile with G_DISABLE_COMPAT · 49c1e6dc
      Havoc Pennington authored
      2001-06-29  Havoc Pennington  <hp@redhat.com>
      
             * Throughout: fixes to compile with G_DISABLE_COMPAT
      	(s/g_signal_connectc/g_signal_connect/,
      	s/g_signal_newc/g_signal_new/,
      	s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
      49c1e6dc
  9. 27 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      New function to reflect that you can (hypothetically) pack cell renderers · 8eaa0716
      Jonathan Blandford authored
      Wed Jun 27 19:40:31 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_pack_start_cell_renderer): New function to
      	reflect that you can (hypothetically) pack cell renderers into a
      	column.
      	(gtk_tree_view_column_pack_end_cell_renderer): ditto.
      	(gtk_tree_view_column_cell_is_visible): Move more functionality to
      	the column.
      	(gtk_tree_view_column_cell_can_focus): Move more functionality to
      	the column.
      
      	* gtk/gtktreeview.c: Move to use new column-packing code.
      	(gtk_tree_view_real_expand_row): remove	totally braindead code.
      	(gtk_tree_view_real_collapse_row): ditto.
      8eaa0716
  10. 18 Jun, 2001 1 commit
  11. 15 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      Rename gtk_tree_sortable_sort_column_id_set_func. It's much shorter now. · 67f8b5bd
      Jonathan Blandford authored
      
      Fri Jun 15 18:53:48 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): Rename
      	gtk_tree_sortable_sort_column_id_set_func.  It's much shorter now.
      	* gtk/gtktreeview.c (gtk_tree_view_sort_iter_changed): WOOO!!!
      	Now I can really reorder/sort all Store widgets.  treesorttest
      	seems to just work now.
      	* gtk/gtklistview.c (gtk_list_store_iter_changed): Whoops.
      	testtreesort worked through a big coincidence all this time.
      	* gtk/gtkrbtree.c (_gtk_rbtree_reorder): Nasty bug fix in nasty
      	code.
      	* tests/testtreecolumns.c: Big 'ol warning at the top letting
      	people know that this code should never ever ever be copied.
      
      HA!
      
      While everyone else was busy flaming eash other over configuration
      engines, I secretly got sorting completely working with store widgets
      and GtkTreeView.  GtkTreeModelSort, here I come!!!!!
      67f8b5bd
  12. 14 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      Whoops. Forgot this a couple months ago. Now GtkTreeStore sort of sorts. · 426ac9c6
      Jonathan Blandford authored
      Thu Jun 14 19:21:27 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops.  Forgot
      	this a couple months ago.  Now GtkTreeStore sort of sorts.  I'll
      	finish it off tonight, though it basically works now when it's a
      	list.  Also, I have a sinking feeling neither GtkTreeStore or
      	GtkListStore actually resort when adding a new item.  I'll look
      	into it.
      426ac9c6
  13. 07 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      Now it's a GObject instead of a GtkObject. The · 59444d85
      Jonathan Blandford authored
      Thu Jun  7 18:25:42 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeselection.c: Now it's a GObject instead of a
      	GtkObject.  The GtkTreeSelection::selection_changed signal is now
      	the GtkTreeSelection::changed signal.
      
      	* gtk/gtktreeview.c: Modified to deal with new GtkTreeSelection
      	object.
      
      	* tests/gtktree*.c: Modified to deal with new GtkTreeSelection
      	object.
      59444d85
  14. 08 Mar, 2001 1 commit
    • Tim Janik's avatar
      added accumulator data argument to g_signal_newc() functions. · 06718ecf
      Tim Janik authored
      Thu Mar  8 16:51:21 2001  Tim Janik  <timj@gtk.org>
      
              * *.c: added accumulator data argument to g_signal_newc()
              functions.
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model):
              * gtk/gtktreeview.c (gtk_tree_view_setup_model):
              * gtk/treestoretest.c (make_window):
              s/g_signal_connect/g_signal_connectc/.
      
              * gtk/gtktextbuffer.c: completed signal arg fixups,
              they also needed G_SIGNAL_TYPE_STATIC_SCOPE flag.
      06718ecf
  15. 02 Mar, 2001 1 commit
    • Jonathan Blandford's avatar
      Move handling of buttons fully in gtktreeviewcolumn. This code is less · 193bed18
      Jonathan Blandford authored
      Thu Mar  1 19:50:56 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
      	Move handling of buttons fully in gtktreeviewcolumn.  This code is
      	less interrelated then it was, but it still requires the
      	GtkTreeView to map it.
      
      	* test/testtreecolumn.c: Now I can add a column to one view,
      	remove it, add it to the another view, remove it, then re-add it
      	to the first.  Nifty.
      193bed18
  16. 20 Feb, 2001 1 commit
    • Alexander Larsson's avatar
      Add a "markup" property. · 699c9334
      Alexander Larsson authored
      2001-02-20  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkcellrenderertext.[ch]:
      	Add a "markup" property.
      
      	* gtk/treestoretest.c:
      	Use the markup property, remove some leftover stuff from
      	GtkTreeModelMapping.
      699c9334
  17. 17 Feb, 2001 1 commit
    • Jonathan Blandford's avatar
      removed gtk_*_store_get, and moved to GtkTreeModel. · b10825d5
      Jonathan Blandford authored
      Fri Feb 16 17:49:59 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.[hc], gtk/gtkliststore.[ch]: removed
      	gtk_*_store_get, and moved to GtkTreeModel.
      
      	* gtk/gtktreemodel.h (gtk_tree_model_set{v,}): Added
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_finalize): added.
      
      	* gtk/Makefile.am: remove gtktreemodelmapping.[ch]
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_func): let you
      	set the func.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data):
      	freeze/thaw notify between setting all the properties for a cell.
      
      	* gtk/gtk.h: remove gtktreemodelsimple.h, and gtktreemodelmapping.h
      b10825d5
  18. 16 Feb, 2001 1 commit
    • Alexander Larsson's avatar
      New files. Implement GtkTreeModelMapping. · 29f16cc6
      Alexander Larsson authored
      2001-02-16  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtktreemodelmapping.[ch]:
      	New files. Implement GtkTreeModelMapping.
      
      	* gtk/Makefile.am:
      	Add gtktreemodelmapping.[ch].
      
      	* gtk/gtk.h:
      	Add gtktreemodelmapping.h
      
      	* gtk/treestoretest.c:
      	Test the GtkTreeModelMapping
      29f16cc6
  19. 04 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      Rename some stuff: · c020b3b4
      Havoc Pennington authored
      2001-01-04  Havoc Pennington  <hp@redhat.com>
      
              Rename some stuff:
      
      	s/gtk_tree_view_column_set_size/gtk_tree_view_column_set_width/g;
      
      	s/GtkModelSimple/GtkTreeModelSimple/g;
      	s/GTK_MODEL_SIMPLE/GTK_TREE_MODEL_SIMPLE/g;
      	s/gtk_model_simple/gtk_tree_model_simple/g;
      	s/gtkmodelsimple/gtktreemodelsimple/g;
      
      	s/gtk_tree_view_column_set_header_active/gtk_tree_view_column_set_header_clickable/g;
      
      	s/GtkTreeViewColumnType/GtkTreeViewColumnSizing/g;
      	s/column_set_col_type/column_set_sizing/g;
      
      	s/GtkTreeSelectionType/GtkTreeSelectionMode/g;
      	s/gtk_tree_selection_set_type/gtk_tree_selection_set_mode/g;
      
      	s/GtkCellRendererType/GtkCellRendererState/g;
      
      	* gtk/gtkcellrenderertoggle.c: remove _ macro, include gtkintl.h
      	(gtk_cell_renderer_toggle_class_init): change "state" property to
      	"active", to match GtkToggleButton
      	(gtk_cell_renderer_toggle_get_active): new function, bug
      	40269
      	(gtk_cell_renderer_toggle_set_active): new function
      	(gtk_cell_renderer_toggle_set_property): route changes to toggle
      	state through gtk_cell_renderer_set_active
      c020b3b4
  20. 21 Dec, 2000 1 commit
    • Jonathan Blandford's avatar
      :get_property): remove g_value_init calls, as they are no longer needed. · dadf966b
      Jonathan Blandford authored
      2000-12-20  Jonathan Blandford  <jrb@redhat.com>
      
      	    * gtk/gtkcellrenderer*.c (::get_property): remove
                    g_value_init
      	      calls, as they are no longer needed.
      
      	      * gtk/gtktreemodelsort.c: Fix up the comparison code.
      
      	      * gtk/gtktreemodel.h: Start work on ::reordered signal.
      	      Need to
      	      figure out how to emit a signal on an interface.
      dadf966b
  21. 22 Nov, 2000 1 commit
  22. 21 Nov, 2000 1 commit
  23. 10 Nov, 2000 1 commit
    • Jonathan Blandford's avatar
      use the new BOXED marshallers. · f8faec45
      Jonathan Blandford authored
      Fri Nov 10 12:10:34 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_model_simple_class_init): use the new
      	BOXED marshallers.
      
      	* gtk/gtkliststore.c (gtk_list_store_get_column_type): Add this.
      	(gtk_list_store_class_init): use the new BOXED marshallers.
      
      	* gtk/gtktreestore.c (gtk_tree_store_new_with_types): change
      	new_with_values to new_with_types.
      	(gtk_tree_store_get_column_type): add this.
      	(gtk_tree_store_class_init): use the new BOXED marshallers.
      
      	* gtk/gtkmarshal.list: Added a number of BOXED marshallers to
      	mirror some POINTER marshallers.
      f8faec45
  24. 09 Nov, 2000 1 commit
    • Jonathan Blandford's avatar
      added more fields to allow more interesting iterators. Also, made the · c97d57eb
      Jonathan Blandford authored
      Thu Nov  9 11:23:22 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h (struct _GtkTreeIter): added more fields to
      	allow more interesting iterators.  Also, made the lifecycle of
      	iterators more explicit.
      
      	* gtk/gtktreemodelsort.[ch]: New model for sorting.
      
      	* gtk/gtk-boxed.defs (GtkTreeIter, GtkTreePath): Added two boxed
      	types.
      c97d57eb
  25. 27 Oct, 2000 1 commit
  26. 26 Oct, 2000 1 commit
    • Jonathan Blandford's avatar
      Got rid of GtkTreeNode, and changed it to GtkTreeIter. Added iterators · ef7b510f
      Jonathan Blandford authored
      Wed Oct 25 20:40:25 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h: Got rid of GtkTreeNode, and changed it to
      	GtkTreeIter.  Added iterators everywhere.
      
      	* gtk/gtktreeviewcolumn.c: Changed to use the iterators.
      
      	* gtk/gtktreeviewselection.c: Changed to use the iterators.
      
      	* gtk/gtktreestore.c: Changed to use the iterators.
      
      	* gtk/gtkliststore.c: Commented out the code.  Will convert to
      	iterators tomorrow.
      
      	* gtk/gtkmodelsimple.c: Commented out the code.  Will convert to
      	iterators tomorrow.
      
      	* gtk/treestoretest.c: Changed to use iterators.
      
      	* demos/testgtk/main.c: Moved to use the new iterator system.
      ef7b510f
  27. 16 Oct, 2000 1 commit
  28. 06 Oct, 2000 1 commit
  29. 05 Oct, 2000 1 commit