1. 06 Mar, 2004 1 commit
  2. 03 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Clip narrow columns in rtl-oriented tree views (#128089, · 6c935950
      Matthias Clasen authored
      Tue Feb  3 01:38:06 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Clip narrow columns in rtl-oriented tree views (#128089,
      	chinen@jp.ibm.com):
      
      	* gtk/gtkstyle.c (gtk_default_draw_option):
      	* gtk/gtkstyle.c (gtk_default_draw_check): Clip to the
      	given area.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
      	Use the right clip area when calling gtk_cell_renderer_render().
      	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_draw_focus):
      	Use the right clip area when calling gtk_paint_focus().
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	Use the right clip area when calling gtk_paint_toggle() or
      	gtk_paint_check().
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
      	Clip to the expose_area when drawing the background rectangle.
      6c935950
  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
      Migrating all cell renderers to use the new instance private data · c43efa51
      Kristian Rietveld authored
      Thu Dec 18 00:57:18 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Migrating all cell renderers to use the new instance private data
      	construction.
      
      	* gtk/gtktreeprivate.h: remove GtkCellRendererInfo, as it is no
      	longer being used.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_init),
      	(gtk_cell_renderer_class_init), (gtk_cell_renderer_get_property),
      	(set_cell_bg_color), (gtk_cell_renderer_render): remove old
      	GtkCellRendererInfo handling, migrate to instance private data.
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done),
      	(gtk_cell_renderer_text_start_editing): moved focus_out_id
      	from GtkCellRendererInfo to text renderer private data.
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_init),
      	(gtk_cell_renderer_pixbuf_class_init),
      	(gtk_cell_renderer_pixbuf_finalize),
      	(gtk_cell_renderer_pixbuf_get_property),
      	(gtk_cell_renderer_pixbuf_set_property),
      	(gtk_cell_renderer_pixbuf_create_stock_pixbuf),
      	(gtk_cell_renderer_pixbuf_get_size), (gtk_cell_renderer_pixbuf_render):
      	migrate to instance private data.
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init),
      	(gtk_cell_renderer_toggle_get_property),
      	(gtk_cell_renderer_toggle_set_property),
      	(gtk_cell_renderer_toggle_render): migrate to instance private data.
      c43efa51
  5. 23 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      Fix includes. · 3a5b5a0f
      Kristian Rietveld authored
      Thu Oct 23 20:21:16 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c,
      	gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c,
      	gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.
      3a5b5a0f
  6. 30 Sep, 2003 1 commit
    • Murray Cumming's avatar
      The render vfunc takes a GdkDrawable* instead of a GdkWindow*, because · fa7b7509
      Murray Cumming authored
      2003-09-30  Murray Cumming  <murrayc@usa.net>
      
              * gtk/gtkcellrenderer.h: The render vfunc takes a GdkDrawable*
              instead of a GdkWindow*, because that what it is given. The
              documentation was already correct. This should cause no API/ABI
              breakage with C compilers.
              * gtk/gtkcellrenderertext.c, gtkcellrendererpixbuf.c,
              gtkcellrenderertogger.c: Updated the declarations of the render vfunc
              implementation accordingly.
      fa7b7509
  7. 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
  8. 28 Feb, 2003 1 commit
    • Manish Singh's avatar
      demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c · dd74be94
      Manish Singh authored
      Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/main.c
              * demos/gtk-demo/tree_store.c
              * gdk/x11/gdkscreen-x11.c
              * gtk/gtkcellrenderertoggle.c
              * gtk/gtkcolorsel.c
              * gtk/gtkdnd.c
              * gtk/gtkeditable.c
              * gtk/gtkentry.c
              * gtk/gtkmenu.c
              * gtk/gtkmenubar.c
              * gtk/gtkmenuitem.c
              * gtk/gtkmenushell.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktextbuffer.c
              * gtk/gtktextview.c
              * gtk/gtktreeviewcolumn.c
              * tests/testgtk.c
              * tests/testtext.c
              * tests/testtreeedit.c
              * tests/testtreefocus.c
              * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
      dd74be94
  9. 04 Dec, 2002 1 commit
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 31 Oct, 2001 2 commits
  18. 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
  19. 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
  20. 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
  21. 18 Sep, 2001 1 commit
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 20 Mar, 2001 2 commits
  30. 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
  31. 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
  32. 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
  33. 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
  34. 03 Feb, 2001 1 commit
  35. 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
  36. 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