1. 09 Jan, 2001 1 commit
    • Owen Taylor's avatar
      Restore build. · c26e3eee
      Owen Taylor authored
      Mon Jan  8 15:21:15 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* Makefile.am (SUBDIRS): Restore build.
      
      	* gdk/gdk-sections.txt gdk/gdk-docs.sgml
      	  gdk-pixbuf/gdk-pixbuf-sections.txt
      	  gtk/gtk-sections.txt gtk/gtk-docs.sgml: : Update.
      
      	* */tmpl/*: Changes from update.
      c26e3eee
  2. 11 Dec, 2000 1 commit
    • Owen Taylor's avatar
      Add a function to determine if a window is the focus widget within its · 0cdc00ec
      Owen Taylor authored
      Wed Oct 25 14:17:43 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.[ch] (gtk_widget_is_focus): Add a function
      	to determine if a window is the focus widget within
      	its toplevel.
      
      	* gtk/gtkcontainer.[ch]: Fix the return type of ::focus
      	to be boolean.
      
      	* gtk/gtkcontainer.c (gtk_container_real_focus): Move handling
      	of the case where the container CAN_FOCUS to here instead
      	of having it in each individual move-the-focus place.
      
      	* gtk/gtkcontainer.c: Rewrite handling of left-right and up-down
      	focusing to be geometric in a much more obvious sense. Arrowing
      	around is still non-intuitive because it isn't perfect and
      	because entries, etc, grab the arrow keys, but it at least
      	usually will do what you expect now.
      
      	* gtk/gtknotebook.[ch]: Many cleanups. Moved docs inline in this
      	file.
      
      	* gtk/gtknotebook.c: Change tabs to be a single item in
      	the focus chain. Make movement of focus on tabs with arrow
      	keys wrap around.
      
      	* gtk/gtknotebook.c (gtk_notebook_find_child): Add
      	CHECK_FIND_CHILD macro to give informative error messages
      	instead of silent returns.
      
      	* gtk/gtknotebook.c (gtk_notebook_init): Set the RECEIVES_DEFAULT
      	flag since we handle GdkReturn on the tabs.
      
      	* gtk/gtknotebook.c (gtk_notebook_expose_tabs): Invalidate
      	windows rather than sending expose events directly.
      
      	* gtk/gtknotebook.[ch] docs/Changes-2.0.txt: Move structure
      	definition for GtkNotebookPage into .c file, since it is private.
      
      	* gtk/testgtk.c (create_notebook): Add option for
      	testing borderless notebook.
      
      	* gtk/testgtk.c (page_switch): Removed egregious poking
      	around in GTK+ internals.
      
      	* docs/widget-system.txt: Remove references to GTK_REDRAW_PENDING.
      
      	* gtk/gtkclist.[ch]: Remove key press handler, handle focusing
      	properly through gtk_clist_focus. Make the title headers a
      	single item in the tab-focus chain, and make left-right wrap
      	around.
      
      	* gtk/gtkwindow.c (gtk_window_focus): Add a custom
      	focus method so that wrapping around works properly.
      
      	* gtk/gtktreeview.c: Remove calls to gtk_container_set_focus_child() -
      	that is handled for the widget now.
      0cdc00ec
  3. 05 Dec, 2000 1 commit
  4. 21 Nov, 2000 1 commit
  5. 14 Nov, 2000 2 commits
  6. 06 Nov, 2000 1 commit
    • Havoc Pennington's avatar
      Derive from GtkDialog, and use stock buttons. Should be 100% source · 69f42512
      Havoc Pennington authored
      2000-11-02  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkfilesel.h, gtk/gtkfilesel.c: Derive from GtkDialog, and
      	use stock buttons. Should be 100% source compatible, appropriate
      	filesel fields now point to dialog->vbox and dialog->action_area.
      	On the bizarre side, dialog->action_area and filesel->action_area
      	are not the same widget.
      	(gtk_file_selection_init): Put some padding around the selection
      	entry, so it isn't touching the GtkDialog separator.
      
      	* gtk/gtkfontsel.h, gtk/gtkfontsel.c: Derive from GtkDialog,
      	use stock buttons, etc. Should also be source compatible.
      	Set the dialog default title in _init not _new().
      
      	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
      	Use stock buttons; don't put a button box inside the existing
      	dialog button box. Don't bother with push/pop colormap anymore.
      
      	* gtk/gtkdialog.h (GtkResponseType): Add a bunch of more
      	specific GTK_RESPONSE_* values. This is clearer than ACCEPT/REJECT
      	for message dialog, and necessary for the font selection and color
      	selection with help and apply buttons.
      
      	* gtk/gtkdialog.c (gtk_dialog_add_button): Return a pointer
      	to the created button widget. Set GTK_CAN_DEFAULT on the button.
      	(gtk_dialog_init): Default to GTK_BUTTONBOX_END, put less spacing
      	between buttons, put less padding around the action area.
      	(gtk_dialog_run): Exit on unmap rather than on destroy.
      	This will also exit the loop if the widget is hidden.
      	(gtk_dialog_delete_event_handler): Use GTK_RESPONSE_DELETE_EVENT
      	instead of GTK_RESPONSE_NONE; since we're already adding a bunch
      	of GTK_RESPONSE_* stuff, this seems cleaner, and lets you
      	special-case delete event.
      
      	* gtk/gtktexttagtable.c, gtk/gtktextview.c: Fix doc comment
      	formatting
      69f42512
  7. 05 Nov, 2000 2 commits
  8. 04 Nov, 2000 1 commit
    • Havoc Pennington's avatar
      Added a bunch of stuff from unused · 5f91b6fc
      Havoc Pennington authored
      2000-11-04  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtk-sections.txt: Added a bunch of stuff from unused
      
      
      2000-11-04  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtkenums.h: remove trailing comma from GtkDeleteType member
      list
      
      * docs/Changes-2.0.txt: Add note about
      gtk_container_get_toplevels()
      
      * gtk/gtktextview.h: formatting
      
      * gtk/gtktextview.c: don't start descriptions with "Returns",
      confuses gtk-doc
      5f91b6fc
  9. 01 Nov, 2000 1 commit
  10. 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
  11. 29 Oct, 2000 2 commits
  12. 24 Oct, 2000 1 commit
    • 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
  13. 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
  14. 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
  15. 18 Oct, 2000 1 commit
    • 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 22 Apr, 2000 1 commit
  21. 09 Apr, 2000 1 commit
  22. 14 Mar, 2000 1 commit
  23. 07 Mar, 2000 1 commit
  24. 29 Feb, 2000 1 commit
  25. 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
  26. 19 Jan, 2000 1 commit
    • Damon Chaplin's avatar
      Started. · 5d9b2ed6
      Damon Chaplin authored
      	* gtk/tmpl/gtkscrollbar.sgml: Started.
      5d9b2ed6
  27. 08 Jan, 2000 1 commit
  28. 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
  29. 19 Dec, 1999 1 commit
  30. 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
  31. 11 Nov, 1999 1 commit
  32. 26 Oct, 1999 1 commit
  33. 25 Sep, 1999 1 commit
  34. 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
  35. 20 Sep, 1999 1 commit