2005-11-28 Matthias Clasen * === Released 2.8.8 === * NEWS: Updates * gtk/gtkscale.c (_gtk_scale_format_value): Insert an LRM, to prevent -20 to come out as 20- in RTL locales. (#322571, Tze'ela Hebron) * gtk/gtkaction.c (gtk_action_sync_button_stock_id) (connect_proxy): Buttons use the label property for stock ids. (#322565, Milosz Derezynski) * gtk/gtkiconview.c (update_text_cell, update_pixbuf_cell): Correctly handle the cell list and indices into it. (#321856) * gtk/gtktooltips.c (gtk_tooltips_timeout): Set timer_tag to 0 when the timeout is done. (#322291, Jean-Yves Lefort) * gtk/gtkfilechooserdefault.c (shortcuts_key_press_event_cb): Make F2 work for renaming bookmarks. (#320822, Jaap A. Haitsma, patch by Paolo Borelli) 2005-11-28 Tor Lillqvist * gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint): Look up FlashWindowEx() at run-time from user32.dll. If not found, fall back to FlashWindow(). Makes it work on NT4, too. (#318077) Make sure it compiles with older MSVC compilers, too. * gtk/gtkcalendar.c (gtk_calendar_init): Use GetLocaleInfo() on Windows to get the localized weekday and month names. strftime() in the Microsoft C library returns strings in the default codepage for the locale of the process, not the system codepage. Thus g_locale_to_utf8() isn't useable on the return value from strftime(). (#322603) 2005-11-27 Matthias Clasen * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup): Fix an example. (#322493, Elie De Brauwer) Fix two memory handling problems in GtkTreeView: (#322350, Søren Sandmann) * gtk/gtktreeview.c (gtk_tree_view_destroy) (gtk_tree_view_set_model): Remove all references to nodes in the old model. (gtk_tree_view_real_collapse_row): Unmark expanded_collapsed_node before removing the children. * gtk/gtkcolorbutton.c (gtk_color_button_init): Don't leak a PangoLayout here. (#322505, Paolo Borelli) 2005-11-27 Tor Lillqvist Once again rework Win32 window decoration code. Doesn't break #104514. The dialogs in gtk-demo now have the same decorations and behaviour as on X11. Tried to fix #322516 but it seems very hard to make the trivial sample program there behave as expected. * gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32): Keep the type hint tucked away here. * gdk/win32/gdkwindow-win32.c (set_or_clear_style_bits): Revert to the correct semantics. Each call to gdk_window_set_decorations() which calls this function is supposed to affect all decorations. (decorate_based_on_hints): New function, looks at both geometry hints and type hint and sets window decorations based on that. Consolidate code from gdk_window_set_geometry_hints() and gdk_window_set_type_hint() here. (gdk_window_set_geometry_hints, gdk_window_set_type_hint): Call decorate_based_on_hints(). 2005-11-25 Dom Lachowicz * modules/engines/ms-windows/*.[ch]: Merge with gtk-wimp's CVS. Includes improved menu icon spacing, [+]/[-] expander drawing, status-bar gippie drawing, and notebook tab drawing. 2005-11-24 Michael Natterer Merged from HEAD: * gtk/gtktoolbar.h (struct _GtkToolbar): changed two private guint that used to hold signal handler IDs to two guint of padding. * gtk/gtktoolbar.c (struct _GtkToolbarPrivate): added them as gulong here. (gtk_toolbar_screen_changed): changed accordingly. 2005-11-23 Matthias Clasen * gtk/gtkentry.c: Include gtkimcontextsimple.h (#322235, Kazuki IWAMOTO) 2005-11-23 Michael Natterer Merged from HEAD: * gtk/gtkrc.c (gtk_rc_reset_widgets): don't leak all toplevel windows on other screens (correctly remove all temporary references). 2005-11-21 Matthias Clasen Fix for bug #321542, Benedikt Meurer: * gtk/gtkcombobox.c (gtk_combo_box_set_active_internal): Emit notify::active. 2005-11-18 Matthias Clasen Fix crashes in connection with pathbar scrolling (#321560, Bogdan Nicula) * gtk/gtkpathbar.c (gtk_path_bar_update_slider_buttons): Stop scrolling when desensitising slider buttons. (gtk_path_bar_scroll_timeout, gtk_path_bar_slider_button_press): And use it here. * gtk/gtkpathbar.h (struct _GtkPathBar): Add a separate scrolling_down flag. 2005-11-18 Matthias Clasen * gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism. (#321777, Jens Granseuer) * gtk/gtkaction.c (disconnect_proxy): Disconnect the sync callback for the visibility property. (#321761, Philip Langdale) Turn off input methods in invisible entries, since they are confusing. (#317002, James Su) * gtk/gtkentry.c (gtk_entry_set_visibility): Toggle input methods if visibility changes. (popup_targets_received): Don't show the input method menu if the entry is invisible. 2005-11-17 Matthias Clasen * perf/treeview.c: const correctness fixes found by Arjan van de Ven and gcc.