2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
Merge from trunk:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.c: Share between the widgets
the recent chooser function for getting the filtered, sorted
and clamped list of recent files from the manager. (#418219)
* gtk/gtkrecentchoosermenu.c: Use the newly defined
_gtk_recent_chooser_get_items() function; remove some
pointer indirections.
* gtk/gtkrecentchooserdefault.c: Reload the items every time
a property affecting the view is changed; move the objects
unref and the source removal into the dispose function; use
the newly defined _gtk_recent_chooser_get_items()
function. (see #338843)
svn path=/branches/gtk-2-10/; revision=17517
2007-03-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
the background of the panel window on style changes. (#402144,
Benjamin Berg)
svn path=/branches/gtk-2-10/; revision=17493
2007-03-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
Handle the row reference path being NULL. (#410565, Joe Markus
Clarke, patch by Chris Wilson)
svn path=/branches/gtk-2-10/; revision=17488
2007-03-12 Kristian Rietveld <kris@gtk.org>
Merge from trunk:
* gtk/gtkfilechooserdefault.c (check_save_entry): immediately
bail out if current_folder is NULL. (#350988, lots of reporters,
modified patch by Jan Darmochwal).
svn path=/branches/gtk-2-10/; revision=17480
2007-03-10 Kristian Rietveld <kris@gtk.org>
Updated fix for #356515, merged from trunk:
* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
a focus-in event to the tree view after hiding the search dialog;
only hide the search dialog and send the focus events when the
dialog is currently visible.
svn path=/branches/gtk-2-10/; revision=17465
2007-03-10 Kristian Rietveld <kris@gtk.org>
Merge from trunk:
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
(gtk_tree_model_sort_real_unref_node): when (un)reffing an
element, also (un)ref its parent elements. (Fixes#364946,
reported by many, testcase by Andreas Koehler).
svn path=/branches/gtk-2-10/; revision=17458
2007-03-10 Kristian Rietveld <kris@gtk.org>
Merge from trunk:
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
(gtk_tree_model_sort_sort_level): ref count nodes the proper way,
(gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
(gtk_tree_model_sort_free_level): bring zero ref count loops in
sync,
(gtk_tree_model_sort_free_level): free child levels before
decreasing the zero ref count of the current level,
(gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
is > 0.
svn path=/branches/gtk-2-10/; revision=17456
2007-03-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c: Initialize the do_preview
field of PrintResponseData. (#396703, Christian Persch)
svn path=/branches/gtk-2-10/; revision=17454
2007-03-08 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
to an idle to avoid deadlock with xcb-ified libX11. (#413032,
Sebastian Dröge)
svn path=/branches/gtk-2-10/; revision=17437
2007-03-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_real_insert_page):
Set child visibility to FALSE here; it will be turned
back on in switch_page. (#413664, Carlos Garnacho)
svn path=/branches/gtk-2-10/; revision=17435
2007-03-08 Kristian Rietveld <kris@gtk.org>
Revert revision 17315:
* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
a focus-in event to the tree view after hiding the search dialog.
(#356515, Rich Burridge, Peter Parente).
svn path=/branches/gtk-2-10/; revision=17431
2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
stored in the current theme with the name
"gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
icons as reported by SHGetFileInfoW. (#412221)
svn path=/branches/gtk-2-10/; revision=17422
2007-03-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
focus around the arrow if there is no label widget.
(#124045, Cody Russell)
svn path=/branches/gtk-2-10/; revision=17420