1. 27 Oct, 2001 8 commits
    • Owen Taylor's avatar
      Oct 26 20:55:57 2001 Owen Taylor <otaylor@redhat.com> · c860d735
      Owen Taylor authored
              * gtk/gtkbutton.c: Revert changes to GTK_RUN_LAST.
              Unfortunately, people apparently erroneously connect
              to ::clicked for GtkToggleButton and expect
              they know what happened in the default signal handler
              instead of appropriately connecting to notification
              signal ::toggled. When the revolution comes, such
              people will be first against the wall.
      
              We'll just have to go back to the old less-reliable
              set-it-back hacks for handling model-view toggle
              buttons and entries. :-(.
      c860d735
    • Owen Taylor's avatar
      Oct 26 11:54:53 2001 Owen Taylor <otaylor@redhat.com> · c226dd70
      Owen Taylor authored
              * */Makefile.am: Update to install images.
      c226dd70
    • Anders Carlsson's avatar
      Remove documentation for gtk_tree_view_column_cell_event since that · d7d6a966
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/tmpl/gtktreeviewcolumn.sgml: Remove documentation for
      	gtk_tree_view_column_cell_event since that function has been
      	removed. This fixes #62084.
      d7d6a966
    • Hans Breuer's avatar
      to simplify parsing for exported functions: - made implementation · e2e69403
      Hans Breuer authored
      2001-10-27  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c
      	  gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c
      	  gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c
      	  gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c
      	  gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c
      	  gtk/gtktreestore.c gtk/gtkvbbox.c :
      	to simplify parsing for exported functions:
      	- made implementation signature static, when the local
      	  prototype already was
      	- put the functions return value on it's own line
      	- added as space between the function name and the
      	  opening bracket
      
      	* gtk/gtk.def : added the remaining exported functions
      e2e69403
    • Anders Carlsson's avatar
      Add note about width having to be greater than 0. This fixes #55574. · ed96ad82
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
      	Add note about width having to be greater than 0. This fixes
      	#55574.
      ed96ad82
    • Anders Carlsson's avatar
      Fix docs to say previous instead of next. · 110970bf
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_start):
      	Fix docs to say previous instead of next.
      	(gtk_text_iter_backward_word_start): Likewise.
      	This fixes bug #62980.
      110970bf
    • Anders Carlsson's avatar
      Change FALSE to TRUE in documentation for gdk_atom_intern, to document the · ac30b958
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/tmpl/properties.sgml: Change FALSE to TRUE in
      	documentation for gdk_atom_intern, to document the
      	correct behavior. This fixes #58798.
      ac30b958
    • Anders Carlsson's avatar
      Mention that the valid width is in range 0-65535 pixels. Fixes bug #56754. · bb8ea8c4
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkcontainer.c (gtk_container_set_border_width): Mention
      	that the valid width is in range 0-65535 pixels. Fixes bug
      	#56754.
      bb8ea8c4
  2. 26 Oct, 2001 13 commits
    • Anders Carlsson's avatar
      Remove a dot in the documentation. Fixes bug #62632. · 16f42cbd
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtksizegroup.c (gtk_size_group_set_mode): Remove
      	a dot in the documentation. Fixes bug #62632.
      
      This has got to be the most useful bug I have ever fixed :)
      16f42cbd
    • Anders Carlsson's avatar
      Ugh, broken pipe. · 2a8aab4f
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkmain-x11.c: Replace int and guint with
      	long and gulong in some places to make the code 64-bit
      	clean.
      	(_gdk_windowing_init_check): Replace gint with gulong.
      	This patch was made by George Lebl and fixes bug #62113.
      2a8aab4f
    • Anders Carlsson's avatar
      Replace int and guint with long and gulong in some places to make the code · dcb9a6e1
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkmain-x11.c: Replace int and guint with
      	long and gulong in some places to make the code 64-bit
      	clean.
      	(_gdk_windowing_init_check): Replace gint with gulong.
      	This patch was made by George Lebl and fixes bug #62113.
      dcb9a6e1
    • Anders Carlsson's avatar
      Set up destroy signals so that all windows will be destroyed when one is. · 78fca9fd
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* tests/testgtk.c
      	(create_window_states): Set up destroy signals so that
      	all windows will be destroyed when one is. This fixes
      	bug #58133.
      78fca9fd
    • Anders Carlsson's avatar
      Don't set a fixed height on the hscale widget. This fixes "bug" #55840. · dc0772a2
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* tests/testgtk.c (create_range_controls): Don't set a
      	fixed height on the hscale widget. This fixes "bug"
      	#55840.
      dc0772a2
    • Anders Carlsson's avatar
      Update GtkStyle since it's now a GObject and not a struct. This fixes · 944104f3
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtk-sections.txt: Update GtkStyle since it's now a
      	GObject and not a struct. This fixes #55807.
      
      Thanks to Damon for helping me out with gtk-doc and finding the solution
      to this bug.
      944104f3
    • Anders Carlsson's avatar
      Create new "indent_expander" style property. · fdb66f1a
      Anders Carlsson authored
      2001-10-26  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c:
      	(gtk_tree_view_class_init): Create new "indent_expander"
      	style property.
      
      	(gtk_tree_view_get_arrow_xrange): Add a tree argument
      	to the function since the xrange can change depending
      	on where in the tree we are.
      
      	(coords_are_over_arrow): Update function call to
      	gtk_tree_view_get_arrow_xrange.
      	(gtk_tree_view_draw_arrow): Likewise.
      
      	(gtk_tree_view_real_expand_collapse_cursor_row):
      	Call real_{expand|collapse}_row, so that we'll have an
      	animation.
      fdb66f1a
    • Kristian Rietveld's avatar
      fixed a small typo · ad29f522
      Kristian Rietveld authored
      Fri Oct 26 20:13:36 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * tests/Makefile.am: fixed a small typo
      ad29f522
    • Kristian Rietveld's avatar
      Anders Carlsson suggested to use G_N_ELEMENTS here · d84a4acb
      Kristian Rietveld authored
      Fri Oct 26 18:27:11 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * demos/gtk-demo/list_store.c (create_model): Anders
              Carlsson suggested to use G_N_ELEMENTS here
      d84a4acb
    • Sven Neumann's avatar
      gtk/gtkbutton.[ch] fixed inline comments · 82c14f6f
      Sven Neumann authored
      2001-10-26  Sven Neumann  <sven@gimp.org>
      
              * gtk/gtkbutton.[ch]
              * gtk/gtkdnd.c: fixed inline comments
      
              * gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar.
      82c14f6f
    • Sven Neumann's avatar
      gtk/gtkbutton.[ch] fixed inline comments · 5a6d127d
      Sven Neumann authored
      2001-10-26  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkbutton.[ch]
      	* gtk/gtkdnd.c: fixed inline comments
      
      	* gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar.
      5a6d127d
    • Jonathan Blandford's avatar
      sync minor clenup · b1ea32b8
      Jonathan Blandford authored
      b1ea32b8
    • Hans Breuer's avatar
      updated externals · 11e6236b
      Hans Breuer authored
      2001-10-26  Hans Breuer  <hans@breuer.org>
      
      	* gdk-pixbuf/gdk_pixbuf.def :
      	* gdk/gdk.def :
      	* gtk/gtk.def : updated externals
      
      	* gdk/win32/gdkpixmap-win32.c : removed duplicate of
      	gdk_window_lookup implementation. It already was in
      	gdk/win32/gdkwindow-win32.c
      
      	* gdk/win32/gdkproperty-win32.c : made it compile again
      	after GdkAtom API change
      
      	* gtk/gtk/makefile.msc.in : updated
      11e6236b
  3. 25 Oct, 2001 6 commits
    • Owen Taylor's avatar
      Version 1.3.10, require GLib 1.3.10. · ec303806
      Owen Taylor authored
      Wed Oct 24 11:36:33 2001  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in (GTK_MICRO_VERSION): Version 1.3.10,
              require GLib 1.3.10.
      
              * NEWS: updates.
      ec303806
    • 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
    • Matt Wilson's avatar
      call gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which · bbd503bc
      Matt Wilson authored
      2001-10-25  Matt Wilson  <msw@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_destroy): call
      	gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
      	now invalidates) so that we remove our idle functions.
      	(gtk_text_view_destroy_layout): remove the first_validate_idle as
      	well.
      bbd503bc
    • Matt Wilson's avatar
      remove conflict mark · 2a3d5739
      Matt Wilson authored
      2a3d5739
    • Matt Wilson's avatar
      the valid range for the 'indent' property is G_MININT to G_MAXINT. Don't · d8bd40f7
      Matt Wilson authored
      2001-10-25  Matt Wilson  <msw@redhat.com>
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for
      	the 'indent' property is G_MININT to G_MAXINT.  Don't use
      	-G_MAXINT for the minimum of the 'rise' property, use G_MININT
      	instead.
      d8bd40f7
    • Anders Carlsson's avatar
      This ought to make msw happy since it fixes #62887. · aa3a4f7e
      Anders Carlsson authored
      2001-10-24  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c:
      	(gtk_tree_view_real_expand_row): add an animate argument
      	(gtk_tree_view_real_collapse_row): likewise
      
      	(gtk_tree_view_button_press), (gtk_tree_view_button_release),
      	(gtk_tree_view_collapse_all), (gtk_tree_view_expand_row),
      	(gtk_tree_view_collapse_row): update functions that call
      	real_{expand|collapse}_row to set the animate argument
      	accordingly.
      aa3a4f7e
  4. 24 Oct, 2001 11 commits
    • Alexander Larsson's avatar
      Update to new Pango APIs · b4187613
      Alexander Larsson authored
      2001-10-24  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkfont-fb.c:
      	Update to new Pango APIs
      
      	* gdk/linux-fb/gdkproperty-fb.c:
      	Update to new GdkAtom APIs
      
      	* gdk/linux-fb/gdkwindow-fb.c:
      	Remove warnings
      b4187613
    • Jonathan Blandford's avatar
      Fix docs, #62808 · 74b49141
      Jonathan Blandford authored
      Mon Oct 22 20:07:21 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_prepend): Fix docs, #62808
      74b49141
    • Kristian Rietveld's avatar
      treat s_path as a child path · c9e39b2a
      Kristian Rietveld authored
      Wed Oct 24 22:54:07 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): treat
              s_path as a child path
      c9e39b2a
    • Kristian Rietveld's avatar
      more changes in an attempt to get it right. It's not yet ready for general · beaba6a4
      Kristian Rietveld authored
      Wed Oct 24 20:29:47 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreemodelsort.c: more changes in an attempt to get
              it right. It's not yet ready for general consumption.
      
              * tests/treestoretest.c: add a button and entry for the new
              iter_change function
              (iter_change): new function, to test
              the row_changed signal implementation of the GtkTreeModelSort
      
              * tests/testtreesort.c: cleanups, changes to test more features
              of the GtkTreeModelSort at once
      beaba6a4
    • Havoc Pennington's avatar
      remove hack to strip off the bogus newline, since we killed the bogus · 9b7d528a
      Havoc Pennington authored
      2001-10-24  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (clipboard_clipboard_buffer_received):
      	remove hack to strip off the bogus newline, since we killed the
      	bogus newline; fixes #61779
      9b7d528a
    • Havoc Pennington's avatar
      87b1f401
    • Havoc Pennington's avatar
      don't create layout if we didn't have one (gtk_text_view_set_buffer): · 4e8cbdca
      Havoc Pennington authored
      2001-10-24  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_update_adjustments): don't
      	create layout if we didn't have one
      	(gtk_text_view_set_buffer): invalidate so we get the idle handlers
      	as appropriate, avoids blanking the screen
      	(gtk_text_view_invalidate): new function to do invalidation,
      	containing old guts of invalidated_handler
      4e8cbdca
    • Owen Taylor's avatar
      Improve dreadful tooltips. · 679ca1ae
      Owen Taylor authored
      Wed Oct 24 10:29:47 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkalignment.c (gtk_alignment_class_init): Improve
      	dreadful tooltips.
      679ca1ae
    • Owen Taylor's avatar
      Always set window->parent (except or the root window itself); if the · b7c639ea
      Owen Taylor authored
      Tue Oct 23 17:31:42 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c gdk/win32/gdkwindow-win32.c: Always
      	set window->parent (except or the root window itself); if
      	the window's parent is not a GdkWindow, or is a window of
              type GDK_WINDOW_FOREIGN, set window->parent to the root parent.
      
      	* gdk/gdkwindow.c (gdk_window_get_toplevels): Don't include
      	windows of type GDK_WINDOW_FOREIGN.
      b7c639ea
    • Stanislav Visnovsky's avatar
      More updates. · ec00283f
      Stanislav Visnovsky authored
      2001-10-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
      
              * sk.po: More updates.
      ec00283f
    • Havoc Pennington's avatar
      if we move to the front of a segment, use the "slow" technique for moving · da4a3112
      Havoc Pennington authored
      2001-10-24  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextiter.c (gtk_text_iter_backward_chars): if we move to
      	the front of a segment, use the "slow" technique for moving
      	backward, so we don't mess up the any_segment field in the iter.
      	Fixes #57707
      
      	* tests/testtextbuffer.c: add code to detect #57707, to avoid
      	regression
      da4a3112
  5. 23 Oct, 2001 2 commits
    • Havoc Pennington's avatar
      only sensitize Cut if selection contains some editable text, #60975 · fa4e7a31
      Havoc Pennington authored
      2001-10-23  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (popup_targets_received): only sensitize Cut
      	if selection contains some editable text, #60975
      	(gtk_text_view_scroll_to_iter): remove warning about scrolling
      	prior to map; it should actually be OK to do so in many cases,
      	it would be nice to warn about scrolling when many lines have
      	height 0, but I don't know what to do about that. Perhaps
      	move part of flush_scroll into this function? comment added
      	to consider this.
      fa4e7a31
    • Havoc Pennington's avatar
      oops, didn't quite compile. · 60bec4dc
      Havoc Pennington authored
      60bec4dc