2007-06-19 Matthias Clasen * === Released 2.11.4 === * NEWS: Updates 2007-06-19 Sven Neumann * gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup(). 2007-06-19 Sven Neumann * gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private. Keep the tooltips in a hash table instead of a linked list. Improves performance when using large amounts of tooltips (#447214). * README.in: document the GtkTooltips changes. 2007-06-19 Johan Dahlin * gtk/*: Rename buildable methods to not clash with widget methods. (#448928, Torsten Schoenfeld) 2007-06-19 Emmanuele Bassi * gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for the timed poll of the storage file, since we are using multiple seconds intervals and we don't actually care about millisecond precision. (threads_dispatch), (threads_free), (gtk_recent_manager_init), (gtk_recent_manager_set_filename): Roll our own version of gdk_threads_add_timeout() using g_timeout_add_seconds_full() while holding the GDK main lock. * configure.in: Bump up the required GLib version, in order to use g_timeout_add_seconds_full(). 2007-06-19 Emmanuele Bassi * gtk/gtkrecentmanager.c: Use a static variable to hold the singleton and remove the code that binds a recent manager to a GdkScreen. (gtk_recent_manager_set_screen): Make it a NOOP. (gtk_recent_manager_get_for_screen): Proxy for gtk_recent_manager_get_default(). * gtk/gtk.symbols: * gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen() and gtk_recent_manager_get_for_screen(). * gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager singleton (if any) when reaching main loop depth of 0. * gtk/gtkrecentchooserdefault.c: (gtk_recent_chooser_default_dispose): Disconnect the changed signal only if we have a manager and we are connected to it. (set_recent_manager): Ditto. * README.in: Document the deprecations. 2007-06-18 Matthias Clasen * gtk/gtkcellrendererspin.c: Fix some issues with refcounting of the adjustment. (#448544, Carlos Garnacho) 2007-06-18 Gustavo J. A. M. Carneiro reviewed by: Matthias Clasen * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure invalidate notifiers. (#448484) 2007-06-17 Matthias Clasen * README.in: Updates * gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type. It was already documented as such. (#412357, Vincent Geddes) 2007-06-17 Matthias Clasen * gtk/gtkcontainer.c: Fix a doc typo. 2007-06-17 Richard Hult * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward Mac OS menu shortcut events to the right menu. 2007-06-17 Richard Hult * gdk/quartz/gdkevents-quartz.c (gdk_event_translate) (synthesize_crossing_events_for_ns_event) (find_window_for_ns_event): More refactoring of the event handling: Extract synthesizing of crossing events from find_window_for_ns_event so that it doesn't have any side effects, and call the new function from gdk_event_translate instead. 2007-06-16 Richard Hult * gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event), (gdk_event_translate): Remove pointless logging for unhandled events. Activate the application on non-left clicks, since that is only done for left clicks and we depend on it to get events routed properly for context menus and other popup windows. 2006-09-22 Dennis Cranston * gtk/gtkfilechooserbutton.c: (change_icon_theme), (model_add_bookmarks), (model_update_current_folder): * gtk/gtkfilechooserdefault.c: (shortcuts_reload_icons), (shortcuts_insert_path): Use the remote folder icon when appropriate. Follow up to #354887 2007-06-17 Christian Persch * gtk/Makefile.am: Pass the print settings to the preview programme. Bug #403717, patch by Carlos Garcia Campos. 2007-06-17 Xan Lopez * gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to GdkWindow. Patch by Tilman Sauerbeck from #63820. 2007-06-17 Daniel Elstner * modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress): Change input method behavior to act on key presses instead of key releases, matching normal text input behavior. This change alleviates the need to take special action for control keys not handled by the input module itself. 2007-06-17 Behdad Esfahbod * gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450, Sebastien Bacher, Alex "weej" Jones) 2007-06-16 Yevgen Muntyan * gtk/gtktextdisplay.c (render_para): fixed couple of drawing problems with block cursor (#448321). 2007-06-16 Richard Hult * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore events and break any grabs while the window is being dragged. 2007-06-16 Richard Hult * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for): Defer setting the parent until the window is shown, otherwise it gets unconditionally shown here. 2007-06-16 Johan Dahlin * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext (#448299, Jan Arne Petersen) 2007-06-16 Richard Hult * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event): Move the checks for no window or a non-GDK window from here... (gdk_event_translate): ...to here. Reorder the code so that we detect the cases where we need to break grabs before bailing out. 2007-06-16 Richard Hult * gdk/quartz/gdkevents-quartz.c (gdk_event_translate) (break_all_grabs): Break out into a separate function. 2007-06-16 Richard Hult * gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used to detect if the window is currently being moved with the mouse. 2007-06-16 Richard Hult * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for): Don't set parent/child relationship for tooltip windows since that moves the parent window to the front, due to the tooltip having a high window level. 2007-06-16 Christian Persch * gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name), (gtk_builder_get_type_from_name): * gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter name. Bug #448193.