1. 23 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Mark as const. · b69987f2
      Matthias Clasen authored
      2004-11-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkuimanager.h (gtk_ui_manager_get_type):
      	* gtk/gtktreeview.h (gtk_tree_view_get_type):
      	* gtk/gtktreeviewcolumn.h (gtk_tree_view_column_get_type):
      	* gtk/gtktreestore.h (gtk_tree_store_get_type):
      	* gtk/gtktreeselection.h (gtk_tree_selection_get_type):
      	* gtk/gtktreemodelfilter.h (gtk_tree_model_filter_get_type):
      	* gtk/gtktreemodel.h (gtk_tree_iter_get_type):
      	(gtk_tree_path_get_type):
      	(gtk_tree_row_reference_get_type):
      	* gtk/gtktoolitem.h (gtk_tool_item_get_type):
      	* gtk/gtktoolbutton.h (gtk_tool_button_get_type):
      	* gtk/gtktoggleaction.h (gtk_toggle_action_get_type):
      	* gtk/gtkthemes.h (gtk_theme_engine_get_type):
      	* gtk/gtktextiter.h (gtk_text_iter_get_type):
      	* gtk/gtksettings.h (gtk_settings_get_type):
      	* gtk/gtkselection.h (gtk_selection_data_get_type):
      	* gtk/gtkradioaction.h (gtk_radio_action_get_type):
      	* gtk/gtkmenutoolbutton.h (gtk_menu_tool_button_get_type):
      	* gtk/gtkliststore.h (gtk_list_store_get_type):
      	* gtk/gtkiconview.h (gtk_icon_view_get_type):
      	* gtk/gtkicontheme.h (gtk_icon_info_get_type):
      	* gtk/gtkiconfactory.h (gtk_icon_factory_get_type):
      	(gtk_icon_set_get_type):
      	(gtk_icon_source_get_type):
      	* gtk/gtkfilesystemwin32.h (gtk_file_system_win32_get_type):
      	* gtk/gtkfilesystemunix.h (gtk_file_system_unix_get_type):
      	* gtk/gtkfilesystem.h (gtk_file_folder_get_type):
      	(gtk_file_info_get_type, gtk_file_path_get_type):
      	(gtk_file_system_get_type):
      	* gtk/gtkfilefilter.h (gtk_file_filter_get_type):
      	* gtk/gtkfilechooserwidget.h (gtk_file_chooser_widget_get_type):
      	* gtk/gtkfilechooser.h (gtk_file_chooser_get_type):
      	* gtk/gtkfilechooserdialog.h (gtk_file_chooser_dialog_get_type):
      	* gtk/gtkexpander.h (gtk_expander_get_type):
      	* gtk/gtkentrycompletion.h (gtk_entry_completion_get_type):
      	* gtk/gtkcombobox.h (gtk_combo_box_get_type):
      	* gtk/gtkcomboboxentry.h (gtk_combo_box_entry_get_type):
      	* gtk/gtkclipboard.h (gtk_clipboard_get_type):
      	* gtk/gtkcellview.h (gtk_cell_view_get_type):
      	* gtk/gtkcellrenderertoggle.h (gtk_cell_renderer_toggle_get_type):
      	* gtk/gtkcellrenderertext.h (gtk_cell_renderer_text_get_type):
      	* gtk/gtkcellrendererprogress.h (gtk_cell_renderer_progress_get_type):
      	* gtk/gtkcellrendererpixbuf.h (gtk_cell_renderer_pixbuf_get_type):
      	* gtk/gtkcellrenderercombo.h (gtk_cell_renderer_combo_get_type):
      	* gtk/gtkcelllayout.h (gtk_cell_layout_get_type):
      	* gtk/gtkactiongroup.h (gtk_action_group_get_type):
      	* gtk/gtkaction.h (gtk_action_get_type):
      	* gtk/gtkaccessible.h (gtk_accessible_get_type):
      	* gtk/gtkaccelmap.h (gtk_accel_map_get_type):
      	* gtk/gtkaccelgroup.h (gtk_accel_group_get_type):
      	* gtk/gtkmessagedialog.h (gtk_message_dialog_get_type): Mark as const.
      
      	* gtk/gtkicontheme.h:  Don't mark gtk_icon_theme_error_quark()
      	as const, to be consistent with all the other error_quark
      	functions. (technically they are const, but since these are
      	called only in error paths, giving the compiler better
      	optimization opportunities doesn't matter much)
      
      	* gtk/gtk.symbols:
      	* gdk/gdk.symbols: Add attribute annotations.
      
      	* gtk/makegtkalias.pl:
      	* gdk/makegdkalias.pl: Keep attribute annotations, but strip PRIVATE.
      
      	* gtk/Makefile.am (gtk.def):
      	* gdk/Makefile.am (gdk.def): Strip attribute annotations, but keep
      	PRIVATE.
      b69987f2
  2. 02 Aug, 2004 1 commit
  3. 07 Jul, 2004 2 commits
    • Matthias Clasen's avatar
      Small documentation fixes. · f2ac3233
      Matthias Clasen authored
      2004-07-07  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c:
      	* gtk/gtktreeview.h: Small documentation fixes.
      f2ac3233
    • Matthias Clasen's avatar
      Support separators in combo boxes and more generally in tree views · 1aa00e52
      Matthias Clasen authored
      2004-07-07  Matthias Clasen  <mclasen@redhat.com>
      
      	Support separators in combo boxes and more generally in tree
      	views  (#135873):
      
      	* gtk/gtkcombobox.h:
      	* gtk/gtkcombobox.c (gtk_combo_box_get_row_separator_column):
      	* gtk/gtkcombobox.c (gtk_combo_box_set_row_separator_column):
      	Add a ::row-separator-column property with getter and setter,
      	which can indicate a boolean model column to determine which
      	rows are separators.
      
      	* gtk/gtkcombobox.c: Display separator rows as separator menu
      	items in menu mode, and by using the new treeview separator
      	functionality in list mode.
      
      	* gtk/gtktreeview.h:
      	* gtk/gtktreeview.c (gtk_tree_view_get_row_separator_func):
      	* gtk/gtktreeview.c (gtk_tree_view_set_row_separator_func):
      	Add a callback to determine whether a row is a separator.
      
      	* gtk/gtktreeview.c (gtk_tree_view_bin_expose):
      	* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
      	* gtk/gtktreeview.c (validate_row): Use the new callback
      	to determine whether a row is a separator, and draw it
      	as a separator then. Since separators should take up less
      	vertical space than regular rows, this requires removing
      	the redundant MAX(...,expander_size) calls which appear in
      	many places. Instead, the MAX() is now only done in
      	validate_row(), and only if the row is not a separator.
      	To catch possible side effects of this intrusive change,
      	I have left EXPANDER_MAX() calls in place of the MAX() calls
      	which will emit a warning if something breaks. They should
      	be removed before 2.6.
      
      	* gtk/gtktreeselection.c (row_is_selectable): Don't let
      	separator rows be selected.
      
      	* tests/testcombo.c (create_blaat): Add a separator column.
      1aa00e52
  4. 10 May, 2004 1 commit
    • Matthias Clasen's avatar
      Use hover selection mode. (#127648, Dave Bordoley) · b3013157
      Matthias Clasen authored
      2004-05-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_init):
      	* gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use hover selection
      	mode.  (#127648, Dave Bordoley)
      
      	* gtk/gtktreeview.h:
      	* gtk/gtktreeview.c: Add a new property "hover_selection", which
      	when TRUE makes the selection follow the mouse. Also add setter
      	and getter for the fixed_height property.
      b3013157
  5. 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
  6. 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
  7. 04 Jun, 2002 1 commit
  8. 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
  9. 15 Mar, 2002 1 commit
  10. 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
  11. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c
  12. 21 Feb, 2002 1 commit
    • Kristian Rietveld's avatar
      add keynav handling for unselect all, focus column header, change focus · 4deb783e
      Kristian Rietveld authored
      Thu Feb 21 23:02:29 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.[ch]: add keynav handling for unselect all,
              focus column header, change focus with arrow keys in column headers,
              column reordering, column resizing, small try to fix page up/down
              (this fixes #70889, and fixes a great deal of #53580)
      4deb783e
  13. 12 Dec, 2001 1 commit
  14. 15 Nov, 2001 2 commits
    • Jonathan Blandford's avatar
      maybe fix #64160 Also, forgot to save gtktreeview.h · 16049019
      Jonathan Blandford authored
      Thu Nov 15 18:44:33 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_free): maybe fix #64160
      Also, forgot to save gtktreeview.h
      16049019
    • Jonathan Blandford's avatar
      New function to get a GdkWindow to compare event->window to. · 2fdf3018
      Jonathan Blandford authored
      Thu Nov 15 16:24:55 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_bin_window): New function
      	to get a GdkWindow to compare event->window to.
      
      	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): emit
      	the signal for lateral motion too, #64361
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): remove window
      	arg as it is useless, #64137
      2fdf3018
  15. 06 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Add row_draggable() vfunc, and wrapper function. · 57479a86
      Owen Taylor authored
      Mon Nov  5 22:34:29 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
      	Add row_draggable() vfunc, and wrapper function.
      
      	* gtk/gtktreednd.[ch] (struct _GtkTreeDragDestIface): Make
      	row_drop_possible take a GtkSelectionData, rather than
      	model/row pair.
      
      	* gtk/gtktreestore.c gtk/gtkliststore.c: Update for
      	new DND interfaces.
      
      	* gtk/gtktreeview.[ch]: Remove the row_draggable_func
      	location_dropable_func from gtk_tree_view_set_rows_drag_source/dest.
      	and rename them to enable_model_drag_source/dest.
      
      	* gtk/treeviewcolumn.c: Add DND of columns between rows.
      	Still can't drop _to_ the left tree, but other places
      	work.
      
      	* gtk/gtktreeview.c (unset_reorderable): Unset the
      	reorderable property if unset/enable_model_drag_source/dest
      	are called manually.
      
      	* gtk/gtktreestore.c (gtk_tree_store_row_drop_possible):
      	Correct for change in depth count handling.
      
      	* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
      	Pass in a expose area to gtk_tree_view_column_cell_render()
      57479a86
  16. 02 Nov, 2001 1 commit
  17. 31 Oct, 2001 1 commit
  18. 25 Oct, 2001 1 commit
    • Jonathan Blandford's avatar
      Add support for invalid nodes. (_gtk_rbnode_rotate_right): Ditto. · 889d64b4
      Jonathan Blandford authored
      Thu Oct 25 16:27:29 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkrbtree.c (_gtk_rbnode_rotate_left): Add support for
      	invalid nodes.
      	 (_gtk_rbnode_rotate_right): Ditto.
      	 (_gtk_rbtree_node_mark_invalid): New function.
      	 (_gtk_rbtree_node_mark_valid): New function.
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): We're a
      	GObject, not a GtkObject.
      	(gtk_tree_model_sort_row_has_child_toggled): Rewrote to be more
      	correct.
      	(gtk_tree_model_sort_row_deleted): ditto.
      	(gtk_tree_model_sort_{un,}ref_node): Fix.
      
      	* gtk/gtktreeview.c: Protean incremental reflow support (commented
      	out)
      
      	* gtk/gtktreeview.h (GtkTreeViewSearchEqualFunc): change char *key
      	to const char *key.
      
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path_helper):
      	Important 1 line fix to fix a lot of refcounting woes.
      889d64b4
  19. 01 Oct, 2001 1 commit
    • Jonathan Blandford's avatar
      add a finalize and destroy handler. · b41d6acd
      Jonathan Blandford authored
      Mon Oct  1 16:08:23 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_class_init): add a finalize
      	and destroy handler.
      
      	* gtk/gtktreestore.c (gtk_list_store_class_init): ditto, #59963
      
      	* gtk/gtktreeview.h (struct _GtkTreeViewClass): Add
      	'start_editing' flag to select_cursor_row.  Bug spotted by Manish
      	Singh <yosh@gimp.org>.
      b41d6acd
  20. 27 Sep, 2001 2 commits
    • 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
    • Jonathan Blandford's avatar
      Stop being stupid and emitting the signal every time. · 4b6bc02f
      Jonathan Blandford authored
      Wed Sep 26 19:48:01 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_valist): Stop being
      	stupid and emitting the signal every time.
      
      	* gtk/gtkliststore.c (gtk_list_store_set_valist): ditto
      4b6bc02f
  21. 25 Sep, 2001 2 commits
    • Jonathan Blandford's avatar
      Removed (gtk_tree_view_column_set_alignment): xalign = CLAMP (xalign, 0.0, · efae27a3
      Jonathan Blandford authored
      Tue Sep 25 15:32:44 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_set_cell_renderer): Removed
      	(gtk_tree_view_column_set_alignment): xalign = CLAMP (xalign, 0.0, 1.0);  Fixes 61012.
      
      	* gtk/gtktreestore.c (gtk_tree_store_sort_helper): Fixed #61012
      	Patch from Detlef Reichl
      efae27a3
    • 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
  22. 01 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      pass in user data. · 140a6323
      Jonathan Blandford authored
      Fri Aug 31 20:01:23 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_search_iter): pass in user data.
      
      	* gtk/gtktreeview.c (gtk_tree_view_destroy): destroy search_data.
      140a6323
  23. 24 Aug, 2001 1 commit
    • Jonathan Blandford's avatar
      Add "use_align" to give people the option to just make a cell visible. · 747b7253
      Jonathan Blandford authored
      Fri Aug 24 16:03:45 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add
      	"use_align" to give people the option to just make a cell visible.
      
      	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): fix bug where
      	we were scrolling past the end of the tree.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_pack_start):
      	rename gtk_tree_view_column_pack_start_cell_renderer to
      	gtk_tree_view_column_pack_start.  Same for pack_end, and clear.
      747b7253
  24. 22 Aug, 2001 1 commit
  25. 17 Aug, 2001 1 commit
    • Jonathan Blandford's avatar
      Add heavily modified patch from Kristian Rietveld to handle interactive · ac1e4ef3
      Jonathan Blandford authored
      
      Fri Aug 17 19:30:14 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeprivate.h:
      	* gtk/gtktreeview.c: (gtk_tree_view_class_init),
      	(gtk_tree_view_init), (gtk_tree_view_set_property),
      	(gtk_tree_view_get_property), (gtk_tree_view_destroy),
      	(gtk_tree_view_key_press), (gtk_tree_view_leave_notify),
      	(gtk_tree_view_focus_out), (gtk_tree_view_set_model),
      	(gtk_tree_view_set_destroy_count_func),
      	(gtk_tree_view_set_enable_search),
      	(gtk_tree_view_get_enable_search),
      	(gtk_tree_view_get_search_column),
      	(gtk_tree_view_set_search_column),
      	(gtk_tree_view_get_search_equal_func),
      	(gtk_tree_view_set_search_equal_func),
      	(gtk_tree_view_search_dialog_destroy),
      	(gtk_tree_view_search_position_func),
      	(gtk_tree_view_interactive_search),
      	(gtk_tree_view_search_delete_event),
      	(gtk_tree_view_search_button_press_event),
      	(gtk_tree_view_search_key_press_event),
      	(gtk_tree_view_search_move), (gtk_tree_view_search_equal_func),
      	(gtk_tree_view_search_iter), (gtk_tree_view_search_init):
      	* gtk/gtktreeview.h:
      	Add heavily modified patch from Kristian Rietveld to handle
      	interactive searching.
      ac1e4ef3
  26. 29 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      Patch Thomas Broyer from <tbroyer@ltgt.net>. Expander arrows are now · b6f80973
      Jonathan Blandford authored
      Fri Jun  8 18:52:10 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.[hc]: Patch Thomas Broyer from
      	<tbroyer@ltgt.net>. Expander arrows are now attached to a specific
      	column and follow it when draged, rather than a location in the
      	view. "expander_column" property and drawing functions changed
      	accordingly.  Fixes bug #55942.
      
      	(gtk_tree_view_{set,get}_expander_column): Now works with a
      	GtkTreeViewColumn* instead of int.
      b6f80973
  27. 26 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      fix stupid missing statement · 94f7d7e6
      Jonathan Blandford authored
      Tue Jun 26 12:59:28 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): fix
      	stupid missing statement
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_destroy_count_func): New
      	private function for ATK.  It notifies you of how many _visible_
      	children are deleted when a node is deleted.  Should be used by
      	atk only.
      94f7d7e6
  28. 24 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Fix stupid error introduced last night that was making things decidedly · cc223eef
      Owen Taylor authored
      Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
      	introduced last night that was making things decidedly not work.
      
      	* gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters
      	so that we have getter/setter pairing everywhere it makes
      	sense. (#55767)
      
      	* gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.:
      	Rename gtk_radio_button_group to gtk_radio_button_get_group, add a
      	deprecated compat macro. (#55516)
      
      	* gtk/gtklabel.[ch]: Add functions
      	gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(),
      	gtk_label_set_label(), which mirror the property API for GtkLabel.
      	Make gtk_label_get_attributes() only reflect the attributes
      	set by gtk_label_set_attributes.
      
      	* gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename
      	from gtk_notebook_set_page().
      cc223eef
  29. 19 Jun, 2001 1 commit
  30. 11 Jun, 2001 1 commit
  31. 08 Jun, 2001 2 commits
    • Jonathan Blandford's avatar
      New keybinding. (gtk_tree_view_focus): Fix merge conflict. · a055d062
      Jonathan Blandford authored
      Fri Jun  8 19:49:29 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): New
      	keybinding.
      	(gtk_tree_view_focus): Fix merge conflict.
      a055d062
    • Jonathan Blandford's avatar
      new function to clean up cursor handling. · f92ccfc0
      Jonathan Blandford authored
      Fri Jun  8 18:41:30 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_cursor): new function to
      	clean up cursor handling.
      
      	Pretty much nailed single selection motion, and multi-selection
      	focus minus the fact that the anchor isn't quite right.
      f92ccfc0
  32. 07 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      Handle key bindings to expand and collapse rows. · 157dc163
      Jonathan Blandford authored
      Wed Jun  6 20:01:38 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c
      	(gtk_tree_view_real_expand_collapse_cursor_row): Handle key
      	bindings to expand and collapse rows.
      	(gtk_tree_view_real_select_cursor_parent): New key binding.
      	(gtk_tree_view_real_toggle_cursor_row): New key binding.
      
      	* gtk/gtkmarshal.list: new
      	marshaller. (VOID__BOOLEAN_BOOLEAN_BOOLEAN)
      157dc163
  33. 01 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      Initial stab at getting the focus code to work. · 11043de6
      Jonathan Blandford authored
      Fri Jun  1 18:54:47 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c: (gtk_tree_view_focus): Initial stab at
      	getting the focus code to work.
      	(gtk_tree_view_class_init): Add a bunch of keybindings.
      
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_set_cell_data_func):
      	s/GtkCellDataFunc/GtkTreeCellDataFunc.
      	(_gtk_tree_view_column_set_tree_view): Use "notify::model" instead
      	of "properties_changed" to help justify the death of the latter
      	signal. (-:
      
      	* tests/testtreefocus.c (main): Let some columns be focussable to
      	test focus better.
      11043de6
  34. 25 May, 2001 1 commit
    • Havoc Pennington's avatar
      get sizes an icon set can render without falling back to missing image · 87684f95
      Havoc Pennington authored
      2001-05-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon
      	set can render without falling back to missing image icon
      
      	* gtk/gtktextview.c (gtk_text_view_size_request): request full
      	size of text, instead of random values
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): request full
      	size of tree view, instead of random values
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback
      	image in an appropriate size
      
              * gtk/gtkstock.h: Rename the stock items including _BUTTON_,
      	etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/
      
              Throughout: fix GTK_STOCK_BUTTON_ instances
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am:
      	Add a bunch of new stock items/icons
      
      	* gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
      	new function, convenience for inserting columns with a data func
      
      	* gtk/gtkiconfactory.c: keep a list of all existing icon factories
      	(_gtk_icon_factory_list_ids): use list of all factories to
      	generate a list of all known IDs
      
      	* gtk/gtkstock.c (gtk_stock_list_ids): replace
      	gtk_stock_list_items() with a function that returns all IDs known
      	including those for GtkIconFactory.
      87684f95
  35. 22 May, 2001 1 commit