1. 18 Oct, 2001 2 commits
  2. 17 Oct, 2001 2 commits
  3. 16 Oct, 2001 3 commits
    • Owen Taylor's avatar
      Rename ACTIVATE_MNEMONIC enum to MNEMONIC_ACTIVATE; signal was changed a · 5d7d5eed
      Owen Taylor authored
      Tue Oct 16 17:04:44 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwidget.c: Rename ACTIVATE_MNEMONIC enum to
              MNEMONIC_ACTIVATE; signal was changed a long time
              ago.
      
              * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale):
              Fix wrong return statement. (Reported by HideToshi
              Tajima and others.)
      
              * gtk/gtklabel.h (struct _GtkLabelClass): Remove
              left over select_all vfunc.
      5d7d5eed
    • 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
  4. 15 Oct, 2001 1 commit
  5. 13 Oct, 2001 1 commit
    • Tim Janik's avatar
      to compare pattern specs, use g_pattern_spec_equal() instead of direct · cf9f0b77
      Tim Janik authored
      Sat Oct 13 07:09:30 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern
              specs, use g_pattern_spec_equal() instead of direct field accesses.
              upon compressing two equal paths of the same type, the resulting
              priority has to be the maximum.
              * gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the
              GtkPathPriorityType enum and make it a macro.
      cf9f0b77
  6. 12 Oct, 2001 2 commits
  7. 11 Oct, 2001 3 commits
  8. 10 Oct, 2001 3 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
    • 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
    • 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
  9. 09 Oct, 2001 2 commits
    • 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
  10. 08 Oct, 2001 2 commits
    • Matthias Clasen's avatar
      s/succesfully/successfully/g · e7c7d9c1
      Matthias Clasen authored
              * gtk/gtkselection.c: s/succesfully/successfully/g
      e7c7d9c1
    • 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
  11. 06 Oct, 2001 2 commits
    • 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 3 commits
    • 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
  13. 04 Oct, 2001 2 commits
    • Havoc Pennington's avatar
      Fix #56586 · ced7a5fd
      Havoc Pennington authored
      2001-10-04  Havoc Pennington  <hp@pobox.com>
      
              Fix #56586
      
      	* gtk/gtksettings.c (gtk_settings_class_init): move the F10
      	accelerator setting here...
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_class_init): ...from over here,
      	because we try to use it when a menu bar hasn't necessarily been
      	initialized.
      ced7a5fd
    • Havoc Pennington's avatar
      fix test case, it previously verified incorrect behavior · 739ffc49
      Havoc Pennington authored
      2001-10-03  Havoc Pennington  <hp@redhat.com>
      
      	* tests/testtextbuffer.c (logical_motion_tests): fix test case,
      	it previously verified incorrect behavior
      
              Fixes for #61565
      
      	* gtk/gtktextiter.c (gtk_text_iter_set_line): don't return lines
      	off the end
      	(_gtk_text_btree_get_iter_at_line_char): don't return lines off
      	the end
      	(_gtk_text_btree_get_iter_at_line_byte): don't return lines off
      	the end
      	(gtk_text_iter_forward_lines): if on the last line, move to end of
      	it
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_last_could_contain_tag):
      	don't return a line off the end
      739ffc49
  14. 03 Oct, 2001 8 commits
    • Kristian Rietveld's avatar
      move insert_text and delete_text virtual functions to do_insert_text and · 3c09d348
      Kristian Rietveld authored
      Wed Oct  3 23:47:25  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtkeditable.[ch]: move insert_text and delete_text virtual
              functions to do_insert_text and do_delete_text, add signals
              insert_text, delete_text and changed
      
              * gtk/gtkentry.[ch]: remove signals insert_text, delete_text
              and changed. Updates to match new situation.
      
              * gtk/gtkspinbutton.c: updates to match new situation
      
              * gtk/gtkoldeditable.h: remove signals changed, insert_text
              and delete_text
      
              * gtk/gtkoldeditable.c: updates to match new situation
      
              * gtk/gtktext.c: updates to match new situation
      
              Fixes bug #59803
      3c09d348
    • Havoc Pennington's avatar
      allow testing the end position · 77dc57e9
      Havoc Pennington authored
      2001-10-03  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (test_log_attrs): allow testing the end
      	position
      
      	* gtk/gtktextbuffer.c (compute_log_attrs): update for pango
      	changes
      
      	* tests/testtextbuffer.c (logical_motion_tests): updates
      77dc57e9
    • jacob berkman's avatar
      s/retrive/retrieve/ · b02befc6
      jacob berkman authored
      2001-10-03  jacob berkman  <jacob@ximian.com>
      
      	* gtk/gtkwidget.c (gtk_widget_style_get_property):
      	* gtk/gtkstyle.c (_gtk_style_peek_property_value):
      	* gtk/gtksettings.c (apply_queued_setting):
      	* gtk/gtkmain.c (gtk_init_check):
      	* gtk/gtkcontainer.c (gtk_container_child_get_property):
      	s/retrive/retrieve/
      b02befc6
    • Kristian Rietveld's avatar
      forgot this one... · ec048201
      Kristian Rietveld authored
      ec048201
    • Havoc Pennington's avatar
      Throughout: assorted docs · eacd03ae
      Havoc Pennington authored
      2001-10-02  Havoc Pennington  <hp@redhat.com>
      
              Throughout: assorted docs
      
      	* gdk/gdkwindow.h: deprecate gdk_window_set_hints(), it's broken,
      	gdk_window_set_geometry_hints() should be used instead.
      
      	* gdk/gdkimage.h: deprecate gdk_image_ref, gdk_image_unref, and
      	document them
      
      	* gdk/x11/gdkx.h: remove gdk_get_client_window() since it doesn't
      	seem to exist in any .c files
      
      	* gdk/x11/gdkcolor-x11.c (gdk_colormap_query_color): docs,
      	g_return_if_fail (pixel < colormap->size).
      eacd03ae
    • Owen Taylor's avatar
      Allow NUOL for @target_list to mean, use gtk_drag_dest_get_target_list · a8d54496
      Owen Taylor authored
      Wed Oct  3 10:42:54 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c (gtk_drag_dest_find_target): Allow
      	NUOL for @target_list to mean, use
      	gtk_drag_dest_get_target_list (widget).
      
      	* gtk/gtkdnd.c (gtk_drag_finish): Fix problem where
      	drop could hang when calling gtk_drag_finish with
      	success == FALSE and del == TRUE.
      
      	* gtk/gtkdnd.c (gtk_drag_dest_drop): Fix problem where
      	drops without a matching target found would propagate
      	to the parent widget rather than being rejected.
      
      	* gtk/gtktextview.c (gtk_text_view_drag_data_received):
      	Use text_view->dnd_mark instead of mark name to be
      	consistent with the rest of the code.
      
      	* gtk/gtktextview.c (gtk_text_view_drag_motion): Make
      	pendantically correct for a drop-only-in-some-places
      	widget. (Check whether you can insert in drag_drop,
      	not just in drag_motion ... matters in theory, and
      	for Motif drag and drop in practice.)
      
      	* gtk/gtkentry.c (gtk_entry_drag_drop): Patch from
      	Damian Ivereigh to not allow drops on non-editable
      	entries. (#61124)
      
      	* gtk/gtkentry.c (gtk_entry_motion_notify): Don't allow
      	text to be moved from a non-editable entry.
      a8d54496
    • James Henstridge's avatar
      s/width/fixed_width/ in order to get things to compile. · b8a10f46
      James Henstridge authored
      2001-10-03  James Henstridge  <james@daa.com.au>
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
              s/width/fixed_width/ in order to get things to compile.
      b8a10f46
    • Jonathan Blandford's avatar
      docs · f2f35908
      Jonathan Blandford authored
      Wed Oct  3 00:37:09 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcelleditable.c: docs
      
      	* gtk/gtktreemodel.h: more docs.
      f2f35908
  15. 02 Oct, 2001 2 commits
    • Havoc Pennington's avatar
      docs · 230b3525
      Havoc Pennington authored
      2001-10-02  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c: docs
      
      	* tests/testtextbuffer.c (logical_motion_tests): add sentence
      	boundary tests
      
      2001-10-02  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/tree_widget.sgml: s/empahsis/emphasis/
      
      	* gtk/tmpl/gtkobject.sgml: update docs
      230b3525
    • Kristian Rietveld's avatar
      add editable_cells.c, list_store.c and tree_store.c · ced4124e
      Kristian Rietveld authored
      Tue Oct  2 20:18:32 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * demos/gtk-demo/Makefile.am: add editable_cells.c,
              list_store.c and tree_store.c
      
              * demos/gtk-demo/appwindow.c: remove tearoff item from
              File menu, put menubar and toolbar in handle boxes.
      
              * demos/gtk-demo/genincude.pl: various changes to support trees
      
              * demos/gtk-demo/main.c: various changes to support trees
      
              * demos/gtk-demo/stock_browser.c: changed name of demo
              to Stock Item and Icon Browser, so geninclude.pl doesn't see
              it as child
      
              * demos/gtk-demo/editable_cells.c: new file/demo
              * demos/gtk-demo/list_store.c: new file/demo
              * demos/gtk-demo/tree_store.c: new file/demo
      ced4124e
  16. 01 Oct, 2001 2 commits
    • Owen Taylor's avatar
      g_string_printfa => g_string_append_printf. · ae29d8b9
      Owen Taylor authored
      Mon Oct  1 16:05:44 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrc.c gtk/gtksettings.c:
      	g_string_printfa => g_string_append_printf.
      ae29d8b9
    • Jonathan Blandford's avatar
      add a finalize and destroy handler. · b41d6acd
      Jonathan Blandford authored
      Mon Oct  1 16:08:23 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_class_init): add a finalize
      	and destroy handler.
      
      	* gtk/gtktreestore.c (gtk_list_store_class_init): ditto, #59963
      
      	* gtk/gtktreeview.h (struct _GtkTreeViewClass): Add
      	'start_editing' flag to select_cursor_row.  Bug spotted by Manish
      	Singh <yosh@gimp.org>.
      b41d6acd