* gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
of the header window again. (#431067, Benjamin Berg)
svn path=/branches/gtk-2-10/; revision=17641
2007-04-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
depends on it.
* tests/testicontheme.c: Report builtin icons.
svn path=/branches/gtk-2-10/; revision=17639
2007-04-25 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame):
Don't double the delay time of the first frame. (#431997,
Björn Lindqvist)
svn path=/branches/gtk-2-10/; revision=17635
2007-04-25 Michael Natterer <mitch@imendio.com>
Merged from trunk:
* gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
scroll buttons (we were setting the state to ACTIVE but
immediately overwriting it with NORMAL or PRELIGHT). Also got rid
of many separate calls to gdk_window_invalidate_rect() by
remembering the old button state and only invalidating the area if
the state has changed (addresses parts of bug #433242, Tommi
Komulainen).
(gtk_menu_scroll_to): change the arrow states only if changing
from or to INSENSITIVE state, so we don't overwrite the ACTIVE
state set by above function.
svn path=/branches/gtk-2-10/; revision=17631
2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
* gtk/gtkicontheme.c (scan_directory): Ensure the
icon_theme->all_icons and dir->icons hash tables use the same string
as their keys. (#418531)
svn path=/branches/gtk-2-10/; revision=17625
2007-04-23 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c: Reduce
the amount of debug spew if we are not debugging.
svn path=/branches/gtk-2-10/; revision=17620
2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
Merged from trunk:
* gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
a leak by not increasing the refcount of the GtkRecentInfo
object when returning it (thanks to Matthias Clasen).
svn path=/branches/gtk-2-10/; revision=17607
2007-04-16 Alexander Larsson <alexl@redhat.com>
Merged from trunk:
* gtk/gtkprintoperation.c (gtk_print_operation_run):
Make async print preview work by actually starting
the print process in that case (#424168)
svn path=/branches/gtk-2-10/; revision=17604
2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
* gtk/gtkiconfactory.c (hash_table_get_keys),
(_gtk_icon_factory_list_ids):
* gtk/gtkstock.c (hash_table_get_keys), (gtk_stock_list_ids):
s/g_hash_table_get_keys/hash_table_get_keys/
Avoid the naming conflict with the recent GLib implementation
of the similar function.
svn path=/branches/gtk-2-10/; revision=17598
2007-04-10 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
to return a Bool to indicate success. Update callers and
implementors. Based on a patch by Owen Taylor.
* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
leak a reference to gdkwin.
svn path=/branches/gtk-2-10/; revision=17593
2007-04-09 Matthias Clasen <mclasen@redhat.com>
* xdgmimeglob.c (_xdg_glob_hash_insert_text): Duplicate the
mime_type when storing it in a hash node, to avoid leaks.
Update all callers.
svn path=/branches/gtk-2-10/; revision=17590
2007-03-28 Matthias Clasen <mclasen@redhat.com>
Merge from trunk:
* modules/printbackends/cups/gtkcupsutils.[hc]:
* modules/printbackends/cups/gtkprintbackendcups.c: Apply
a patch by John Palmieri to make the cups print backend support
raw printers.
svn path=/branches/gtk-2-10/; revision=17569
2007-03-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
toggle whether to show hidden files. (#344657,
Wouter Bolsterlee, Priit Laes, et al)
svn path=/branches/gtk-2-10/; revision=17558
2007-03-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c: Add a keybinding to
toggle the visibility of the location entry. (#383354,
John Pye, patch by Carlos Garnacho)
svn path=/branches/gtk-2-10/; revision=17556
2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
* gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
Initialise nxvisuals to 0 in order to handle
XGetVisualInfo() failures gracefully. (#419171)
svn path=/branches/gtk-2-10/; revision=17537
2007-03-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
make the selected printer visible. (#418403, Nickolay V. Shmyrev,
patch by Christian Persch)
svn path=/branches/gtk-2-10/; revision=17532
2007-03-15 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilechooserdefault.c (find_good_size_from_style):
PANGO_PIXELS() gives us device units, which are *points* in
pangocairo's parlance, but we want actual pixels. So, get the
screen's resolution to compute the actual number of pixels.
Fixes bug #418585.
svn path=/branches/gtk-2-10/; revision=17529
2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
Merge from trunk:
* gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
unused GError; do not allocate GtkRecentData and use a variable
on the stack. (#418673, Morten Welinder)
svn path=/branches/gtk-2-10/; revision=17526
2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
* gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
(gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
from recursion, which can happen for example if the app tries to
reload an icon from within a theme-changed handler. (#418531)
svn path=/branches/gtk-2-10/; revision=17522
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