1. 30 Oct, 2000 1 commit
    • Jonathan Blandford's avatar
      New function. · c42cee3e
      Jonathan Blandford authored
      Mon Oct 30 19:23:50 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_expand_row): New function.
      
      	* gtk/gtktreeview.c (gtk_tree_view_collapse_row): New function.
      
      	* gtk/gtktreeview.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c
      	gtk/gtktreestore.h, gtk/gtktreeview.h, gtk/gtktreeviewcolumn.c,
      	gtk/gtktreeviewcolumn.h: Fixed inline docs.
      
      	* docs/reference/gtk/tree_widget.sgml: Proto intro to the tree
      	widget.  Needs writing someday.
      
      	* docs/reference/gtk/tmpl/gtktree*sgml: Added the tree widget to
      	the docs.
      c42cee3e
  2. 29 Oct, 2000 3 commits
  3. 24 Oct, 2000 2 commits
    • Havoc Pennington's avatar
      make it a static function · 2fab0eb1
      Havoc Pennington authored
      2000-10-24  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_scroll_to_mark_adjusted): make
      	it a static function
      
      	* gtk/gtktextbtree.c (gtk_text_btree_tag): Gee, maybe we should
      	redraw text when a tag is applied to it.
      
      	* gtk/gtktexttag.c (gtk_text_tag_affects_size)
      	(gtk_text_tag_affects_nonsize_appearance): private functions to
      	see if a tag requires various kinds of redraw/layout to be queued
      	up.
      
      	* gtk/gtktexttag.h (struct _GtkTextTag): Remove relief crackrock
      
      	* gtk/testtext.c (fill_example_buffer): Put the cursor
      	at the start of the buffer, so search works by default
      
      	* gtk/gtktextiter.c (lines_match): init match_start always
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_get_iter_at_line_index): New
      	function, get iter at a line + a byte index
      
      	* gtk/gtktextiter.c (gtk_text_iter_set_line_index): New function,
      	to set byte position within a line
      	(gtk_text_iter_check): remove leftover G_BREAKPOINT thing
      2fab0eb1
    • Havoc Pennington's avatar
      Re-enable the "find" dialog · 86b5c82a
      Havoc Pennington authored
      2000-10-23  Havoc Pennington  <hp@redhat.com>
      
              * gtk/testtext.c: Re-enable the "find" dialog
      
      	* gtk/testgtk.c: Add test for gdk_drawable_get_image
      
      	* gdk/gdkwindow.c (gdk_window_begin_paint_region): Fix bug where
      	the arguments to gdk_draw_drawable were in the wrong order
      	(gdk_window_paint_init_bg): This function was ignoring the
      	init_region, instead of clipping to it, so the entire backing
      	pixmap was cleared on every begin_paint()
      	(gdk_window_begin_paint_region): Hmm, the same list-walking bug
      	was in here again, the loop kept using the same GtkWindowPaint
      	over and over.
      	(gdk_window_begin_paint_region): Fix a bug where we had two
      	x_offset instead of x_offset and y_offset
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): get composite drawable
      	before we get the image.
      	(gdk_draw_drawable): get the composite before we draw the drawable.
      	(gdk_drawable_real_get_composite_drawable): default
      	get_composite_drawable implementation that returns the drawable
      	itself
      
      	* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Add
      	get_composite_drawable virtual function
      
      	* gdk/gdkwindow.c (gdk_window_begin_paint_region): Fix a cheesy
      	list-walking bug
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_drawable): Add a hack to
      	make this work if the source drawable is a GdkDrawableImplX11
      	instead of a public drawable type. This is really broken; the
      	problem is that GdkDrawable needs a virtual method get_xid(), but
      	of course that doesn't work in practice. Enter RTTI.
      
      	Also, improve mismatched depth message.
      
      	* gdk/gdkpixmap.c (gdk_pixmap_get_image): Implement get_image for
      	GdkPixmap
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_drawable_impl_x11_class_init):
      	install _gdk_x11_get_image as our implementation of get_image
      
      	* gdk/x11/gdkimage-x11.c (gdk_image_get): Rename to
      	_gdk_x11_get_image and export for use in gdkdrawable-x11.c
      
      	* gdk/gdkimage.c (gdk_image_get): Make this just a wrapper around
      	gdk_drawable_get_image
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): call virtual get_image
      
      	* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Virtualize
      	get_image
      
      	* gtk/gtktreestore.c (gtk_tree_store_get_node): remove weird
      	trailing semicolon after for loop
      86b5c82a
  4. 23 Oct, 2000 1 commit
    • Owen Taylor's avatar
      Fix typo · 5eba1098
      Owen Taylor authored
      Wed Oct 18 11:01:12 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gdk-pixbuf/Makefile.am: Fix typo
      5eba1098
  5. 20 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      create some stock buttons with the default accel group (create_image): · 1c9f0c0b
      Havoc Pennington authored
      2000-10-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testgtk.c (create_buttons): create some stock buttons
      	with the default accel group
      	(create_image): test some new GtkImage features
      	(make_message_dialog): test GtkMessageDialog
      	(create_modal_window): fix someone's bizzarro indentation
      
              * gtk/gtkwindow.h, gtk/gtkwindow.c: Implement
      	GTK_WIN_POS_CENTER_ON_PARENT.
      	Add "destroy with parent" setting, which means the window goes
      	away with its transient parent.
      	(gtk_window_get_default_accel_group): get the default accel group
      	for the window.
      	(gtk_window_set_destroy_with_parent): set/unset destroy with
      	parent flag
      	(gtk_window_read_rcfiles): invalidate icon set caches
      	after reloading rcfiles
      
      	* gtk/gtkenums.h (GtkWindowPosition): add
      	GTK_WIN_POS_CENTER_ON_PARENT, which centers a dialog
      	on its parent window when the dialog is mapped for the first time.
      
              * gtk/gtkmessagedialog.h, gtk/gtkmessagedialog.c: Add
      	a simple message dialog class
      
      	* gtk/gtkdialog.c (gtk_dialog_init): Connect delete event
      	handler to emit response signal, and maybe later it would
      	honor a hide_on_delete flag - though that isn't there yet.
      	Set border width on the vbox to 2, so we get some padding.
      	Use a button box for the action area.
      	(gtk_dialog_key_press): synthesize a delete event if Esc
      	is pressed and the GtkWidget key press handler didn't
      	handle the escape key.
      	(gtk_dialog_new_with_buttons): new function creates a dialog
      	with some default buttons in it.
      	(gtk_dialog_add_action_widget): add an activatable widget
      	as a button in the dialog - you can also add a non-activatable
      	widget by accessing the action area directly.
      	(gtk_dialog_add_button): add a simple button - stock ID or
      	label - to the action area
      	(gtk_dialog_response): emit response signal
      	(gtk_dialog_run): block waiting for the dialog, return
      	the response. Override normal delete_event behavior, so that
      	delete_event does nothing inside gtk_dialog_run().
      
      	* gtk/gtkdialog.h, gtk/gtkdialog.c: Add "response" signal
      	emitted when an action widget is clicked or the dialog gets
      	delete_event
      
      	* gtk/gtk.h: add gtkmessagedialog.h
      
      	* gtk/Makefile.am: add gtkmessagedialog.[hc]
      
      2000-10-20  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-sections.txt: Add dialog docs
      1c9f0c0b
  6. 18 Oct, 2000 3 commits
    • Havoc Pennington's avatar
      Some updates · 7a4c6893
      Havoc Pennington authored
      2000-10-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-sections.txt: Some updates
      
      	* gdk/gdk-sections.txt: remove GdkPixbufAlphaMode
      
      	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add new API, remove
      	GdkPixbufClass/GdkAnimationClass since those are private
      
      	* gdk-pixbuf/Makefile.am (IGNORE_HFILES): ignore more headers
      
      2000-10-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (gtk_text_iter_forward_to_newline): Fix a bug
      	where any number of empty lines would get skipped
      
      	* gtk/gtktextiter.h: Remove padding from GtkTextIter; live on the
      	edge.
      
      	* gtk/gtktextiter.c (gtk_text_iter_make_surreal): enhance the
      	warning about invalid iterators (explain more thoroughly)
      	(gtk_text_iter_in_region): rename gtk_text_iter_in_range
      
      	* gtk/gtktextview.c (FOCUS_EDGE_WIDTH): Make focus rectangle less
      	big
      
      	* demos/*.c: Add error handling
      
      	* gtk/gtktextbuffer.c: don't modify const iterators
      
      	* gtk/gdk-pixbuf-loader.c: Add full error handling here
      
      	* gtk/gtkimage.c (gtk_image_set_from_file): ignore errors
      	on file load
      
      	* gtk/gtkiconfactory.c: Update to reflect addition of error
      	handling to gdk-pixbuf loaders
      
      2000-10-16  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_get_module)
      	(gdk_pixbuf_get_named_module) (gdk_pixbuf_load_module):
      	add error reporting here also
      
      	* make-inline-pixbuf.c (main): use GError
      
      	* io-xpm.c: include unistd.h
      
      	* gdk-pixbuf-util.c: include string.h
      
      	* io-*.c: add error reporting
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): add
      	error reporting
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): Add error reporting
      
      	* gdk-pixbuf-io.h: Add GError** to load_increment and load
      	methods
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_save) (gdk_pixbuf_savev): return
      	a G_FILE_ERROR if we fail to write or close the file.
      
      	* gdk-pixbuf.h: remove GDK_PIXBUF_ERROR_IO, instead we'll use
      	G_FILE_ERROR_*. Rename enum to GdkPixbufError, properly following
      	the GError naming rules. Add GError** to load functions.
      7a4c6893
    • Owen Taylor's avatar
      cvsignore updates · 3f908d03
      Owen Taylor authored
      3f908d03
    • Owen Taylor's avatar
      remove generated files · a1a44c99
      Owen Taylor authored
      a1a44c99
  7. 04 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      Fix copyrights · 502e5a88
      Havoc Pennington authored
      2000-10-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c: Fix copyrights
      
      	* demos/testpixbuf.c: add inline pixbuf test
      502e5a88
  8. 14 Sep, 2000 1 commit
    • Owen Taylor's avatar
      Updates for new functions · 42e44b9f
      Owen Taylor authored
      Thu Sep 14 12:38:33 2000  Owen Taylor  <otaylor@redhat.com>
      
              * docs/reference/gdk/: Updates for new functions
      
      	* docs/reference/gdk/tmpl/gtkclipboard.sgml
      	docs/reference/gdk/tmpl/gtkselection.sgml: Updates
      	and new information.
      42e44b9f
  9. 07 Sep, 2000 1 commit
    • Owen Taylor's avatar
      Move gtk-reference files into GTK+ tree proper. · 71337db9
      Owen Taylor authored
      Thu Sep  7 14:15:03 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/* gtk/*: Move gtk-reference files into GTK+ tree proper.
      
      	* Update sections.txt files to correspond to current code,
      	tweak .sgml files and Makefiles to correspond.
      
      	* gtk/tmpl/gtkradiomenuitem.sgml (this): Remove extra <para>
      71337db9
  10. 28 May, 2000 1 commit
    • Owen Taylor's avatar
      Fix typo · 15434db6
      Owen Taylor authored
      Sun May 28 12:16:01 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/tmpl/gtkaspectframe.sgml: Fix typo
      15434db6
  11. 22 Apr, 2000 1 commit
  12. 09 Apr, 2000 1 commit
  13. 14 Mar, 2000 1 commit
  14. 07 Mar, 2000 1 commit
  15. 29 Feb, 2000 1 commit
  16. 28 Feb, 2000 3 commits
    • Damon Chaplin's avatar
      new menu item sections and minor update to notebook section from Nicolas · 160e3574
      Damon Chaplin authored
      2000-02-28  Damon Chaplin  <damon@helixcode.com>
      
              * gtk/tmpl/gtkradiomenuitem.sgml:
              * gtk/tmpl/gtkmenuitem.sgml:
              * gtk/tmpl/gtknotebook.sgml: new menu item sections and minor update to
              notebook section from Nicolas GEORGE <nicolas.george@ens.fr>.
      
      2000-02-18  Damon Chaplin  <damon@helixcode.com>
      
              * gtk/tmpl/gtktooltips.sgml: patch from
              David Benson <daveb@idealab.com> to note that gtk_tooltips_set_colors()
              does not work.
      
      2000-02-09  Damon Chaplin  <damon@helixcode.com>
      
              * gdk/tmpl/input_methods.sgml: minor fix.
      160e3574
    • Damon Chaplin's avatar
      added a note about no-window widgets. · e809560d
      Damon Chaplin authored
      2000-06-14  Damon Chaplin  <damon@helixcode.com>
      
      	* gtk/tmpl/gtktooltips.sgml: added a note about no-window widgets.
      e809560d
    • Damon Chaplin's avatar
      new menu item sections and minor update to notebook section from Nicolas · a629fd7f
      Damon Chaplin authored
      2000-02-28  Damon Chaplin  <damon@helixcode.com>
      
              * gtk/tmpl/gtkradiomenuitem.sgml:
              * gtk/tmpl/gtkmenuitem.sgml:
              * gtk/tmpl/gtknotebook.sgml: new menu item sections and minor update to
              notebook section from Nicolas GEORGE <nicolas.george@ens.fr>.
      
      2000-02-18  Damon Chaplin  <damon@helixcode.com>
      
              * gtk/tmpl/gtktooltips.sgml: patch from
              David Benson <daveb@idealab.com> to note that gtk_tooltips_set_colors()
              does not work.
      
      2000-02-09  Damon Chaplin  <damon@helixcode.com>
      
              * gdk/tmpl/input_methods.sgml: minor fix.
      a629fd7f
  17. 02 Feb, 2000 1 commit
    • Damon Chaplin's avatar
      rearranged a bit. · 4caf4dc7
      Damon Chaplin authored
      2000-02-03  Damon Chaplin  <damon@karuna.freeserve.co.uk>
      
      	* gdk/gdk-sections.txt: rearranged a bit.
      
      	* gdk/tmpl/event_structs.sgml: updated.
      
      	* gtk/gtk-sections.txt: added INCLUDE tag for Private Info section.
      
      	* gdk/tmpl/color_contexts.sgml: added note saying it is deprecated.
      	* gdk/tmpl/dnd.sgml: added note saying read the GTK+ DnD docs.
      4caf4dc7
  18. 19 Jan, 2000 1 commit
    • Damon Chaplin's avatar
      Started. · 5d9b2ed6
      Damon Chaplin authored
      	* gtk/tmpl/gtkscrollbar.sgml: Started.
      5d9b2ed6
  19. 08 Jan, 2000 1 commit
  20. 05 Jan, 2000 1 commit
    • Owen Taylor's avatar
      Missing </listitem>, remove extra <para> dos2unix missing </para> · 0a60e296
      Owen Taylor authored
      Wed Jan  5 10:23:41 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/tmpl/gtkprogress.sgml: Missing </listitem>, remove extra <para>
      	* gtk/tmpl/gtkobject.sgml: dos2unix
      	* gtk/tmpl/gtkcurve.sgml: missing </para>
      	* gtk/tmpl/gtkarg.sgml: dos2unix, missing </para>
      	* gtk/tmpl/gtkcolorsel.sgml: Missing </listitem>'s
      	* gtk/tmpl/gtksignal.sgml (signal): dos2unix, missing </para>'s
      	* gtk/tmpl/gtkmarshal.sgml: Missing </refsect2>
      0a60e296
  21. 19 Dec, 1999 1 commit
  22. 16 Nov, 1999 1 commit
    • Damon Chaplin's avatar
      fixed minor error - using <em>. · 3a202479
      Damon Chaplin authored
      1999-11-16  Damon Chaplin  <damon@karuna.freeserve.co.uk>
      
      	* gtk/tmpl/gtkmenubar.sgml: fixed minor error - using <em>.
      
      	* gtk/tmpl/gtknotebook.sgml:
      	* gtk/tmpl/gtklist.sgml: new sections from
      	Nicolas George <george@clipper.ens.fr>, with help from
      	"Bob Springett"	<bobspringett@claranet.fr>.
      
      	* gtk/tmpl/gtkobject.sgml:
      	* gtk/tmpl/gtkarg.sgml: new sections from
      	David Benson <daveb@idealab.com>.
      
      	* gtk/tmpl/gtkvbox.sgml:
      	* gtk/tmpl/gtkhbox.sgml: fixed line endings.
      
      	* gtk/tmpl/gtkvbbox.sgml: update from Lee Mallabone
      	<lee0@callnetuk.com>
      
      	* gdk/tmpl/drawing.sgml: fixed error in gdk_draw_arc() @angle2 param
      	- it is relative to @angle1 rather than from the 3 o'clock position.
      
      	* gtk/tmpl/gtkfontseldlg.sgml: changed enums to use @ fields.
      
      	* gtk/tmpl/gtkcolorsel.sgml:
      	* gtk/tmpl/gtkcolorseldlg.sgml:
      	* gtk/tmpl/gtkprogress.sgml:
      	* gtk/tmpl/gtkprogressbar.sgml: new sections from Tom Martone
      	<tom@martoneconsulting.com>
      
      	* gtk/tmpl/gtkclist.sgml: partially written documentation from
      	Paul Schifferer <isengard@geocities.com> who won't be able to finish it
      3a202479
  23. 11 Nov, 1999 1 commit
  24. 26 Oct, 1999 1 commit
  25. 25 Sep, 1999 1 commit
  26. 22 Sep, 1999 1 commit
    • Damon Chaplin's avatar
      ran make templates, to fix problems with structs. · 372c4d26
      Damon Chaplin authored
      
      
      1999-09-22  Damon Chaplin  <damon@karuna.freeserve.co.uk>
      
      	* gtk/tmpl/*.sgml: ran make templates, to fix problems with structs.
      
      	* gtk/gtk-sections.txt: rearranged GtkCombo section.
      
      	* gtk/tmpl/gtkvseparator.sgml:
      	* gtk/tmpl/gtkhseparator.sgml:
      	* gtk/tmpl/gtkgc.sgml:
      	* gtk/tmpl/gtkfeatures.sgml:
      	* gtk/tmpl/gtktipsquery.sgml:
      	* gtk/tmpl/gtkitem.sgml:
      	* gtk/tmpl/gtkinvisible.sgml:
      	* gtk/tmpl/gtkgamma.sgml:
      	* gtk/tmpl/gtkdata.sgml:
      	* gtk/tmpl/gtkcurve.sgml:
      	* gtk/tmpl/gtkcombo.sgml:
      	* gtk/tmpl/gtkaccellabel.sgml: documented.
      372c4d26
  27. 20 Sep, 1999 2 commits
  28. 28 Aug, 1999 1 commit
    • Damon Chaplin's avatar
      new section from Lee Mallabone. · fc3cd856
      Damon Chaplin authored
      1999-08-28  Damon Chaplin  <damon@karuna.freeserve.co.uk>
      
      	* gtk/tmpl/gtkbbox.sgml: new section from Lee Mallabone.
      
      	* gdk/gdk-sections.txt: rearranged rgb, regions, and drawing sections.
      
      	* gdk/tmpl/rgb.sgml: new section from Raph Levien, with a few changes
      	by me, including a little example app.
      
      	* gdk/tmpl/regions.sgml:
      	* gdk/tmpl/event_structs.sgml:
      	* gdk/tmpl/drawing.sgml: my first attempt.
      	* gdk/tmpl/cursors.sgml: tiny changes.
      fc3cd856
  29. 20 Aug, 1999 2 commits
  30. 17 Aug, 1999 2 commits
    • Owen Taylor's avatar
      .cvsignore updates · f29407af
      Owen Taylor authored
      f29407af
    • Owen Taylor's avatar
      Fix corrupted end tag. · a45a5ded
      Owen Taylor authored
      Tue Aug 17 09:14:01 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/tmpl/gtktypeutils.sgml: Fix corrupted end tag.
      
      	* gtk/tmpl/gtkselection.sgml gtk/tmpl/gtkrc.sgml
      	  gtk/tmpl/gtkdnd.sgml gtk/tmpl/gtkarrow.sgml
      	  gtk/tmpl/gtkpaned.sgml gtk/tmpl/gtkmisc.sgml
      	  gtk/tmpl/gtkhandlebox.sgml gtk/tmpl/gtkctree.sgml:
      	Added missing close tags.
      a45a5ded