2007-06-12  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.10.13 ===

	* NEWS: Updates

2007-06-11  Matthias Clasen  <mclasen@redhat.com>

	Merge from trunk:

	* modules/printbackends/cups/gtkprintbackendfile.c:
	* modules/printbackends/cups/gtkprintbackendcups.c: Fix some
	locking issues.  (#420249, Christian Persch)

2007-06-10  Cody Russell  <bratsche@gnome.org>

	Merge from trunk:

	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab):
	Don't revert the mouse cursor to the built-in one when
	the user holds the mouse button down. (#445284, Tor Lillqvist)

2007-06-09  Matthias Clasen  <mclasen@redhat.com>

	Merge from trunk:

	* gtk/gtkcalendar.c (gtk_calendar_init): Handle return values
	from nl_langinfo() more correctly.

2007-06-07  Yevgen Muntyan  <muntyan@tamu.edu>

	Merge from trunk (#445196):

	* gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
	widget style to draw cursor instead of hardcoded black and grey
	(#79585, comment #30).

2007-06-06  Johan Dahlin  <jdahlin@async.com.br>

	Merge from trunk:

	reviewed by: Matthias Clasen <mclasen@redhat.com>
	
	* gtk/gtkassistant.c (gtk_assistant_update_buttons_state): 
	Check if the wizard is empty before trying to access the first page.
	(#444310, Johan Dahlin)

2007-06-04  Cody Russell  <bratsche@gnome.org>

	Merge from trunk:

	* gtk/gtklinkbutton.h
	* gtk/gtkaboutdialog.h: Change function argument "link"
	to "link_" to fix warnings for applications compiling
	with -Wshadow. (#379213)

2007-06-04  Cody Russell  <bratsche@gnome.org>

	Merge from trunk:

	* gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check
	if down_button is NULL.  This happens when the pathbar button
	for the current directory is too large to fit in the
	space, e.g. on Windows for directories named something like
	"My Documents and Settings".  (#389603)

2007-06-01  Michael Natterer  <mitch@imendio.com>

	Merge from trunk:

	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
	submenu opening direction for overlapping reasons if there is even
	less space on the other side (bug #441863, Tommi Komulainen).

2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* gtk/gtkfilechooserdialog.c: Reset the internal response_requested flag,
	once the response triggered by file_chooser_widget_response_requested has
	been processed (#347883).

2007-05-31  Kristian Rietveld  <kris@gtk.org>

	Merge from trunk for #438750.

	2006-12-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrenderertext.c (get_layout): Remove a special
	case for single-line layouts.

2007-05-30  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
	multi-monitor offset from x and y before setting up the rectangle
	for ClipCursor(). Fixes #442326.

2007-05-30  Matthias Clasen  <mclasen@redhat.com>

	Merged from trunk:

	* gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
	if the size changed.  (#418047, Alex Graveley)

2007-05-28  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/xcursors.h: Fix initialization of last item. (#440511)

2007-05-27  Tor Lillqvist  <tml@novell.com>

	* configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
	supposed to be -luser32, but he "l" was missing. But nobody has
	noticed, so presumably unnecessary.

2007-05-25  Xan Lopez  <xan@gnome.org>

	* gtk/gtkaction.c: (gtk_action_set_short_label):
	Use private->data->short_label to update the proxies. (#440780)

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

	Merged from trunk:

	* gtk/gtkprintoperation-unix.c (unix_end_run): Hold a
	refence on the print operation until gtk_print_job_send()
	is done.  (#440040, Chris Vine)

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

	Merged from trunk:

	* gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
	Don't crash and don't leak.  (#439565, Pedro Villavicencio)

2007-05-20  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>

        Merge from trunk:

        * gdk/directfb/gdkwindow-directfb.c:
        * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
        required to enable gdk_directfb_create_child_window.
        (Closes: #437379)

2007-05-18  Carlos Garnacho  <carlos@imendio.com>

	Refactor GtkFileChooserDialog sizing.

	* gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
	(_gtk_file_chooser_embed_get_resizable_hints):
	s/resizable_hints/resizable/, return just one boolean value to
	determine whether the filechooser should be resizable or not.

	* gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
	variables related to the GtkFileChooserEmbed get_default_size() and
	get_resizable() implementations.
	(struct GtkFileChooserDefault): Move default size management here.

	* gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
	Added, store currently allocated size to calculate default size later.
	(gtk_file_chooser_default_get_resizable_hints):
	s/resizable_hints/resizable/.
	(gtk_file_chooser_default_set_property): Reload settings if the file
	chooser action changes, this way the save expander state will be known
	before mapping the window, avoiding wrong window positioning and
	flickering. (#424299, #424309)
	(find_good_size_from_style): Only get size from style if it wasn't set
	previously.
	(gtk_file_chooser_default_get_default_size): return default size based
	on stored default size and preview/extra widget sizes.

	* gtkfilechooserdialog.c (file_chooser_widget_update_hints)
	(file_chooser_widget_realized_size_changed)
	(file_chooser_widget_unrealized_size_changed): simplified to
	(file_chooser_widget_size_changed): set window size and resizability
	based on the GtkFileChooserEmbed interface implementation. (Bug
	#420285, Tomeu Vizoso)
	(gtk_file_chooser_dialog_map): force a dialog size change, so it's
	clamped for sure to the 75% of the screen size.

2007-05-14  Behdad Esfahbod  <behdad@gnome.org>

	* modules/input/gtkimcontextthai.c
	(gtk_im_context_thai_filter_keypress):
	Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)

2007-05-14  Matthias Clasen  <mclasen@redhat.com>

	Merge from trunk:

	* gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
	size requisition for wide vertical separators.  (#438113,
	Benjamin Berg)

2007-05-13  Cody Russell  <bratsche@gnome.org>

	Merge from trunk:

	* gdk/win32/gdkevents-win32.c: Only do the configure event context
	iteration under WM_WINDOWPOSCHANGED instead of inside
	handle_configure_event().  This fixes a bug that prevented window
	contents from being redrawn after gtk_window_resize(). (#436721)

2007-05-12  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
	generation.  (#437879, Eddie C. Dost)

2007-05-11  Michael Natterer  <mitch@imendio.com>

	Merge from trunk:

	* gtk/gtktextview.c (selection_motion_event_handler): call
	gdk_device_get_state() so selecting works with XInput devices
	too. Spotted by Tommi Komulainen.

2007-05-10  Matthias Clasen <mclasen@redhat.com>

	Merge from trunk:

	* gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
	image before overwriting priv->image.  (#437281, Jochen Baier)

2007-05-10  Matthias Clasen <mclasen@redhat.com>

	Merge from trunk:

	* gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
	the backend if the region is empty.  (#437081, Sven Neumann)

2007-05-09  Dom Lachowicz <domlachowicz@gmail.com>

	Merge from trunk:
	
	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't 
	expand/collapse with Right/Left cursor keys on Windows
	(#436269, Daniel Atallah)

2007-05-09  Cody Russell  <bratsche@gnome.org>

	Merge from trunk:

	* modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs
	rendered upside down for non-XP theme (#435053, Daniel Atallah)

2007-05-09  Loïc Minier  <lool@dooz.org>

	* gdk/directfb/Makefile.am:
	* gdk/directfb/gdkcolor-directfb.c:
	* gdk/directfb/gdkevents-directfb.c: (dfb_events_io_func),
	(gdk_event_translate):
	* gdk/directfb/gdkkeys-directfb.c:
	(gdk_keymap_translate_keyboard_state):
	* gdk/directfb/gdkpixmap-directfb.c: (gdk_pixmap_new):
	* gdk/directfb/gdkproperty-directfb.c: (gdk_atom_name):
	* gdk/directfb/gdkscreen-directfb.c: (gdk_screen_is_composited):
	* gdk/directfb/gdkwindow-directfb.c:
	(_gdk_windowing_window_destroy), (_gdk_directfb_move_resize_child):
	Backport misc directfb fixes from trunk; thanks Attilio Fiandrotti for
	the patch.

2007-05-02  Armin Burgmeier  <armin@openismus.com>

	Merge from trunk:

	* gtk/gtkcombobox.c: Destroy the menu in dispose instead of
	finalize, because the menu might unparent itself from its parent and
	cause a signal emission on a finalized object. (#430746)