Sun Dec 3 11:44:07 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.c: Strip GDK_RELEASE_MASK out of
the state we get from X as a temporary hack to
deal with the fact that GDK_RELEASE_MASK has the
same values as bits used by XFree86 to indicate the
keyboard group. (After patch from Vlad Harchev)
Thu Nov 30 12:39:22 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkspinbutton.c (gtk_spin_button_insert_text): Fix
some signed/unsigned comparison problems. (#6510,
David Kaelbling)
Thu Nov 30 11:19:56 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_move_word): Fix stupid
bug causing extra word movement backwards. (#15282, Marco Goetze)
Wed Nov 29 21:47:26 2000 Owen Taylor <otaylor@redhat.com>
[ Backport from 1.3.x ]
* gtk/gtktoolbar.c (gtk_toolbar_prepend_widget): Fix to
prepend not append. (Pointed out by Brett Hall.)
#11887.
Wed Nov 29 20:56:38 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch] (gtk_widget_is_ancestor): Change
return type to boolean (Oskar Liljeblad, #18648)
Thu Oct 26 02:10:32 2000 Tim Janik <timj@gtk.org>
[ Backport from 1.3 / otaylor, 29 Nov 2000 ]
* gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid
localization misbehaviour.
2000-11-27 Federico Mena Quintero <federico@helixcode.com>
* gtk/gtkspinbutton.c (gtk_spin_button_set_adjustment): Connect to
the "changed" callback of the adjustment. We need to redraw the
spin button's arrows when the adjustment's range changes.
(adjustment_changed_cb): Draw the arrows.
(gtk_spin_button_value_changed): Draw the arrows.
Sat Nov 18 11:56:39 2000 Owen Taylor <otaylor@redhat.com>
[ backport from 1.3.x ]
* gdk/gdkrgb.c: If possible, create only a single shm segment and
use multiple parts of it instead of creating a bunch of separate
segments, since the maximum number of segments per system is not
large.
* gdk/x11/gdkimage-x11.c (gdk_image_new): Don't set gdk_use_xshm
to False when we get EINVAL from shmget so that the caller of
gdk_image_new can retry with a smaller segment size.
Sat Nov 18 11:45:09 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c: Patch from ChiDeok Hwang to fix
memleaks found by Evan Martin.
2000-09-30 Martin Baulig <baulig@suse.de>
* gtk+.pc.in, gdk.pc.in: Provide pkg-config scripts.
* configure.in: Create *.pc scripts from the *.pc.in
templates.
* Makefile.am (pkgconfig_DATA): Install the *.pc
scripts in `$(libexecdir)/pkgconfig'.
Thu Sep 07 20:50:49 2000 George Lebl <jirka@5z.com>
* gtk/gtkmenu.c: Backported Nils Barth's patch for submenu
navigation with Owen's fixes and suggestions. The original
ChangeLog from Owen for HEAD goes as folllows: Apply patch from
Nils Barth and David Santiago to improve submenu
navigation. The patch does this by creating a triangular
region from the point where the pointer leaves the
menu to the submenu. While the pointer is in
that region and a timeout has not expired, events
that would cause the active submenu to change are
ignored.
Sun Sep 03 00:47:08 2000 George Lebl <jirka@5z.com>
* gtk/gtkwidget.h: Add some documenting comments about
GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and GTK_RECEIVES_DEFAULT
just as owen said on irc.
* gtk/gtkwindow.c (gtk_window_set_default): Don't blindly
set HAS_DEFAULT. Only set it if there isn't another window
holding it (a focus window which RECEIVES_DEFAULT) and only unset
it if the widget is not the focused window with RECEIVES_DEFAULT.
This fixes weird double default bugs in dialogs which has things
call gtk_window_set_default at times.
Fri Aug 18 17:27:46 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (gtk_clist_merge): Don't leave dangling
->prev fields when merging lists. (Found simultaneously
by Pawel Salek and Jakub Jelinek)
Thu Jul 27 05:06:29 2000 Tim Janik <timj@gtk.org>
* gtk/gtktable.c: applied patch from Phil Thompson
<phil@river-bank.demon.co.uk> that enables space settings for
the last row/columns as well.
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and
gtk/gtktypebuiltins.h resp. outside of the extern "C" block. Makes
some C++ compiler happy. Reported by Denis Vakatov
<vakatov@peony.nlm.nih.gov>.
Tue Jul 11 08:04:58 2000 Tim Janik <timj@gtk.org>
* gtk/gtktree.c (gtk_real_tree_select_child): eek, i've never seen
a bug here, never been here and never fixed anything ;(
(don't segfault if tree->root_tree is NULL, which happens prior
to widget realization, but puke instead).
Sun Jun 11 12:46:19 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_set_default_icon): Fix
cut and paste typo where wrong pixmap was being
unref'ed. (Pointed out by a friend of KUSANO Takayuki.)
Sun Jun 11 10:22:36 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_selection_bytes_per_item):
Add helper function to compute format / bytes
relationship. Use in a couple places to fix up
errors which assume 8 * format.
* gtk/gtkselection.c (gtk_selection_request): Use 32
rather than 8 * sizeof (GdkAtom), to work correctly
on Alpha.
Fri May 19 09:54:53 2000 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_clip_rect): fix mangling of rectangle
height with its width, spotted by Justin David Smith (Ytinasni)
<justins@velius.chaos2.org>.
Fri May 19 06:49:23 2000 Tim Janik <timj@gtk.org>
* gtk/gtkfontsel.c (gtk_font_selection_get_font_name): handle
"(nil)" foundries, patch from Grigorios Magklis.
* gtk/gtkfontsel.c (gtk_font_selection_load_font): don't crash
on non-available fonts, based on a patch by Grigorios Magklis
<maglis@cs.rochester.edu>.
Fri May 19 05:52:08 2000 Tim Janik <timj@gtk.org>
* gdk/gdkx.h: wrap contents into extern "C" { }, patch by Leonardo
Zide (leo@lokigames.com).