1. 16 Oct, 2001 3 commits
    • Matthias Clasen's avatar
      Documentation. Spelling fixes. · 4fc79615
      Matthias Clasen authored
              * gdk-pixdata.c, gdk-pixdata.h: Documentation.
              * gdk-pixbuf-csource.1: Spelling fixes.
      4fc79615
    • Owen Taylor's avatar
      Add a utility function to translate coordinates relative to one widget's · 1ebe3b51
      Owen Taylor authored
      Tue Oct 16 15:50:03 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_translate_coordinates): Add
      	a utility function to translate coordinates relative to
      	one widget's allocation to coordinates relative to another
      	widget's allocation.
      
      	* gtk/gtkradiobutton.c: Add a special ->focus() implementation
      	that:
      	 - only accepts external focus if there is no active
         	   member of the group or the button is active.
      	 - makes arrow keys move the active button as well
      	   as the focus
      	 - make tab tab out directly.
      	This makes a radio button group act as a single focus location.
      	(#53577).
      
      	* gtk/gtkcontainer.c (gtk_container_focus): Remove prefiltering -
      	it was only a small optimization that didn't matter and made
      	things more complicated.
      
      	* gtk/gtkcontainer.c (gtk_container_focus_tab): Get rid of custom
      	sorter for FOCUS_TAB as we did for the other focus directions,
      	sort by center of widgets, not upper-left corner. (Shouldn't
      	matter in general.)
      
      	* gtk/gtkcontainer.c: Restructure code to remove duplicate code
      	from the different types of focusing: encapsulate sorting the
      	widgets for the focus direction into one routine
      	(gtk_container_focus_sort()) and then share the work of moving the
      	focus between the different focus directions.
      
      	* gtk/gtkcontainer.c: Fix bug where arrow navigation might not
      	work correctly with focus chains containing non-immediate
      	children. Sorting was being done using allocation coordinates for
      	each widget in the focus chain, and if there were intermediate
      	window-widgets, these allocations would not be in the same
      	coordinate system.
      1ebe3b51
    • Jonathan Blandford's avatar
      add a mnemonic_activate function to option menu. · 3612439d
      Jonathan Blandford authored
      Tue Oct 16 15:12:26 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_mnemonic_activate): add a
      	mnemonic_activate function to option menu.
      3612439d
  2. 15 Oct, 2001 3 commits
  3. 14 Oct, 2001 1 commit
  4. 13 Oct, 2001 4 commits
  5. 12 Oct, 2001 2 commits
  6. 11 Oct, 2001 3 commits
  7. 10 Oct, 2001 7 commits
    • Owen Taylor's avatar
      Call setlocale (LC_ALL, ""). (#60606) · ca9158fa
      Owen Taylor authored
      Wed Oct 10 12:48:38 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmain.c (gtk_init_check): Call setlocale (LC_ALL, "").
      	(#60606)
      
      	* gtk/gtkmain.c (gtk_disable_setlocale): Add function
      	to disable calling setlocale (LC_ALL, "").
      
      	* gtk/gtkmain.c (gtk_set_locale): Indicate in the
      	docs that this function is not typically useful.
      
      	* gdk/x11/{gdkim-x11.c,gdkmain-x11.c,gdkprivate-x11.h}:
      	Automatically initialize GDK for the current locale
      	on gdk_init(). Don't reset locale to C when
      	XSupportsLocale() fails.
      
      	* gdk/linux-fb/gdkim-fb.c (gdk_set_locale): Remove
      	useless checks for UTF-8 locale breakage that mattered
      	only for X.
      
      	* examples/calendar/calendar.c
      	tests/{testgtk.c,testtext.c,testcalendar.c}: Remove calls to
      	gtk_set_locale().
      
      	* gtk/gtkiconfactory.c gtk/gtkitemfactory.c:
      	gdk_pixbuf_new_from_stream => gdk_pixbuf_new_from_inline.
      ca9158fa
    • Matthias Clasen's avatar
      Updates. · 82a3cc69
      Matthias Clasen authored
              * gtk/gtk-sections.txt, gtk/tmpl/gtkspinbutton.sgml,
              gtk/tmpl/gtkseparatormenuitem.sgml, gtk/tmpl/gtknotebook.sgml,
              gtk/tmpl/gtkstatusbar.sgml, gtk/tmpl/gtkradiobutton.sgml,
              gtk/tmpl/gtkradiomenuitem.sgml: Updates.
      
              * gdk-pixbuf/gdk-pixbuf-sections.txt,
              gdk-pixbuf/tmpl/gdk-pixbuf.sgml: Follow recent API changes.
      82a3cc69
    • Kristian Rietveld's avatar
    • Kristian Rietveld's avatar
      added gtk_tree_model_get_iter_from_string(). · 90d6349c
      Kristian Rietveld authored
      Wed Oct 10 21:13:46 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreemodel.[ch]: added gtk_tree_model_get_iter_from_string().
      
              Fixes bug #61904
      90d6349c
    • Owen Taylor's avatar
      Call setlocale (LC_ALL, ""). (#60606) · dfb3a1b0
      Owen Taylor authored
      Wed Oct 10 12:48:38 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmain.c (gtk_init_check): Call setlocale (LC_ALL, "").
      	(#60606)
      
      	* gtk/gtkmain.c (gtk_disable_setlocale): Add function
      	to disable calling setlocale (LC_ALL, "").
      
      	* gtk/gtkmain.c (gtk_set_locale): Indicate in the
      	docs that this function is not typically useful.
      
      	* gdk/x11/{gdkim-x11.c,gdkmain-x11.c,gdkprivate-x11.h}:
      	Automatically initialize GDK for the current locale
      	on gdk_init(). Don't reset locale to C when
      	XSupportsLocale() fails.
      
      	* gdk/linux-fb/gdkim-fb.c (gdk_set_locale): Remove
      	useless checks for UTF-8 locale breakage that mattered
      	only for X.
      
      	* examples/calendar/calendar.c
      	tests/{testgtk.c,testtext.c,testcalendar.c}: Remove calls to
      	gtk_set_locale().
      
      	* gtk/gtkiconfactory.c gtk/gtkitemfactory.c:
      	gdk_pixbuf_new_from_stream => gdk_pixbuf_new_from_inline.
      dfb3a1b0
    • Owen Taylor's avatar
      Get rid of GDK_PIXBUF_ERROR_HEADER/PIXEL_CORRUPT and use CORRUPT_IMAGE. · 63bd2b30
      Owen Taylor authored
      Wed Oct 10 11:52:17 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk-pixdata.c gdk-pixbuf.h: Get rid of
      	GDK_PIXBUF_ERROR_HEADER/PIXEL_CORRUPT and use CORRUPT_IMAGE.
      	Get rid fo GD_PIXBUF_ERROR_UNKNOWN_FORMAT and use the
      	existing UKNOWN_TYPE error. (#58308)
      
      	* gdk-pixbuf.h, gdk-pixdata.c: Rename gdk_pixbuf_new_from_stream()
      	back to gdk_pixbuf_new_from_inline(). Rework docs to try
      	and be helpful for the common case. (#58308)
      63bd2b30
    • Jonathan Blandford's avatar
      new function, #61923 (gtk_tree_selection_path_is_selected): Ditto · 57cc0e95
      Jonathan Blandford authored
      Wed Oct 10 01:19:04 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_iter_is_selected):
      	new function, #61923
      	(gtk_tree_selection_path_is_selected): Ditto
      57cc0e95
  8. 09 Oct, 2001 4 commits
    • Matthias Clasen's avatar
      Update. · b48389f3
      Matthias Clasen authored
              * gtk/tmpl/gtkcalendar.sgml, gtk/tmpl/gtkeditable.sgml: Update.
      b48389f3
    • Matthias Clasen's avatar
      Add entity for tmpl/inline.sgml. · 3fe07939
      Matthias Clasen authored
              * gdk-pixbuf/gdk-pixbuf.sgml: Add entity for tmpl/inline.sgml.
      
              * gdk-pixbuf/tmpl/inline.sgml: Update.
      
              * gtk/gtk-sections.sgml: Update.
      3fe07939
    • Jonathan Blandford's avatar
      We're a gobject, not a GtkObject. Thanks andersca. · 36f914f0
      Jonathan Blandford authored
      Tue Oct  9 17:40:24 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_finalize): We're a gobject,
      	not a GtkObject.  Thanks andersca.
      
      	* gtk/gtkliststore.c (gtk_list_store_finalize): ditto
      36f914f0
    • Jonathan Blandford's avatar
      fix broken code. · 59b95e91
      Jonathan Blandford authored
      Tue Oct  9 14:50:51 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_model_sort_column_changed): fix broken code.
      59b95e91
  9. 08 Oct, 2001 3 commits
    • Matthias Clasen's avatar
      s/succesfully/successfully/g · e7c7d9c1
      Matthias Clasen authored
              * gtk/gtkselection.c: s/succesfully/successfully/g
      e7c7d9c1
    • Matthias Clasen's avatar
      Update. · 7cdb0918
      Matthias Clasen authored
              * gdk-pixbuf/gdk-pixbuf-sections.txt,
              gdk-pixbuf/Makefile.am, gdk-pixbuf/tmpl/creating.sgml: Update.
      
              * gdk-pixbuf/tmpl/inline.sgml: New file.
      7cdb0918
    • Havoc Pennington's avatar
      remove unused enum · d85ec9a0
      Havoc Pennington authored
      2001-10-08  Havoc Pennington  <hp@pobox.com>
      
      	* demos/gtk-demo/stock_browser.c: remove unused enum
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_real_select_node):
      	pass the current selection state of the node in to the user
      	selection func
      d85ec9a0
  10. 07 Oct, 2001 2 commits
    • Matthias Clasen's avatar
      Update. · b6c2df95
      Matthias Clasen authored
              * gdk/tmpl/properties.sgml, gdk/tmpl/events.sgml,
              gdk/tmpl/regions.sgml, gdk/tmpl/general.sgml,
              gdk/tmpl/keys.sgml: Update.
      
              * gdk/gdk-overrides.txt, gdk/gdk-sections.txt: Remove nanox traces.
      b6c2df95
    • Fatih Demir's avatar
      Update. · 43406298
      Fatih Demir authored
      43406298
  11. 06 Oct, 2001 3 commits
    • Matthias Clasen's avatar
      add gtkimagemenuitem, gtksettings, gtkseparatormenuitem. · 1cd65976
      Matthias Clasen authored
             * gtk/gtk-docs.sgml: add gtkimagemenuitem,
              gtksettings, gtkseparatormenuitem.
      
              * gtk/tmpl/gtktreemodelsimple.sgml: remove unused file.
      1cd65976
    • Matthias Clasen's avatar
      Replace reference to non-existent function gdk_x11_cursor_get_xid by · 42c85f39
      Matthias Clasen authored
              * gdk/x11/gdkx.h (GDK_CURSOR_XCURSOR): Replace reference to
              non-existent function gdk_x11_cursor_get_xid
              by gdk_x11_cursor_get_xcursor.
      42c85f39
    • Jonathan Blandford's avatar
      improve warning. · 63973ab3
      Jonathan Blandford authored
      Fri Oct  5 20:50:00 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_iter_has_child): improve
      	warning.
      
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): ref and
      	unref nodes, #okay61676
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_sort): we listen
      	to the property; no need to clear the other columns.  Also, we go
      	to 'unsorted' if the model supports it.
      63973ab3
  12. 05 Oct, 2001 5 commits
    • Matthias Clasen's avatar
      remove GtkPacker. · e9172bf4
      Matthias Clasen authored
              * gtk/gtk-sections.sgml, gtk/objects_grouped.sgml: remove GtkPacker.
      e9172bf4
    • Sven Neumann's avatar
      gdk-pixbuf/gdk-pixbuf-io.c gdk-pixbuf/gdk-pixbuf-private.h · 40c29264
      Sven Neumann authored
      2001-10-05  Sven Neumann  <sven@gimp.org>
      
      	* gdk-pixbuf/gdk-pixbuf-io.c
      	* gdk-pixbuf/gdk-pixbuf-private.h
      	* gdk-pixbuf/gdk-pixbuf.c
      	* gdk-pixbuf/gdk-pixbuf.h
      	* gdk-pixbuf/io-jpeg.c
      	* gdk-pixbuf/io-png.c: changed GDK_PIXBUF_ERROR_BAD_OPTION_VALUE to
      	GDK_PIXBUF_ERROR_BAD_OPTION to we can use it for bad keys too. Added
      	new public API gdk_pixbuf_get_option() to retrieve key/value pairs
      	set by an image loader. Added support for saving and reading PNG tEXt
      	chunks in PNG images.
      
      	* demos/testpixbuf-save.c
      	* demos/testpixbuf-scale.c: simple tests for the new PNG tEXt chunk
      	feature.
      
      	* gdk-pixbuf/tmpl/gdk-pixbuf.sgml: adapt to changes in GDK_PIXBUF_ERROR
      	enum.
      40c29264
    • Kristian Rietveld's avatar
      should destroy the search dialog · 58a5467a
      Kristian Rietveld authored
      Fri Oct  5 19:06:07 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreeview.c (gtk_tree_view_leave_notify): should
              destroy the search dialog
      
              * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
              added check to prevent creation of a search dialog if there's
              already one around
      
              * gtk/gtktreeview.c: Define GTK_TREE_VIEW_SEARCH_DIALOG_KEY, and use
              it instead of "search-dialog" (when getting/setting the search dialog
              widget).
      58a5467a
    • Jakub Steiner's avatar
      broken image icon · 36fb7aa6
      Jakub Steiner authored
      36fb7aa6
    • Havoc Pennington's avatar
      fix GtkImage overview · 00e738c1
      Havoc Pennington authored
      2001-10-04  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtkimage.sgml: fix GtkImage overview
      00e738c1