1. 14 Jun, 2001 7 commits
    • Jonathan Blandford's avatar
      Whoops. Forgot this a couple months ago. Now GtkTreeStore sort of sorts. · 426ac9c6
      Jonathan Blandford authored
      Thu Jun 14 19:21:27 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops.  Forgot
      	this a couple months ago.  Now GtkTreeStore sort of sorts.  I'll
      	finish it off tonight, though it basically works now when it's a
      	list.  Also, I have a sinking feeling neither GtkTreeStore or
      	GtkListStore actually resort when adding a new item.  I'll look
      	into it.
      426ac9c6
    • Havoc Pennington's avatar
      fix bug identified by warnings I just added to gtktextbuffer · c6046481
      Havoc Pennington authored
      2001-06-14  Havoc Pennington  <hp@redhat.com>
      
      	* demos/gtk-demo/main.c (load_file): fix bug identified by
      	warnings I just added to gtktextbuffer
      c6046481
    • Havoc Pennington's avatar
      fix other typo · a0021967
      Havoc Pennington authored
      2001-06-14  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c (window_group_cleanup_grabs): fix other typo
      
      	* gtk/gtkwidget.c (gtk_widget_propagate_state): fix typo
      
      	* gtk/gtktextbtree.c: don't leak node data all over the place.
      
      	* demos/gtk-demo/main.c (main): create fontify tags for the right
      	buffer
      
      	* gtk/gtktextbuffer.c, gtk/gtktexttagtable.c: enhance docs
      	to mention tags in the same table can't have the same name,
      	suggested by Skip Montanaro
      
      2001-06-11  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttagtable.c (gtk_text_tag_table_add): improve warning
      	for trying to add two tags with same name to the tag table
      
      	* demos/gtk-demo/main.c (main): fix colors ;-)
      a0021967
    • Owen Taylor's avatar
      Add a GtkWindowGroup struct that allows grouping together multiple windows · cf2fab90
      Owen Taylor authored
      Fri Jun  8 17:56:52 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.[ch] gtk/gtkmain.c: Add a GtkWindowGroup struct
      	that allows grouping together multiple windows so that grabs
      	within that set of windows only affect those windows.
      
      	* gtk/gtkmain.c gtk/gtkwidget.[ch]: Add a "grab_notify"
      	signal for notification when a widget becomes shadowed
      	by a grab or is no longer shadowed by a grab.
      
      	* gtk/gtkwidget.c (gtk_widget_propagate_state)
      	  gtk/gtkmain.c: (gtk_widget_grab_add): Don't allow
      	insenstive widgets to maintain a grab.
      cf2fab90
    • Owen Taylor's avatar
      Add missing gdk_rectangle_get_type() prototype. · 22491fd6
      Owen Taylor authored
      Mon Jun 11 18:15:16 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype.
      
      	* gtk/gtk[hv]scale.c: Include math.h, stdlib.h
      
      	* gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch]
      	  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c
      	  gtk/gtktextdisplay.c gtk/gtktextiter.[ch]
      	  gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt
      	  to recent changes in Pango.
      
      	* tests/testgtk.c: Set language tags with gtk_label_set_markup()
      	  to test whether the basic engine honors them.
      22491fd6
    • Alexander Larsson's avatar
      Add some example config files that can be used with the URW fonts. · 7d1a049b
      Alexander Larsson authored
      2001-06-14  Alexander Larsson  <alexl@redhat.com>
      
              * docs/README.linux-fb:
      	Add some example config files that can be used with the URW fonts.
      
      	* gdk/linux-fb/gdkvisual-fb.c (gdk_visual_init):
      	Set up the color ramps for DirectColor mode.
      7d1a049b
    • Havoc Pennington's avatar
      version to 1.3.6 · 68514482
      Havoc Pennington authored
      2001-06-11  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: version to 1.3.6
      68514482
  2. 13 Jun, 2001 6 commits
  3. 12 Jun, 2001 2 commits
    • Alexander Larsson's avatar
      New functions. · a20b4599
      Alexander Larsson authored
      2001-06-12  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
      	gdk_keymap_get_direction): New functions.
      a20b4599
    • Jonathan Blandford's avatar
      further justify gtk_tree_model_get_flags by adding a second flag for atk. · 5c60d1cf
      Jonathan Blandford authored
      Tue Jun 12 12:41:27 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
      	gtk_tree_model_get_flags by adding a second flag for atk.
      
      	* gtk/gtktreemodel.c: make cursor behavior interact better with
      	mouse presses.
      5c60d1cf
  4. 11 Jun, 2001 1 commit
  5. 10 Jun, 2001 1 commit
  6. 09 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      add read-only "scroll_offset" property for notification when the layout · 994a8daa
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_class_init): add read-only
      	"scroll_offset" property for notification when the layout offsets
      	may have changed
      	(gtk_entry_adjust_scroll): add notify for scroll_offset
      	(gtk_entry_layout_index_to_text_index): function to compensate for
      	preedit string when doing coordinate stuff on the entry's layout
      	(gtk_entry_text_index_to_layout_index): inverse function
      	(gtk_entry_get_layout_offsets): hook to get current position of
      	the layout
      	(gtk_entry_get_layout): hook to get the layout itself.
      
      	* gtk/gtklabel.c (gtk_label_get_layout): new function
      994a8daa
  7. 08 Jun, 2001 11 commits
    • Jonathan Blandford's avatar
      New keybinding. (gtk_tree_view_focus): Fix merge conflict. · a055d062
      Jonathan Blandford authored
      Fri Jun  8 19:49:29 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): New
      	keybinding.
      	(gtk_tree_view_focus): Fix merge conflict.
      a055d062
    • Jonathan Blandford's avatar
      new function to clean up cursor handling. · f92ccfc0
      Jonathan Blandford authored
      Fri Jun  8 18:41:30 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_cursor): new function to
      	clean up cursor handling.
      
      	Pretty much nailed single selection motion, and multi-selection
      	focus minus the fact that the anchor isn't quite right.
      f92ccfc0
    • Havoc Pennington's avatar
      remove bogus g_return_if_fail · 30d3e85d
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): remove
      	bogus g_return_if_fail
      
      	* io-gif.c (gif_get_lzw): if delay time is 0 or smaller than
      	likely timeout resolution, set it to an arbitrarily-chosen short
      	delay.
      	Fixes bug #55953 from warmenhoven@yahoo.com
      30d3e85d
    • Havoc Pennington's avatar
      added this function · 7009511a
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_get_start_iter): added this
      	function
      
      	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): added
      	this function
      7009511a
    • Alexander Larsson's avatar
      Added compat macros for all old GTK_TYPE_GDK_xxx types. Fixes bug #52892 · 34848237
      Alexander Larsson authored
      2001-06-08  Alex Larsson  <alexl@redhat.com>
      
      	* gtk/gtkcompat.h.in:
      	Added compat macros for all old GTK_TYPE_GDK_xxx types.
      	Fixes bug #52892
      34848237
    • Havoc Pennington's avatar
      forgot to save · aa0b73d8
      Havoc Pennington authored
      aa0b73d8
    • Havoc Pennington's avatar
      had GtkContainerClass as parent still · c9651bfd
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkhsv.h (struct _GtkHSVClass): had GtkContainerClass as
      	parent still
      c9651bfd
    • Havoc Pennington's avatar
      geez, don't call g_list funcs on GSList · 74e7da21
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): geez,
      	don't call g_list funcs on GSList
      
      	* gtk/gtkwidget.c (gtk_widget_child_focus): replaces
      	gtk_container_focus(), since some widgets have focusable locations
      	which are not other widgets. These widgets should not have to be
      	containers just to manage the focus. For example, GtkHSV is
      	currently a container for no good reason. Also, this cleans
      	up the "if (is_container && is_sensitive && is_drawable)
      	container_focus ()" mess in widget implementations.
      
      	* gtk/gtkcontainer.c (gtk_container_focus): deprecate this
      	function, and have it just call gtk_widget_child_focus().
      
      	* gtk/gtkhsv.c: derive from widget not container
      
      	Throughout: fix to reflect GtkContainer::focus change
      74e7da21
    • Jonathan Blandford's avatar
      warn if row/cols are out of range. Fix bug #55921 · 72ef055b
      Jonathan Blandford authored
      Fri Jun  8 12:38:49 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktable.c (gtk_table_resize): warn if row/cols are out of
      	range.  Fix bug #55921
      
      	* gtk/gtkliststore.c (gtk_list_store_new_with_types): fix doc bug
      	(#55920).
      
      Fri Jun  8 12:38:49 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktable.c (gtk_table_resize): warn if row/cols are out of
      	range.  Fix bug #55921
      
      	* gtk/gtkliststore.c (gtk_list_store_new_with_types): fix doc bug
      	(#55920).
      72ef055b
    • Owen Taylor's avatar
      Add a direction-changed signal, and gdk_keymap_get_current_direction(). · da562f4d
      Owen Taylor authored
      Fri Jun  8 12:03:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkkeys.[ch]: Add a direction-changed signal,
      	and gdk_keymap_get_current_direction().
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkkeys-x11.c
      	  gdk/x11/gdkmain-x11.c gdk/x11/gdkprivate-x11.h: Track
      	the current locked group, use it to set the keymap
      	direction.
      
      	* gtk/gtksettings.c: Add a new gtk-split-cursor setting
      	to determine whether we draw a split cursor or use
      	a jumping cursor based on the current direction.
      
      	* gtk/gtkentry.c gtk/gtktextview.c gtk/gtktextlayout.[ch]:
      	Obey the split cursor setting.
      
      Fri Jun  8 11:57:50 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimmulticontext.c (activate_cb): Only activate
      	when toggling on, not when toggling off... (#55906)
      
      Wed Jun  6 10:37:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_double_buffered):
      	s/gdk_window_begin_paint/gdk_window_begin_paint_region/
      	in docs. (#55812, Vitaly Tishkov)
      da562f4d
    • Anders Carlsson's avatar
      Changed signal name from selection_changed to changed in signal connection · 11699349
      Anders Carlsson authored
      2001-06-08  Anders Carlsson  <andersca@codefactory.se>
      
      	* demos/gtk-demo/main.c (create_tree): Changed signal name from
      	selection_changed to changed in signal connection to GtkTreeSelection,
      	also used g_signal_connectc since GtkTreeSelection is now a GObject.
      11699349
  8. 07 Jun, 2001 11 commits
    • Jonathan Blandford's avatar
      Now it's a GObject instead of a GtkObject. The · 59444d85
      Jonathan Blandford authored
      Thu Jun  7 18:25:42 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeselection.c: Now it's a GObject instead of a
      	GtkObject.  The GtkTreeSelection::selection_changed signal is now
      	the GtkTreeSelection::changed signal.
      
      	* gtk/gtktreeview.c: Modified to deal with new GtkTreeSelection
      	object.
      
      	* tests/gtktree*.c: Modified to deal with new GtkTreeSelection
      	object.
      59444d85
    • Havoc Pennington's avatar
      fix glib-mkenums and glib-genmarshal again · 10b868eb
      Havoc Pennington authored
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/Makefile.am: fix glib-mkenums and glib-genmarshal again
      10b868eb
    • Havoc Pennington's avatar
      use Owen's new way of doing stampfiles/generated sources · 8cd9e496
      Havoc Pennington authored
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* Makefile.am: use Owen's new way of doing stampfiles/generated
      	sources
      8cd9e496
    • Havoc Pennington's avatar
      fixups for glib-mkenums and glib-genmarshal (not tested yet because with · 138d95a9
      Havoc Pennington authored
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/Makefile.am: fixups for glib-mkenums and glib-genmarshal
      	(not tested yet because with absolute path to srcdir I can't build
      	atk, but it was broken anyway so this may help)
      138d95a9
    • Havoc Pennington's avatar
      output m4macros/Makefile · d0351d15
      Havoc Pennington authored
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: output m4macros/Makefile
      d0351d15
    • Jonathan Blandford's avatar
      hook up arrow buttons. Fixes #55460 reported by matthiasc@poet.de. · af921e96
      Jonathan Blandford authored
      Wed Jun  6 21:59:16 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow
      	buttons.  Fixes #55460 reported by matthiasc@poet.de.
      af921e96
    • Jonathan Blandford's avatar
      centralize expansion/collapsing so it only happens in one place. · 1d17426b
      Jonathan Blandford authored
      Wed Jun  6 21:18:54 2001  Jonathan Blandford  <jrb@webwynk.net>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): centralize
      	expansion/collapsing so it only happens in one place.
      	(gtk_tree_view_real_expand_row): ditto.
      1d17426b
    • Havoc Pennington's avatar
      subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables · 5aba82da
      Havoc Pennington authored
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* m4macros/glib-2.0.m4: subst GLIB_GENMARSHAL, GOBJECT_QUERY,
      	GLIB_MKENUMS variables
      
      	* gmodule-2.0.pc.in: add gmodule_supported variable
      
      	* glib-2.0.pc.in: add glib_genmarshal, gobject_query,
      	glib_mkenums variables
      
      	* configure.in: put G_MODULE_SUPPORTED value into
      	.pc files
      
      	* autogen.sh: support AUTOGEN_SUBDIR_MODE
      
      	* Makefile.am: add -uninstalled.pc.in to EXTRA_DIST
      
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* pango/Makefile.am: add libpango.la to _DEPENDENCIES for the
      	other libs
      
      	* configure.in: use AM_PATH_GLIB_2_0
      
      	* autogen.sh: support AUTOGEN_SUBDIR_MODE
      
      	* Makefile.am: dist the .pc.in files
      
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* atk/Makefile.am: use @GLIB_GENMARSHAL@ so we can use uninstalled
      	glib-genmarshal
      
      	* configure.in: rearrange the library checks to support
      	uninstalled linking
      
      	* autogen.sh: add support for AUTOGEN_SUBDIR_MODE
      
      	* atk-uninstalled.pc.in: new file, allows linking to uninstalled
      	ATK in giant GTK tarball
      
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* tests/Makefile.am: add missing -I flag
      
      	* gtk/Makefile.am: use @GLIB_MKENUMS@, @GLIB_GENMARSHAL@, etc.
      
      	* configure.in: use pkg-config to see if GModule is
      	supported; fix to properly turn on included loaders
      	when GModule isn't supported; don't use AC_CHECK_LIB
      	when libs are not installed yet
      
      	* autogen.sh: add support for AUTOGEN_SUBDIR_MODE
      
      	* Makefile.am (SUBDIRS): add m4macros subdir
      
      	* gtk/Makefile.am: $(srcdir)/foo targets must be $(srcdir)/foo in
      	dependencies also.
      5aba82da
    • Jonathan Blandford's avatar
      fix silly bug reported by "Padraig O'Briain" <Padraig.Obriain@Sun.COM>. · 2d18f2f4
      Jonathan Blandford authored
      Wed Jun  6 19:31:11 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_model): fix silly bug
      	reported by "Padraig O'Briain" <Padraig.Obriain@Sun.COM>.
      2d18f2f4
    • Pablo Saratxaga's avatar
      Updated Azeri and Walloon files · d630084e
      Pablo Saratxaga authored
      d630084e
    • Jonathan Blandford's avatar
      Handle key bindings to expand and collapse rows. · 157dc163
      Jonathan Blandford authored
      Wed Jun  6 20:01:38 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c
      	(gtk_tree_view_real_expand_collapse_cursor_row): Handle key
      	bindings to expand and collapse rows.
      	(gtk_tree_view_real_select_cursor_parent): New key binding.
      	(gtk_tree_view_real_toggle_cursor_row): New key binding.
      
      	* gtk/gtkmarshal.list: new
      	marshaller. (VOID__BOOLEAN_BOOLEAN_BOOLEAN)
      157dc163