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. 21 Nov, 2000 1 commit
  3. 14 Nov, 2000 1 commit
  4. 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
  5. 05 Nov, 2000 1 commit
  6. 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
  7. 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
  8. 29 Oct, 2000 1 commit
  9. 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
  10. 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
  11. 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
  12. 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
  13. 16 Aug, 1999 1 commit