1. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of sym...
      3612aee5
  2. 07 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Make the column drag code a bit more robust (still scary, though). · f62365d2
      Matthias Clasen authored
      Sat Aug  7 01:26:08 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Make the column drag code a bit more robust (still scary,
      	though).  (#106992, Christian Biere)
      
      	* gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Assert
      	that cur_reorder is NULL here.
      
      	* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
      	Reset cur_reorder to NULL, and only hide drag_highlight_window
      	if it exists.
      f62365d2
  3. 06 Aug, 2004 1 commit
  4. 04 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      s/childs/children/g. · c9cf312c
      Matthias Clasen authored
      Wed Aug  4 01:37:57 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreeview.c:
      	* gtk/gtktreestore.c:
      	* gtk/gtktreemodelfilter.c:
      	* gtk/gtknotebook.c: s/childs/children/g.
      c9cf312c
  5. 02 Aug, 2004 1 commit
  6. 01 Aug, 2004 1 commit
    • Jonathan Blandford's avatar
      New arguments · 1541442d
      Jonathan Blandford authored
      Thu Jul 29 16:36:42 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtktreeprivate.h: New arguments
      
              * gtk/gtktreeview.c:
              (gtk_tree_view_class_init): Add key_release callback
              (gtk_tree_view_init): Initialize timeout handler
              (gtk_tree_view_unrealize): clear timeout if needed
              (gtk_tree_view_key_press): Typeahead support
              (gtk_tree_view_key_release): Not used yet -- will be needed for
              typeahead.
              (gtk_tree_view_search_entry_flush_timeout): Remove typeahead entry
              in a timeout.
              (gtk_tree_view_ensure_interactive_directory):
              (gtk_tree_view_real_start_interactive_search):
              (gtk_tree_view_search_init):
              (gtk_tree_view_start_interactive_search): Typeahead support added.
              (gtk_tree_view_search_dialog_hide): Clear timeout and text when we
              hide.
      1541442d
  7. 28 Jul, 2004 1 commit
  8. 27 Jul, 2004 1 commit
  9. 23 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Remove unnecessary checks. (#148175, Morten Welinder) · a3553969
      Matthias Clasen authored
      Fri Jul 23 10:28:43 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreeview.c (gtk_tree_view_finalize):
      	* gtk/gtkradioaction.c (gtk_radio_action_finalize):
      	* gtk/gtkfontsel.c (gtk_font_selection_finalize):
      	* gtk/gtkcellview.c (gtk_cell_view_finalize):
      	* gtk/gtkcalendar.c (gtk_calendar_finalize):
      	* gtk/gtkactiongroup.c (gtk_action_group_finalize): Remove
      	unnecessary checks.  (#148175, Morten Welinder)
      a3553969
  10. 22 Jul, 2004 1 commit
  11. 20 Jul, 2004 2 commits
  12. 16 Jul, 2004 1 commit
  13. 15 Jul, 2004 2 commits
    • Matthias Clasen's avatar
      Correct the declared default values of several properties to be in sync · bd8d72d9
      Matthias Clasen authored
      2004-07-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_class_init):
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
      	Correct the declared default values of several properties
      	to be in sync with the actual initial values.
      bd8d72d9
    • Federico Mena Quintero's avatar
      Fix #126295: · 547261fc
      Federico Mena Quintero authored
      2004-07-14  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #126295:
      
      	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw a focus
      	indicator along the edge of the bin_window when the tree is empty.
      	(grab_focus_and_unset_draw_keyfocus): New helper function.
      	(gtk_tree_view_button_press): Remove a bit of superfluous code.
      	Use the helper function to save on duplicated code.
      	(gtk_tree_view_button_press): Grab the focus if the tree is empty.
      	(gtk_tree_view_focus): Allow focusing into an empty tree.
      547261fc
  14. 13 Jul, 2004 2 commits
  15. 09 Jul, 2004 1 commit
  16. 08 Jul, 2004 2 commits
  17. 07 Jul, 2004 3 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
      Small documentation fixes. · 84a6adf8
      Matthias Clasen authored
      2004-07-07  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c:
      	* gtk/gtktreeview.h: Small documentation fixes.
      84a6adf8
    • 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
  18. 06 Jul, 2004 1 commit
    • Jonathan Blandford's avatar
      Fix for #136496, Pawel Salek: · f80b81db
      Jonathan Blandford authored
      Tue Jul  6 10:00:22 2004  Jonathan Blandford  <jrb@redhat.com>
      
      	Fix for #136496, Pawel Salek:
      
      	* gtk/gtktreeview.c (gtk_tree_view_row_changed): Queue a redraw on
      	a node when it changes in fixed_height mode.
      
      	(gtk_tree_view_node_queue_redraw): new function to queue a redraw
      	on a node.
      f80b81db
  19. 02 Jul, 2004 1 commit
  20. 30 Jun, 2004 1 commit
  21. 08 Jun, 2004 1 commit
  22. 02 Jun, 2004 1 commit
  23. 14 May, 2004 1 commit
    • Matthias Clasen's avatar
      New function to go from tree window to tree coordinates, kept static for · 6ce035ae
      Matthias Clasen authored
      2004-05-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_tree_window_to_tree_coords):
      	New function to go from tree window to tree coordinates, kept
      	static for now until we figure out the multiple coordinate
      	system mess in GtkTreeView API-wise.
      	(gtk_tree_view_scroll_to_cell): Transform the coordinates
      	from tree window to tree coordinates, using the new function.
      	Previously, the x coordinate was wrongly transformed. (#142494)
      6ce035ae
  24. 11 May, 2004 1 commit
    • Matthias Clasen's avatar
      Use GTK_SELECTION_BROWSE. · 4c2dd05c
      Matthias Clasen authored
      2004-05-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use
      	GTK_SELECTION_BROWSE.
      
      	* gtk/gtktreeview.c: Make hover selection work for
      	GTK_SELECTION_BROWSE as well.
      4c2dd05c
  25. 10 May, 2004 2 commits
    • Matthias Clasen's avatar
      Add a note about COLUMN_FIXED restriction. · 16a4dc24
      Matthias Clasen authored
      2004-05-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_fixed_height_mode): Add a
      	note about COLUMN_FIXED restriction.
      16a4dc24
    • 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
  26. 14 Apr, 2004 1 commit
  27. 13 Apr, 2004 1 commit
  28. 12 Apr, 2004 1 commit
    • Matthias Clasen's avatar
      Typo fix. · d7cb9461
      Matthias Clasen authored
      2004-04-12  Matthias Clasen  <mclasen@dhcp64-228.boston.redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): Typo fix.
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_init): Don't add
      	a shadow inside the scrolled window, add it around the vbox.
      
      	* gtk/gtkentryprivate.h:
      	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
      	Return a boolean indicating whether the popup is positioned above
      	or below. Scroll the completions to the beginning or the end,
      	depending on the positioning.
      
      	* gtk/gtkentry.c (gtk_entry_completion_key_press): Make keynav
      	wrap around in the entry completion popup, and allow GDK_UP to
      	enter the popup.  (#137440)
      
      2004-04-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_size_request): Make sure the style is
      	there before using it.
      d7cb9461
  29. 11 Apr, 2004 1 commit
    • Jonathan Blandford's avatar
      Moved search entries into priv data. · 0aebe343
      Jonathan Blandford authored
      Sun Apr 11 15:08:45 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtktreeprivate.h: Moved search entries into priv data.
      
              * gtk/gtktreeview.c: Prep for type-ahead support.
      
              (gtk_tree_view_destroy): Destroy the search window explicitly.
              (gtk_tree_view_key_press): Minor change; prep for type-ahead
              (gtk_tree_view_ensure_interactive_directory): New function
              (gtk_tree_view_focus_out): Rework to handle new entry life-cycle.
              (gtk_tree_view_real_start_interactive_search): rework
              (gtk_tree_view_search_dialog_hide): ditto
              (gtk_tree_view_search_delete_event): ditto
              (gtk_tree_view_search_button_press_event): ditto
              (gtk_tree_view_search_key_press_event): ditto
              (gtk_tree_view_search_move): ditto
              (gtk_tree_view_search_init): ditto
      
              * gtk/gtktreeviewcolumn.c:
              (gtk_tree_view_column_cell_layout_clear): remove unused variable.
      
              * tests/testfilechooser.c: (main): change
      0aebe343
  30. 02 Apr, 2004 1 commit
  31. 15 Mar, 2004 1 commit
    • Owen Taylor's avatar
      Mention GtkTreeViewSearchEqualFunc return value oddity here as well. · 6bc9b7f5
      Owen Taylor authored
      Sun Mar 14 22:32:36 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Mention
              GtkTreeViewSearchEqualFunc return value oddity here as well.
      
              * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): On failure
              to get a string to compare to, return TRUE (no match), not
              FALSE (match). Handle %NULL string values gracefully.
              Remove unused variable. (#135962, Mark McLoughlin)
      6bc9b7f5
  32. 06 Mar, 2004 1 commit
  33. 05 Mar, 2004 1 commit
    • Jonathan Blandford's avatar
      scroll to the new path. · 48bfdd51
      Jonathan Blandford authored
      Fri Mar  5 18:00:36 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): scroll
              to the new path.
      
              * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): Update the
              allocation when scrolling instead of cancelling editing.
      48bfdd51