1. 04 Dec, 2002 1 commit
  2. 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
  3. 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
  4. 07 Oct, 2002 1 commit
    • Manish Singh's avatar
      deprecation cleanup · 28def5e4
      Manish Singh authored
      Sun Oct  6 18:32:11 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcelleditable.c gtk/gtkcellrenderer.[ch]
              gtk/gtkcellrendererpixbuf.[ch] gtk/gtkcellrenderertext.[ch]
              gtk/gtkcellrenderertoggle.[ch]: deprecation cleanup
      28def5e4
  5. 04 Jun, 2002 1 commit
    • Daniel Elstner's avatar
      [ merge from stable ] · ba8f8b4d
      Daniel Elstner authored
      2002-06-04  Daniel Elstner  <daniel.elstner@gmx.net>
      
      [ merge from stable ]
      
      * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): Really fix #83796: Revert jrb's last patch, and move the second if-clause into the fist one's else-branch.  This is also what the other cell renderers do.
      ba8f8b4d
  6. 01 Jun, 2002 1 commit
    • Jonathan Blandford's avatar
      add missing flag, #83796 · fce6c25f
      Jonathan Blandford authored
      Sat Jun  1 10:43:28 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	add missing flag, #83796
      fce6c25f
  7. 21 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Version 1.3.11, interface, binary age 0. · bffb11e1
      Owen Taylor authored
      Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in (GTK_MICRO_VERSION): Version 1.3.11,
      	interface, binary age 0.
      
      	* NEWS: Updates
      
      	* gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
      	fixes in docs.
      
      	* gtk/gtkmain.h: Remove unused and misnamespaced
      	get_gtk_win32_directory() prototype.
      
      	* gdk/gdkimage.c (gdk_image_get): Fix parameter names
      	to match header.
      
      	* gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
      	gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
      	to match docs.
      
      	* gdk/gdkevents.c (gdk_event_get_coords)
      	  gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
      	  gtk/gtkdnd.c (gtk_drag_set_icon_stock):
      	Fix parameter names in docs.
      
      	* docs/faq/Makefile.am (FAQ_FILES): Add missing files.
      	(#64961, Akira Tagoh)
      bffb11e1
  8. 17 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2; · a036c6e5
      Owen Taylor authored
      Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
      	gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
      	only for compatibility with GTK+-1.2; and deprecate it;
      	put all marshalers we actually use into gtkmarshalers.list
      	and use the _gtk_marshal_ prefix for these marshalers.
      a036c6e5
  9. 31 Oct, 2001 2 commits
  10. 28 Oct, 2001 1 commit
    • Matthias Clasen's avatar
      Documentation updates. · c27900c3
      Matthias Clasen authored
              * gtk/gtkcellrenderertoggle.c, gtk/gtkimcontextsimple.c,
              gtk/gtkimmulticontext.c, gtk/gtkimagemenuitem.c,
              gtk/gtkiconfactory.c, gtk/gtkwindow.c: Documentation updates.
      
              * docs/reference/gtk/tmpl/gtkmenuitem.sgml,
              docs/reference/gtk/tmpl/gtkmenu.sgml,
              docs/reference/gtk/tmpl/gtkmenushell.sgml,
              docs/reference/gtk/tmpl/gtkcontainer.sgml,
              docs/reference/gtk/gtk-sections.txt: Updates.
      c27900c3
  11. 27 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      only start editing when you select with a keyboard. · c1745a4b
      Jonathan Blandford authored
      Thu Sep 27 16:46:36 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): only
      	start editing when you select with a keyboard.
      
      	(gtk_tree_view_button_press_event): much more graceful now.
      
      	* gtk/gtkstyle.c: Draw togglebutton better.
      c1745a4b
  12. 25 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      Make a GtkCellEditable (get_widget_window_size): Change to let it honor · 92841cb9
      Jonathan Blandford authored
      Tue Sep 25 12:34:42 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkentry.c: Make a GtkCellEditable
      	(get_widget_window_size): Change to let it honor size_allocate
      	when a CellEditable.
      
      	* gtk/gtktreeview.c: M-x clean-line-ends.  Lots of focus and
      	editable changes.
      	(gtk_tree_view_set_cursor): Now you can set the cursor
      	horizontally, as well as start editing.
      
      	* gtk/gtkstyle.c (gtk_default_draw_check): changing toggle drawing
      	code to look more like the other check buttons.
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
      	Change the way we calculate cell size.
      
      	* gtk/gtkmarshal.list (VOID:STRING,STRING): new marshaller.
      
      	* demos/gtk-demo/sizegroup.c: Add mnemonics.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_size): Fix docs.
      	Fix logic.
      
      	* gtk/gtkcellrenderertext.c: Change to be editable.
      
      	* gtk/gtkcellrenderertoggle.c: Change to be activatable.
      
      	* test/testtreesort.c: Fix misspelling
      
      	* test/testreecolumns.c: Add mnemonics.
      
      	* test/testreeedit.c: New test program.
      92841cb9
  13. 18 Sep, 2001 1 commit
  14. 17 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      Add editable interface. This should be the last big GtkTreeView API · a2516791
      Jonathan Blandford authored
      Mon Sep 17 17:39:52 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcelleditable.[ch]: Add editable interface.  This should
      	be the last big GtkTreeView API change.
      
      	* gtk/gtkcellrenderer.[ch]: Get rid of the "event" vfunc, and
      	replace with "activate" and "start_editing".  Also, added a
      	"can_activate" and "can_edit" property.
      
      	* gtk/gtktreeviewcolumn.c: modify to use above.
      a2516791
  15. 29 Aug, 2001 1 commit
    • Jonathan Blandford's avatar
      change color when the GtkTreeView loses focus. · 97d99169
      Jonathan Blandford authored
      Wed Aug 29 17:28:04 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	change color when the GtkTreeView loses focus.
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
      	ditto.
      
      	* gtk/gtkstyle.c (gtk_default_draw_flat_box): ditto
      97d99169
  16. 25 May, 2001 1 commit
    • Jonathan Blandford's avatar
      Remove almost all instances of GtkCellRenderer in code (all but dnd icon · 710fb020
      Jonathan Blandford authored
      Fri May 25 19:04:17 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_calc_size): Remove almost all
      	instances of GtkCellRenderer in code (all but dnd icon code).
      	Virtualized in GtkTreeViewColumn.  Now I need to move focus in
      	there, and I can do multiple Cells per column.
      
      	* gtk/gtktreeviewcolumn.c: Proxy all cell calls correctly
      
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): fix bug
      	when model was unreffed prior to removing the row reference.
      710fb020
  17. 12 Apr, 2001 1 commit
    • Jonathan Blandford's avatar
      fix a fixme. · 31210813
      Jonathan Blandford authored
      Sun Apr  8 05:36:06 2001  Jonathan Blandford  <jrb@webwynk.net>
      
              * gtk/gtktextview.c (gtk_text_view_class_init): fix a fixme.
      
              * gtk/gtkcellrendertoggle.c: change GTK_TYPE_POINTER to
              GTK_TYPE_STRING.
      
              * gtk/gtktreeview.c: New functions to allow initial column
              dragging work.
      
              * gtk/gtktreeviewcolumn.c: Initial column dragging support.
      
              * tests/testtreefocus.c: give dave some love.
      
              * tests/testtreesort.c: Modify test to check really long samples.
      31210813
  18. 28 Mar, 2001 2 commits
    • Owen Taylor's avatar
      Apply patch from Nils Barth fixing event return values. (#51041) · a7f29c4e
      Owen Taylor authored
      Tue Mar 27 22:36:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
      	Nils Barth fixing event return values. (#51041)
      
      	* gtk/gtkwidget.c: Fix some return values for default
      	functions.
      
      	* gtk/gtk[vh]scrollbar.c gtk/gtk[vh]range.c: Fix
      	return values for trough_keys functions.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): Fix return
      	value for add_accelerator (shoudl have been a void
      	return.)
      
      	* gtk/gtkcellrenderer.[ch]: gtkcellrenderertoggle.h:
      	Fix return type of EVENT.
      
      	* gtk/gtkmarshal.list gtk/gtktexttag.c: Make EVENT
      	signal return a boolean.
      a7f29c4e
    • Jonathan Blandford's avatar
      Fix arguments to reordered signal. · 6e7b8a67
      Jonathan Blandford authored
      Tue Mar 27 22:07:44 2001  Jonathan Blandford  <jrb@webwynk.net>
      
      	* gtk/gtkliststore.c (gtk_list_store_sort): Fix arguments to
      	reordered signal.
      
      	* tests/testtreesort.c (main): fix spelling.
      Bad Jonathan.  Don't break the tree.
      6e7b8a67
  19. 24 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      make this somewhat key-navigable · 207e3bb9
      Havoc Pennington authored
      2001-03-23  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkhsv.c: make this somewhat key-navigable
      
      	* gtk/gtkfontsel.c: mnemonics
      
      	* gtk/gtkgamma.c: mnemonics
      
      	* gtk/gtkcolorsel.c: add mnemonics to labels
      
      2001-03-22  Havoc Pennington  <hp@pobox.com>
      
      	Applied big patch from Seth Lytle to fix event handler return
      	values, slightly modified.
      
      	* gtk/gtkcalendar.c (gtk_calendar_button_press): return TRUE if
      	handled.
      	(gtk_calendar_key_press): return TRUE for GDK_space triggers
      	select_day
      
      	* gtk/gtkclist.c (gtk_clist_button_press): return TRUE if handled
      	(gtk_clist_button_release): return TRUE if handled
      
      	* gtk/gtkcolorsel.c (mouse_release):
      	(palette_activate):
      	(palette_press):
      	(palette_new):
      	(mouse_press):
      	(get_screen_color):
      	fixed return type (void to gboolean), return TRUE,
      	added GTK_SIGNAL_FUNC cast
      
      	* gtk/gtkcombo.c (gtk_combo_popup_button_press): fixed return type
      	(void to gboolean), and return TRUE
      	(gtk_combo_button_release): changed return value to TRUE after
      	gtk_grab_add on combo->popwin
      
      	* gtk/gtkctree.c (gtk_ctree_button_press): return TRUE if triggers a
      	collapse or expand
      
      	* gtk/gtkcurve.c (gtk_curve_graph_events): return TRUE for
      	button/motion
      
      	* gtk/gtkdnd.c (gtk_drag_source_event_cb): return TRUE for button
      	press/release and motion that trigger act
      
      	* gtk/gtkentry.c (gtk_entry_button_release): return TRUE
      
      	* gtk/gtkfontsel.c (gtk_font_selection_size_key_press): return TRUE
      	for GDK_Return
      
      	* gtk/gtklist.c (gtk_list_button_press): return TRUE mostly
      	(gtk_list_button_release): return TRUE if selection
      
      	* gtk/gtklistitem.c (gtk_list_item_button_press): return TRUE on
      	press
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_button_press):
      	(gtk_menu_shell_button_release): chain parent_menu_shell retval
      
      	* gtk/gtknotebook.c (gtk_notebook_button_press): return FALSE if
      	nothing triggered
      	(gtk_notebook_button_release): return TRUE if we do anything
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_button_press):
      	(gtk_spin_button_button_release): return TRUE or chained retval
      
      	* gtk/gtktext.c (gtk_text_button_press):
      	(gtk_text_button_release): return TRUE
      	(gtk_text_key_press): remove redundant retval code
      
      	* gtk/gtktreeitem.c (gtk_tree_item_button_press): return TRUE if button
      	and sensitive
      	(gtk_tree_item_subtree_button_click): changed type to gint, and return
      	TRUE if sensitive
      
      	* gtk/gtktooltips.c (gtk_tooltips_event_handler): deactivate implies
      	return TRUE
      207e3bb9
  20. 23 Mar, 2001 1 commit
    • Jonathan Blandford's avatar
      fix braino. New interface to add cleanup sortable support. · 21fd434c
      Jonathan Blandford authored
      Thu Mar 22 19:27:34 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	fix braino.
      	* gtk/gtktreesortable.[ch]: New interface to add cleanup sortable
      	support.
      
      	* gtk/gtktreeview.c: Addition of initial sortable support.
      
      	* gtk/gtktreestore.c: Addition of initial sortable support.
      
      	* gtk/gtkliststore.c: Addition of initial sortable support.
      
      	* gtk/gtkmarshal.list: yet another marshaller.
      
      	* gtk/gtktreedatallist.[ch]: shared code between the store models
      	for handling sorting headers.
      21fd434c
  21. 20 Mar, 2001 2 commits
  22. 15 Mar, 2001 1 commit
    • Jonathan Blandford's avatar
      Changed prototype to allow for getting the location of the cell relative · e4d16600
      Jonathan Blandford authored
      Thu Mar 15 18:22:44 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderer.h: Changed prototype to allow for getting
      	the location of the cell relative to its area.
      	* gtk/gtkcell*: modified for above change
      	* gtk/gtktreeview.c: modified for above change.
      
      Wed Mar 14 13:58:32 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_model): Ref the model.
      	 (gtk_tree_view_finalize): actually unref the model.  Thanks to
      	Jamie Strachan <frostfreek@yahoo.com> for noticing this error.
      e4d16600
  23. 07 Mar, 2001 1 commit
    • Tim Janik's avatar
      marshaller fixes. · 35af5c4e
      Tim Janik authored
      Wed Mar  7 13:24:57 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/*.c: marshaller fixes.
      
              * gtk/gtkmarshal.list: extreme cleanup.
      
              * gtk/gtktreeview.c (gtk_tree_view_class_init): disable interface
              param spec for now.
      
              * gtk/gtktexttag.c (gtk_text_tag_set_property): use g_value_get_boxed()
              where appliable.
      
              * gtk/gtktypeutils.[hc]: updates to GLib API changes.
              special cased autogenerated boxed types from gtktypebuiltins_ids.c
              which are not reference counted:
              GtkSelectionData, GdkEvent, GdkColor, GtkTextIter, PangoTabArray,
              PangoFontDescription, GtkTreeIter and GtkTreePath.
      
      Thu Mar  1 03:58:56 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktreeselection.h:
              * gtk/gtktreemodel.c:
              * gtk/gtktreedatalist.[hc]: fixed includes. no gobject/*
              file should be included directly, and gobject/gmarshal.h
              as well as gtk/gtkmarshal.h even can't be included directly.
      
              * Makefile.am: grr, install gtk-config-2.0.
      
              * gtk/testgtk.c:
              * gtk/simple.c:
              * gtk/gtkmenu.c:
              * gtk/gtkitemfactory.c: use g_object_connect() instead of
              passing "*signal*::*" args to gtk_widget_set().
      
              * gtk/gtktypeutils.[hc]: got rid of GTK_TYPE_SIGNAL.
      
              * gtk/*.c: removed trailer arg from property setters and getters.
              macro fixups.
      
      Thu Mar  1 04:01:57 2001  Tim Janik  <timj@gtk.org>
      
              * test-gdk-pixbuf.c: fixed includes.
      35af5c4e
  24. 05 Mar, 2001 2 commits
    • Jonathan Blandford's avatar
      Apply patch from Lee Mallabone to add object properties. · a7f524bb
      Jonathan Blandford authored
      Mon Mar  5 14:55:19 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderertoggle.c: Apply patch from Lee Mallabone to
      	add object properties.
      
      	* gtk/gtkcellrenderertextpixbuf.c: Apply patch from Lee Mallabone
      	to add object properties.
      
      	* gtk/gtkcellrenderertext.c: Apply patch from Lee Mallabone to add
      	object properties.
      
      	* gtk/gtkcellrendererpixbuf.c: Apply patch from Lee Mallabone to
      	add object properties.
      
      	* gtk/gtkcellrenderer.c: Apply patch from Lee Mallabone to add
      	object properties.
      a7f524bb
    • Jonathan Blandford's avatar
      renamed "child_toggled" to "has_child_toggled". · 3b2ffda1
      Jonathan Blandford authored
      Mon Mar  5 14:38:54 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c: renamed "child_toggled" to
      	"has_child_toggled".
      
      	* gtk/gtktreeview.c: Handle removing columns better.  Updated to
      	handle new signal name.
      
      	* gtk/gtktreestore.c: Updated to handle new signal name.
      	* gtk/gtklisttore.c: Updated to handle new signal name.
      	* gtk/gtktreemodelsort.c: Updated to handle new signal name.
      3b2ffda1
  25. 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
  26. 03 Feb, 2001 1 commit
  27. 26 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      adapt to handle PangoColor · ef4356b5
      Havoc Pennington authored
      2001-01-26  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextlayout.c (convert_color): adapt to handle PangoColor
      
      	* gtk/gtktreeview.c (gtk_tree_view_widget_to_tree_coords): fix to
      	not offset by TREE_VIEW_HEADER_HEIGHT
      	(gtk_tree_view_tree_to_widget_coords): fix to not offset by
      	TREE_VIEW_HEADER_HEIGHT
      
      	* configure.in (included_loaders): for me, --with-included-loaders
      	generates the error "the specified loader yes does not exist",
      	i.e. the arg defaults to "yes", so change test for value ""
      	to test for value "yes", and include all loaders in that case.
      
      	* gtk/gtkrbtree.c (_gtk_rbtree_get_depth): new function
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_cell_rect): fix to properly
      	handle TREE_VIEW_VERTICAL_SEPARATOR
      	(gtk_tree_view_bin_expose): fix to consider the row offset as
      	pointing halfway into vertical separator.
      	(gtk_tree_view_draw_node_focus_rect): ditto
      
      	* gtk/gtkdebug.h, gtk/gtkmain.c (gtk_init_check): Add
      	--gtk-debug=updates, which causes gdk_window_set_debug_updates
      	(TRUE) to be called.
      
      	* gdk/gdkwindow.c (gdk_window_set_debug_updates): Allow enabling a
      	debug mode where the invalid region is colored in on invalidate,
      	so you can see the flicker and know whether your redraw code is
      	doing a good job.
      
      	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_node): Work in
      	tree window coordinates (clip rect is in tree window coords)
      
      	* gtk/Makefile.am: add gtktreednd.[hc]
      
      	* gtk/gtkliststore.c: implement gtktreednd interfaces.
      
      	* gtk/gtktreednd.c, gtk/gtktreednd.h: New interface to support
      	drag-and-drop data operations on a model (so we can set up tree
      	drag-and-drop automatically)
      
      	* gtk/testgtk.c: Add a window to change sensitivity in the
      	GtkLabel test; add a way to change the entry frame in GtkEntry
      	test
      
      	* gtk/gtkentry.c (gtk_entry_set_has_frame):
      	(gtk_entry_get_has_frame): new functions to remove the frame
      	around an entry
      	(gtk_entry_size_request): shrink requisition if no frame
      	(gtk_entry_draw_focus): don't draw frame if no frame
      
      	* gtk/gtkstyle.c (gtk_default_draw_check): draw custom look for
      	checks inside a cell renderer
      	(gtk_default_draw_option): ditto for options
      
      	* gtk/gtktreeviewcolumn.c (update_button_contents): add/remove
      	children from the alignment, not the button
      	(gtk_tree_view_column_init): ref/sink the column, to emulate
      	GObject refcounting.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_init): ref/sink
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	Use theme functions to draw the toggles
      
      	* gdk/gdkpango.c (gdk_pango_get_gc): use GdkRGB to alloc colors
      
      	* gdk/gdkpango.h, gdk/gdkpango.c: Add GdkPangoAttrStipple and
      	GdkPangoAttrEmbossed to use in rendering insensitive text
      
      	* gdk/gdkpango.c (gdk_draw_layout_line): render new properties
      
      	* gtk/gtkstyle.c (gtk_default_draw_layout): handle sensitivity
      	using new GDK features
      ef4356b5
  28. 16 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      add test stuff for CellRendererToggle · 8e8dd66a
      Havoc Pennington authored
      2001-01-15  Havoc Pennington  <hp@pobox.com>
      
      	* tests/testtreeview.c: add test stuff for CellRendererToggle
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_model): add this
      	accessor
      
      	* gtk/gtkcellrenderertoggle.c: distinguish different event types,
      	only toggle on button press (would do release like GtkButton, but
      	we'd need implicit grab code for treeview cells)
      8e8dd66a
  29. 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
  30. 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
  31. 13 Dec, 2000 1 commit
    • Tim Janik's avatar
      doh, this was broken beyond believe. · 2c9eb3a5
      Tim Janik authored
      Tue Dec 12 23:46:44 2000  Tim Janik  <timj@gtk.org>
      
      	* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
      
      	* gtk/gtkbox.c: change property types from (u)long to (u)int for
      	::position and ::padding.
      
      	* gtk/gtkcontainer.c: make ::border_width an INT property.
      
      	* gtk/gtkpacker.c: make ::position an INT property.
      
      	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
      	guard against NULL h/v scrollbars, since this is used at construction
      	time.
      
      	* gtk/gtkclist.[hc]: nuked gtk_clist_construct(), implemented
      	internal gtk_clist_constructor().
      
      	* gtk/gtkctree.[hc]: nuked gtk_ctree_construct(), implemented
      	gtk_ctree_constructor().
      
      	* gtk/gtkprogressbar.c (gtk_progress_bar_class_init): property
      	::pulse_step should use ARG_PULSE_STEP, not ARG_FRACTION.
      
      	* docs/reference/Makefile.am: fun stuff, disabled docs generation
      	again, gtk-scan.c needs to introspec paramspecs, not GtkAgs.
      
      	* gtk/gtkwidget.[hc]:
      	removed gtk_widget_setv(), gtk_widget_getv(), gtk_widget_newv()
      	and gtk_widget_get().
      	(gtk_widget_new): use g_object_new_valist().
      	(gtk_widget_set): use g_object_set_valist().
      
      	* gtk/gtkobject.[hc]:
      	removed gtk_object_arg_get_info(), gtk_object_getv(),
      	gtk_object_query_args(), gtk_object_newv(),
      	gtk_object_class_add_signals(),
      	gtk_object_class_user_signal_new(),
      	gtk_object_class_user_signal_newv(),
      	gtk_object_arg_set(), gtk_object_arg_get(),
      	gtk_object_args_collect(),
      	gtk_object_default_construct(),
      	gtk_object_constructed(),
      	GTK_CONSTRUCTED and GTK_OBJECT_CONSTRUCTED().
      	removed nsignals, signals and n_args members from GtkObjectClass.
      	(gtk_object_new): use g_object_new_valist().
      	(gtk_object_set): use g_object_set_valist().
      	(gtk_object_get): use g_object_get_valist().
      
      	* gtk/gtkcompat.h: define gtk_object_default_construct().
      
      	* gtk/gtktypeutils.c (gtk_type_new): create constructed objects via
      	g_object_new().
      
      	* gtk/*.c: removed gtk_object_class_add_signals() from class_init()
      	fucntions, cleaned up method assignments (make sure your structures
      	are setup properly before calling out). removed all GTK_CONSTRUCTED
      	hacks ;)
      2c9eb3a5
  32. 12 Dec, 2000 1 commit
    • Tim Janik's avatar
      get rid of object_signal:: GtkObject argument uses, use GObject · 53d7e430
      Tim Janik authored
      Tue Dec 12 08:24:42 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/testgtk.c:
              (create_tooltips):
              (create_statusbar): get rid of object_signal:: GtkObject argument uses,
              use GObject swapped_signal:: properties instead.
      
              * gtk/gtkcellrenderertoggle.c:
              * gtk/gtkcellrenderertextpixbuf.c:
              * gtk/gtkcellrenderertext.c:
              * gtk/gtkcellrendererpixbuf.c:
              * gtk/gtkcellrenderer.c:
              * gtk/gtktreeviewcolumn.c: s/[sg]et_param/[sg]et_property/, fixed
              missing warnings for invalid property ids, install properties
              with g_object_class_install_property() now.
      
              * gtk/gtksignal.c:
              (gtk_signal_emit): let g_signal_emit_valist() collect the values for us.
      53d7e430
  33. 25 Oct, 2000 1 commit
    • Tim Janik's avatar
      urg, removed implementation of gtk_marshal_VOID__INT_INT_INT_INT. if · d69496c0
      Tim Janik authored
      Wed Oct 25 20:47:41 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed
              implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that,
              couldn't they at least give it a non-standard name?
      
              * gtk/gtktextlayout.c: arg! yet another implementation of
              gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy?
      
              * gtk/gtktextbuffer.c: gotcha! captured a vagabonding
              gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back
              home. now i know this _is_ a conspiracy.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for
              ::state-changed.
      
              * gtk/gtkaccelgroup.c (gtk_accel_group_create_remove):
              (gtk_accel_group_create_add): marshaller signature fixups.
      
              * gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups,
              pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM.
      
              * gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid
              anymore.
      
      Tue Oct 24 23:59:21 2000  Tim Janik  <timj@gtk.org>
      
              * docs/reference/Makefile.am: disabled SUBDIRS for the moment, since
              due to the signal system changes, it wouldn't build currently. to
              be fixed soon.
      
              * docs/Changes-2.0.txt: GtkSignal/GSignal updates.
      
              * gtk/gtkwidget.c: ::direction_changed takes an enum as argument,
              so it needs gtk_marshal_VOID__ENUM() instead of
              gtk_marshal_NONE__UINT().
      
              * gdk/gdk*.c: adapted type registration functions.
      
              * gtk/gtkbindings.c:
              * gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is
              gone.
      
              * gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType.
      
              * gtk/gtkobject.c:
              (gtk_object_destroy):
              (gtk_object_shutdown): fixed recursion guards. basically we have to
              catch the case where any of GObject.shutdown() or gtk_object_destroy()
              is called during ::destroy, and avoid recursion there.
      
              * gtk/gtktypeutils.c:
              * gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with
              boxed_copy/boxed_free. this needs a more general solution based on a
              publically installed code-generator utility.
      
              * gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED,
              glib's gobject has support for that now.
              define GtkSignalMarshaller in terms of GSignalCMarshaller.
      
      
      Mon Oct 23 09:36:42 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.[hc]:
              * gtk/gtkmarshal.[hc]:
              * gtk/Makefile.am: generate marshallers with glib-genmarshal and don't
              compile gtkmarshal.c on its own anymore, just include it in gtksignal.c.
              removed #include <gtkmarshal.h>s all over the place, gtksignal.h takes
              care of that.
      
              * *.c: marshaller name fixups.
      
              * gtk/gtkmarshal.list: added a comment briefing the format.
      
      Sun Oct 22 23:14:39 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.[hc]: nuked old implementation. we mostly have
              compatibility macros here now. more specifically, most of
              the API is preserved (yes, _most_, nonwithstanding the
              following exceptions listed, the API is stil lHUGE ;)
              things that got removed completely:
              GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(),
              gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(),
              gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(),
              gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(),
              gtk_signal_remove_emission_hook().
              non-functional functions variants:
              gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook().
              the GtkCallbackMarshal argument to gtk_signal_connect_full() is
              not supported anymore.
              (gtk_signal_compat_matched): new internal function to aid
              implementation of the compatibility macros, it  provides
              functionality to block/unblock/disconnect handlers based
              on func/data.
      
              * gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType,
      
              * *.c: adaptions to new type registration API signatures.
      
      
      Fri Oct 20 15:26:33 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge.
      d69496c0
  34. 05 Oct, 2000 1 commit