1. 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
  2. 30 Jan, 2003 1 commit
    • Kristian Rietveld's avatar
      only count the special cell if it is also visible, · 2fb74b13
      Kristian Rietveld authored
      Thu Jan 30 23:48:30 2003  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
              only count the special cell if it is also visible,
              (_gtk_tree_view_column_get_neighbor_sizes): only take the width into
              account from visible cells,
              (gtk_tree_view_column_cell_get_position): likewise, (Reported and
              testcase provided by Vasco Alexandre da Silva Costa, via IRC,
              tracking bug was #104563).
      
      Thu Jan 30 23:46:15 2003  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
              subtract expander space and focus line space from the extra space
              we are about the allocate. (Fixes #104635).
      
      Thu Jan 30 23:42:03 2003  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtkstyle.c (apply_affine_on_point): fix rouding error
              (Fixes #96252, patch from Soeren Sandmann).
      2fb74b13
  3. 27 Jan, 2003 1 commit
  4. 10 Dec, 2002 1 commit
    • Kristian Rietveld's avatar
      implement a working use_align = FALSE implementation (also mentioned in · 5fb6d3b8
      Kristian Rietveld authored
      Tue Dec 10 01:58:43 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (validate_visible_area): implement a working
              use_align = FALSE implementation (also mentioned in #91335, reported
              by Juri Pakaste).
      
              * gtk/gtktreeview.c (validate_visible_area): only free the
              scroll_to_path if we are done with validating (fixes #93584, reported
              and testcase provided by Erik Simonsen).
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
              set the GTK_CELL_RENDERER_FOCUSED flag where appropriate. (fixes
              #75745, reported by Richard Hult).
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_position):
              initialize cellinfo to NULL to silence the compiler.
      5fb6d3b8
  5. 28 Nov, 2002 1 commit
  6. 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
  7. 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
  8. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · c77265d3
      Manish Singh authored
      Sun Oct 13 12:29:15 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcolorsel.[ch] gtk/gtkcombo.[ch] gtk/gtkplug.[ch]
              gtk/gtksocket.[ch] gtk/gtktreeview.[ch] gtk/gtktreeviewcolumn.[ch]:
              Deprecation cleanup
      
              * gtk/gtkcolorseldialog.c: make window not resizable (lost
              accidently in the previous cleanup)
      c77265d3
  9. 10 Oct, 2002 1 commit
  10. 05 Oct, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c, · a92b7a99
      Soeren Sandmann authored
      Sat Oct  5 16:47:03 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c,
      	gdk/x11/gdkwindow-x11.c, gtk/gtkfontsel.h, gtk/gtkimcontext.c,
      	gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c
      
      	Documentation fixes:
      
      	#75170, Dan Winship;
      	#73220, Havoc Pennington;
      	#70742, Boris Shingarov;
      	#72007, Alexey A. Malyshev
      a92b7a99
  11. 28 Sep, 2002 1 commit
  12. 10 Aug, 2002 1 commit
    • Soren Sandmann's avatar
      Minor documentation fixes · 77eee887
      Soren Sandmann authored
      2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gtk/tree_widget.sgml,
      	docs/reference/gtk/tmpl/gtkdialog.sgml,
      	docs/reference/gtk/tmpl/gtkentry.sgml,
      	docs/reference/gtk/tmpl/gtkfilesel.sgml,
      	docs/reference/gtk/tmpl/gtkfontsel.sgml,
      	docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
      	docs/reference/gtk/tmpl/gtktreemodel.sgml,
      	docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
      	gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
      	gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
      	gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
      	gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
      	gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
      	gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
      	gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
      	gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
      	gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
      	gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
      	gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
      	gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
      	gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
      	gtk/gtkwindow.c:
      
      	Minor documentation fixes
      
      	(#89254, patch from Brett Nash;
      	 #85809, patch from daten@dnetc.org;
      	 #76391, patch from Ross Burton;
      	 #74559, Manuel Clos;
      	 #73569, #72005, Alexey A. Malyshev;
      	 #70061, patch from Dennis Bj"orklund;
      	 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
      	 #78932, Vitaly Tishkov, patch from Ross Burton;
      	 #73306)
      77eee887
  13. 26 Jul, 2002 1 commit
    • Kristian Rietveld's avatar
      API additions: _move, _reorder and _swap for stores, path constructor. · 6c3caf2a
      Kristian Rietveld authored
      Fri Jul 26 22:53:37 2002  Kristian Rietveld  <kris@gtk.org>
      
              API additions: _move, _reorder and _swap for stores, path
              constructor.
      
              * gtk/gtktreemodel.[ch] (gtk_tree_path_new_from_indices): new function.
      
              * gtk/gtkliststore.[ch]: added gtk_list_store_reorder_func (private),
              gtk_list_store_reorder, gtk_list_store_swap, gtk_list_store_move.
      
              * gtk/gtktreestore.[ch]: added gtk_tree_store_reorder_func (private),
              gtk_tree_store_reorder, gtk_tree_store_swap, gtk_tree_store_move.
      
      Fri Jul 26 22:32:57 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreestore.c (node_free): return FALSE,
              (gtk_tree_store_finalize): use g_node_traverse instead of
              g_node_children_foreach, so the whole tree will be freed (#88854,
              patch from Emmanuel Briot).
      
      Fri Jul 26 22:32:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): fix some memleaks,
              (#84426, patch from Matthias Clasen).
      
      Fri Jul 26 22:31:25 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): _iter_children
              check shouldn't be in g_return_return_val_if_fail (pointed out by
              Josh Green, #88997),
              (gtk_tree_view_set_model): call _gtk_tree_view_column_unset_model
              for each column when we unset the model (part of #82484),
              (gtk_tree_view_get_cell_area): return if we ran out of tree or
              if we got an invalid path (#82376).
      
              * gtk/gtktreeprivate.h: add _gtk_tree_view_column_unset_model.
      
              * gtk/gtktreeviewcolumn.c: implement _gtk_tree_view_column_unset_model
              which disconnects the sort_column_changed_signal (part of #82484).
      
              * gtk/gtkliststore.c (gtk_list_store_insert): append row if the
              given postion is off the end of the tree (#85813).
      
              * gtk/gtkentry.c (gtk_cell_editable_key_press_event): let's use
              2-space indent, commit changes if up/down keys has been pressed,
              this overrides the focus key foo so the user won't be surprised
              (#84665).
      6c3caf2a
  14. 18 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Replace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display(). · 621fb746
      Owen Taylor authored
      Tue Jun 18 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c
              gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace
              gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
              (#85671)
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c
              gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c
              gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c
              gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c:
              Adapt to above change.
      621fb746
  15. 07 Jun, 2002 1 commit
    • Matthias Clasen's avatar
      New function, split off from gtk_tree_view_column_clear_attributes. · a68df0b2
      Matthias Clasen authored
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_clear_attributes_by_info): New function,
      	split off from gtk_tree_view_column_clear_attributes.
      	(gtk_tree_view_column_clear_attributes):
      	(gtk_tree_view_column_finalize):  Call the new function, avoid
      	recalculating the info from the renderer.  (#84413)
      
      	* gtk/gtktextview.c (text_view_child_new_anchored): Initialize
      	vc->type in order to avoid a later UMR.  (#84415)
      a68df0b2
  16. 05 May, 2002 1 commit
    • Kristian Rietveld's avatar
      The "big treeview focus patch". Fixes several issues and adds some · acce60b7
      Kristian Rietveld authored
      Sun May  5 16:42:32 2002  Kristian Rietveld  <kris@gtk.org>
      
              The "big treeview focus patch". Fixes several issues and adds some
              goodies. Related bugs: #73676, #73734, #78660.
      
              * gtk/gtktreeview.h: add gtk_tree_view_set_cursor_on_cell
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): focus on a cell
              if applicable,
              (gtk_tree_view_bin_expose): set_cell_data before iterating columns,
              add support for row-spanning focus rectangles,
              (gtk_tree_view_has_special_cell): new function,
              (gtk_tree_view_move_cursor_left_right): add support for multiple
              focusable cells in one column,
              (gtk_tree_view_set_cursor): call _set_cursor_on_cell now,
              (gtk_tree_view_set_cursor_on_cell): copy of _set_cursor, extended
              with focus_cell parameter,
              (gtk_tree_view_search_iter): removed unused column variable,
              (gtk_tree_view_start_editing): add neighbor size code to allow
              for multiple editable cells in one column.
      
              * gtk/gtktreeviewcolumn.c (_GtkTreeViewColumnCellInfo): add
              in_editing_mode field,
              (gtk_tree_view_column_get_edited_cell): new function, removed
              _get_editable_cell,
              (_gtk_tree_view_column_get_cell_at_pos): new function,
              (gtk_tree_view_column_pack_end): s/g_new/g_new0/ ...,
              (gtk_tree_view_column_cell_process_action): loads of changes to get
              it right and to allow for multiple special cells, etc,
              (gtk_tree_view_column_cell_first): new function,
              (gtk_tree_view_column_cell_last): ditto,
              (gtk_tree_view_column_cell_next): ditto,
              (gtk_tree_view_column_cell_prev): ditto,
              (gtk_tree_view_column_cell_focus): add left and right parameters,
              allow for multiple special cells,
              (gtk_tree_view_column_cell_is_visible): add assertion,
              (gtk_tree_view_column_focus_cell): new function,
              (gtk_tree_view_column_stop_editing): unset in_editing_mode flag,
              (_gtk_tree_view_column_get_neighbor_sizes): iterate through cells
              correctly
      
              * gtk/gtktreeviewcolumn.h: add gtk_tree_view_column_focus_cell
      
              * gtk/gtktreeprivate.h: s/_get_editable_cell/_get_edited_cell/, add
              _gtk_tree_view_column_get_cell_at_pos, add new parameters to
              _gtk_tree_view_column_cell_focus.
      
              * tests/testtreeedit.c: add some cells in order to test new code.
      acce60b7
  17. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
      4632fb81
  18. 25 Apr, 2002 1 commit
    • Kristian Rietveld's avatar
      Fixes #74206. · b4ddb130
      Kristian Rietveld authored
      Thu Apr 25 23:49:01 2002  Kristian Rietveld  <kris@gtk.org>
      
              Fixes #74206.
      
              * gtk/gtktreeprivate.h: add _gtk_tree_view_column_count_special_cells
      
              * gtk/gtktreeview.c (_gtk_tree_view_column_has_editable_cell),
              (_gtk_tree_view_column_get_editable_cell): remove a space which made
              the code look ugly
              (_gtk_tree_view_column_count_special_cells): new function,
              (gtk_tree_view_column_cell_process_action): if there's only one
              activatable cell, the whole column will activate that renderer.
      b4ddb130
  19. 23 Apr, 2002 1 commit
    • Kristian Rietveld's avatar
      This commit adds a cell_background property for cell renderers. With this · cb3c5cc1
      Kristian Rietveld authored
      Tue Apr 23 18:35:34 2002  Kristian Rietveld  <kris@gtk.org>
      
              This commit adds a cell_background property for cell renderers. With
              this property you can make your TreeView look incredibly ugly.
      
              * gtk/gtkcellrenderer.c: add cell_background, cell_background_gdk and
              cell_background_set properties,
              (set_cell_bg_color): new function,
              (gtk_cell_renderer_get_property), (gtk_cell_renderer_set_property):
              support for new properties,
              (gtk_cell_renderer_render): render a background when set.
      
              * gtk/gtkcellrenderer.h: add cell_background_set and cell_background
              fields.
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
              when rendering, pass in just the background_area of the cell and not
              the background_area of the entire column.
      cb3c5cc1
  20. 19 Apr, 2002 1 commit
    • Kristian Rietveld's avatar
      add _gtk_tree_view_column_autosize · 3e0a1a51
      Kristian Rietveld authored
      Fri Apr 19 23:38:16 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeprivate.h: add _gtk_tree_view_column_autosize
      
              * gtk/gtktreeview.c: privately export _gtk_tree_view_column_autosize,
              and add a small note about that function,
              (gtk_tree_view_button_press): check for double click and
              "not having an autosize" column before autosizing the column,
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_min_width):
              call _gtk_tree_view_column_autosize to update autosized column width
              (gtk_tree_view_column_set_max_width): ditto
      3e0a1a51
  21. 18 Apr, 2002 1 commit
    • Matthias Clasen's avatar
      s/<!>/<!-- -->/g throughout the documentation to bring the produced · 1f75708d
      Matthias Clasen authored
      	* gtk/gtkitemfactory.c:
      	* gtk/gtkiconfactory.c:
      	* gtk/gtkwidget.c:
      	* gtk/gtkstyle.c:
      	* gtk/gtkrc.c:
      	* gtk/gtktreeviewcolumn.c:
      	* gtk/gtkdialog.c:
      	* gtk/gtktreemodel.c: s/<!>/<!-- -->/g throughout the
      	documentation to bring the produced Docbook closer to XML.
      
      	* gdk/tmpl/rgb.sgml:
      	* gdk/tmpl/general.sgml:
      	* gtk/tmpl/gtktogglebutton.sgml:
      	* gtk/tmpl/gtkaccellabel.sgml:
      	* gtk/tmpl/gtkradiobutton.sgml:
      	* gtk/tmpl/gtktreemodel.sgml:
      	* gtk/tmpl/gtkwidget.sgml:
      	* gtk/tmpl/gtkimage.sgml:
      	* gtk/tmpl/gtktooltips.sgml:
      	* gtk/tmpl/gtksignal.sgml:
      	* gtk/tmpl/gtkcombo.sgml:
      	* gtk/tmpl/gtkdnd.sgml:
      	* gtk/tmpl/gtksocket.sgml:
      	* gtk/tmpl/gtkdrawingarea.sgml:
      	* gtk/tmpl/gtkobject.sgml:
      	* gtk/tmpl/gtkpaned.sgml:
      	* gtk/tmpl/gtkmain.sgml: s/<!>/<!-- -->/g throughout the
      	documentation to bring the produced Docbook closer to XML.
      1f75708d
  22. 14 Apr, 2002 1 commit
    • Kristian Rietveld's avatar
      add _gtk_tree_view_column_get_editable_cell and · 54db0fc9
      Kristian Rietveld authored
      Sun Apr 14 16:56:59 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and
              _gtk_tree_view_column_get_neighbor_sizes
      
              * gtk/gtktreeviewcolumn.c (struct _GtkTreeViewColumnCellInfo): add
              real_width field,
              (_gtk_tree_view_column_get_editable_cell): implement,
              (gtk_tree_view_column_cell_process_action): fill info->real_width
              (_gtk_tree_view_column_get_neighbor_sizes): implement
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): make the "editable
              widget" show up with the same size as the actual cell, so it doesnt
              cover the complete column if there are any other cells in that column.
      54db0fc9
  23. 09 Apr, 2002 1 commit
    • Kristian Rietveld's avatar
      Fixes #78110 · 64e33eb6
      Kristian Rietveld authored
      Tue Apr  9 21:41:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              Fixes #78110
      
              * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
              add override_browse_mode argument and implement,
              (gtk_tree_selection_unselect_path): always unselect the path,
              (toplevel): update uses of _gtk_tree_selection_internal_select_node
      
              * gtk/gtktreeview.c: update uses of
              _gtk_tree_selection_internal_select_node
      
              * gtk/gtktreeprivate.h (_gtk_tree_selection_internal_select_node):
              update prototype
      
      Tue Apr  9 21:39:44 2002  Kristian Rietveld  <kris@gtk.org>
      
              Fixes #77862
      
              * gtk/gtktreeprivate.h: add _gtk_tree_view_column_has_editable_cell
      
              * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell):
              new function
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event
              on first click when cell isn't editable
      
      Tue Apr  9 21:37:31 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreedatalist.c (_gtk_tree_data_list_check_type): add some
              types which were missing and useful to use (fixes #77870)
      64e33eb6
  24. 05 Apr, 2002 2 commits
    • Kristian Rietveld's avatar
      free anchor row reference after unselecting the selection (fixes #76272) · 6d4655b0
      Kristian Rietveld authored
      Fri Apr  5 18:28:56 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): free
              anchor row reference after unselecting the selection (fixes #76272)
      
      Fri Apr  5 18:27:48 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): only return
              when we don't have to open all children (fixes #75736)
      
      Fri Apr  5 18:24:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear): unref
              cellrenderer after clearing the attributes of the renderer (fixes
              #75592)
      6d4655b0
    • Jonathan Blandford's avatar
      implement. (gtk_tree_view_move_cursor_up_down): check for focus · 8c114fa6
      Jonathan Blandford authored
      Fri Apr  5 05:55:14 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_grab_focus): implement.
      	  (gtk_tree_view_move_cursor_up_down): check for focus
      	  (gtk_tree_view_move_cursor_page_up_down): ditto
      	  (gtk_tree_view_move_cursor_left_right): ditto
      	  (gtk_tree_view_move_cursor_start_end): ditto
      	  (gtk_tree_view_real_select_all): ditto
      	  (gtk_tree_view_real_unselect_all): ditto
      	  (gtk_tree_view_real_select_cursor_row): ditto
      	  (gtk_tree_view_real_toggle_cursor_row): ditto
      	  (gtk_tree_view_real_expand_collapse_cursor_row): ditto
      	  (gtk_tree_view_real_select_cursor_parent): ditto
      	  (gtk_tree_view_real_start_interactive_search): ditto
      
      	* gtk/gtktreeviewcolumn.c: grab focus
      8c114fa6
  25. 15 Mar, 2002 2 commits
  26. 08 Mar, 2002 1 commit
    • Jonathan Blandford's avatar
      get rid of really bad focus loop. (gtk_tree_view_clamp_node_visible): only · 540751b9
      Jonathan Blandford authored
      Thu Mar  7 16:46:58 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (validate_visible_area): get rid of really
      	bad focus loop.
      	(gtk_tree_view_clamp_node_visible): only clamp the node when
      	realized.  Need to replace this with scroll_to_cell sometime.
      	(gtk_tree_view_header_focus): clickable or reorderable columns are
      	focusable, #73656
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_widget): fix
      	docs to reflect behaviour change, #73682
      540751b9
  27. 06 Mar, 2002 1 commit
  28. 05 Mar, 2002 2 commits
  29. 03 Mar, 2002 1 commit
    • Tim Janik's avatar
      added compile time switch to put the tree views into a hpaned for owen to · f0b58ab8
      Tim Janik authored
      Sun Mar  3 06:39:19 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkfilesel.c: added compile time switch to put the tree views
              into a hpaned for owen to play with.
      
              * gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free):
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func),
              (gtk_tree_view_column_finalize):
              * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func),
              (gtk_tree_store_set_sort_func), (gtk_tree_store_finalize):
              * gtk/gtktreeselection.c (gtk_tree_selection_finalize):
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func),
              (gtk_tree_model_sort_set_default_sort_func),
              (gtk_tree_model_sort_set_sort_func):
              * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_sort_func), (gtk_list_store_finalize):
              add reentrancy protection around destroy() function invocation.
      
              * gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix
              destroy function invocation (which was missing).
      f0b58ab8
  30. 01 Mar, 2002 1 commit
    • Kristian Rietveld's avatar
      set first_cell to FALSE after first iteration · aa83195a
      Kristian Rietveld authored
      Fri Mar  1 23:59:35 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): set
              first_cell to FALSE after first iteration
      
              * gtk/gtktreeview.c (validate_visible_area): reduce usage of
              GTK_RBNODE_GET_HEIGHT, check for node != NULL,
              (gtk_tree_view_top_row_to_dy): remove call to gtk_adjustment_changed
              (gtk_tree_view_search_iter): select iter after scrolling
      aa83195a
  31. 26 Feb, 2002 1 commit
    • Kristian Rietveld's avatar
      take into account that a path from a rowref can be NULL. (#72623 and · 07d3ebd0
      Kristian Rietveld authored
      Tue Feb 26 19:47:16 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (validate_visible_area): take into account
              that a path from a rowref can be NULL. (#72623 and #72650)
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_render_or_focus):
              let focus_rectangle be the same as cell_area for empty cells (#69900)
      07d3ebd0
  32. 25 Feb, 2002 1 commit
    • Kristian Rietveld's avatar
      call _gtk_tree_view_column_cell_set_dirty when visible, so this column · 2544d7b7
      Kristian Rietveld authored
      Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
              _gtk_tree_view_column_cell_set_dirty when visible, so this column
              gets some space allocated. (#70996)
      
              * gtk/gtkliststore.c (gtk_list_store_get_path): add simple
              optimization for the tail case
              (gtk_list_store_real_set_value): remove unneeded _get_path calls
      2544d7b7
  33. 23 Feb, 2002 1 commit
  34. 19 Feb, 2002 2 commits
    • Kristian Rietveld's avatar
      new function (gtk_tree_view_column_create_button): use g_signal_* instead · 19f961d4
      Kristian Rietveld authored
      Tue Feb 19 22:10:59 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtktreeviewcolumn.c (gtk_tree_view_column_mnemonic_activate): new
              function
              (gtk_tree_view_column_create_button): use g_signal_* instead of
              gtk_signal_*, hook up _mnemonic_activate callback
              (gtk_tree_view_column_update_button): use
              gtk_label_set_text_width_mnemonic instead of gtk_label_set_text
              (#69095)
      
              * gtktreeview.c (gtk_tree_view_class_init): remove key bindings
              for C-f and C-b, let treeview search use C-f (instead of C-s)
              (#61886)
      
              * gtkrc.key.emacs: add some GtkTreeView bindings
      19f961d4
    • Kristian Rietveld's avatar
      change gtk_tree_view_column_cell_render, gtk_tree_view_column_cell_focus, · 601302c7
      Kristian Rietveld authored
      Tue Feb 19 17:36:31 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtktreeprivate.h, gtktreeviewcolumn.[ch], gtktreeview.c: change
              gtk_tree_view_column_cell_render,
              gtk_tree_view_column_cell_focus,
              gtk_tree_view_column_cell_draw_focus and
              gtk_tree_view_column_cell_set_dirty to be private functions.
      
              * gtktreeviewcolumn.[ch]: add install_handler argument to
              _cell_set_dirty to control if _mark_rows_col_dirty (which calls
              install_presize_handler) gets called, set widths correctly so
              autosizing works (#71870)
      
              * gtktreeview.c (gtk_tree_view_column_autosize): new function,
              (gtk_tree_view_button_press): make double click on column
              separator resize the row (#71870)
              (gtk_tree_view_get_dest_row_at_pos): change DnD threshold to 33%
              (#71869, suggestion by Anders Carlsson)
      601302c7
  35. 28 Jan, 2002 2 commits