2007-01-05 Matthias Clasen * === Released 2.10.7 === * NEWS: Updates 2007-01-05 Matthias Clasen * docus/tutorial/gtk-tut.sgml: Fix a formatting error * gtk/gtkpapersize.c: * gtk/paper_names.c: * gtk/paper_names_offsets.c: * gtk/gen-paper-names.c: Prefix non-static variables with _gtk. * gdk/x11/xsettings-common.h: Add xsettings_client_new_with_grab_funcs. * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into account when drawing the background. (#393166, Benjamin Berg) 2007-01-05 Behdad Esfahbod * gtk/gtklabel.c (get_layout_location): Fix broken width computation, again. 2007-01-05 Carlos Garnacho * gtk/gtknotebook.c (gtk_notebook_size_request): take into account both scroll arrows when calculating size request in GTK_POS_LEFT or GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch) 2007-01-05 Michael Natterer Merged from HEAD: * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to the right function (fix taken from maemo-gtk). 2007-01-05 Behdad Esfahbod * gdk/gdkprivate.h: * gdk/gdkpango.c (gdk_draw_layout_line_with_colors), (gdk_draw_layout_with_colors): * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed): Avoid overflow when converting coordinates to Pango units. (#332266, Jody Goldberg) 2007-01-04 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor after realization of the popup window, so clamp node doesn't fail. (#346616, Tommi Komulainen, patch by Kristian Rietveld). 2007-01-04 Behdad Esfahbod * gtk/gtklabel.c (get_layout_location): Fix uninitialized width variable. 2007-01-04 Matthias Clasen * gtk/Makefile.am: * gdk-pixbuf/Makefile.am: * configure.in: * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes. (#392646, Yevgen Muntyan) 2007-01-04 Matthias Clasen * demos/gtk-demo/textscroll.c: * gtk/gtkiconview.c: * gtk/gtkicontheme.c: * gtk/gtkhandlebox.c: * gtk/gtkfilechooserentry.c: * gtk/gtkentrycompletion.c: * gtk/gtkcolorsel.c: Fix some compiler warnings. 2007-01-03 Matthias Clasen * NEWS: Updates 2007-01-03 Matthias Clasen Fix #332604, reported by Joe Wreschnig, patch by Jan Arne Petersen and Behdad Esfahbod. * gtk/gtklabel.c (gtk_label_size_allocate): Only set the width of the layout when necessary. (get_layout_location): Use pango_layout_get_pixel_extents() instead of pango_layout_get_width(). 2007-01-03 Matthias Clasen * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): Don't leak conflicts. * gtk/gtkprintoperation.c (gtk_print_operation_finalize): Don't leak the status string. 2007-01-03 Matthias Clasen * gtk/gtkfilechooserdefault.c (update_chooser_entry): Exit early if we can't get file info - this happens if the iter points to the row where we are editing the name for a newly created folder. (#392191, Michael Partridge, patch by Kristian Rietveld) 2007-01-03 Matthias Clasen * gtk/*.c: * gdk/x11/*.c: Apply a patch by Chris Wilson to avoid spurious valgrind warnings from XSendEvent() calls. (#392532) * modules/printbackends/cups/gtkprintbackendcups.c: Close the http connection after getting the PPD. * gtk/gtkprinteroptionwidget.c (filesave_changed_cb): Fix memory leaks. 2007-01-03 Matthias Clasen * gtk/gtkassistant.c (remove_page): If the current page is removed, always pick a different one. (#392457, Colin Watson) 2007-01-03 Kristian Rietveld Merged from HEAD. * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event): cancel editing (ie. don't accept changes) when the entry loses focus. (Fixes #164494, reported by Chris Rouch). 2007-01-03 Matthias Clasen * configure.in: Export SED to make sourcing of libtool work. Tighten up the directfb pkgconfig check. 2007-01-03 Matthias Clasen * gtk/gtkentry.c (get_text_area_size): Work when the entry is not realized. (#392315, Yevgen Muntyan) * gtk/gtkentry.c (gtk_entry_queue_draw): Use GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson) * gtk/gtkentry.c (cursor_blinks): Don't get settings unnecessarily. (#392227) 2007-01-02 Matthias Clasen * gtk/gtkwindow.c (gtk_window_move_resize): Only process updates on the window at hand, not on all windows, to avoid violating resize/redraw ordering constraints. (#362406, Owen Taylor) 2007-01-02 Matthias Clasen * NEWS: Updates 2007-01-02 Matthias Clasen Try to fix #315732, reported by Luke Hutchinson: * gdk/x11/xsettings-client.[hc]: * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow will guarantee that it can be looked up in the xid hash later. Also, use the nesting server grab function during the xsettings client initialization. Finally, make xsettings client not eat DestroyNotifys so that GDK can do its regular cleanup. 2007-01-02 Tor Lillqvist * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_dispose): Fix typo. 2007-01-02 Matthias Clasen * gtk/gtkentry.c (get_text_area_size): Center in the frame. (#304482, Rob Staudinger, patch by Richard Stellingwerff) 2007-01-02 Michael Emmel * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 2007-01-01 Matthias Clasen * gtk/gtkscrolledwindow.h: * gtk/gtkscrolledwindow.c: Only handle key bindings for scrolling if the scrollbars are visible. (#340135, Christian Persch) 2007-01-01 Matthias Clasen * gtk/gtknotebook.h: * gtk/gtknotebook.c: Only handle key bindings for tab reordering if the tabs are shown and reorderable. (#390468, Yevgen Muntyan) * gtk/gtkmarshalers.list: Add required marshaler 2007-01-01 Matthias Clasen * gtk/gtkcontainer.c (gtk_container_class_list_child_properties): Mention in the docs that the return value is NULL-terminated. (#383373, Christian Neumair) 2007-01-01 Matthias Clasen * gtk/gtkicontheme.c (load_themes): Waste less time with non-directories. (#391725, Chris Wilson) 2007-01-01 Matthias Clasen Fix some IPP compliance issues. (#391523, Albrecht Dress) * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not IPP_TAG_OPERATION. * modules/printbackends/cups/gtkprintbackendcups.c (gtk_print_backend_cups_print_stream): Don't add the requesting-user-name attribute a second time. 2007-01-01 Matthias Clasen * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462) 2006-12-31 Emmanuele Bassi * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the right object when disconnecting from the GtkRecentManager::changed signal; save us a few indirections using a variable. 2006-12-31 Emmanuele Bassi * gtk/gtkrecentchoosermenu.c: Move the signal and idle disconnections into the dispose function, as well as the object unrefs; reset every handler id and the pointers. (suggested by Paolo Borelli, #390873) (set_recent_manager): Use the right object when disconnecting from the GtkRecentManager::changed signal; save us a few indirections. 2006-12-31 Matthias Clasen * gtk/gtkprintoperation-win32.c: Include windows.h (#391229, Kazuki Iwamoto) 2006-12-30 Matthias Clasen * gtk/gtktextview.c (gtk_text_view_destroy): Remove the scroll timeout. (#390872, Yevgen Muntyan) 2006-12-30 Matthias Clasen * gtk/gtkprintoperation-unix.c: * gtk/gtkprintbackend.c: * gtk/gtkfilechooserdefault.c: * gtk/gtksettings.c: Move a few settings to gtksettings.c to make sure they show up in the docs. (#365364, Christian Persch) 2006-12-30 Matthias Clasen * gtk/gtkassistant.c: Redraw assistant on reallocate to avoid rendering glitches. (#343956, Christian Persch, Carlos Garnacho) 2006-12-30 Matthias Clasen * gtk/gtkwindow.c (gtk_window_compute_configure_request_size): Correctly handle min size. (#320465, Philipp Langdale) 2006-12-30 Matthias Clasen * gtk/gtkentry.c: * gtk/gtklabel.c: * gtk/gtkpaned.c: * gtk/gtkstatusbar.c: * gtk/gtktextview.c: Don't install cursors on insensitive widgets. (#358864, Jan Schampera) 2006-12-29 Matthias Clasen * gtk/gtkentry.c (blink_cb): * gtk/gtktextview.c (blink_cb): Don't die in an assertion if focus went missing. Just warn, clean up and continue. (#374378) 2006-12-29 Carlos Garnacho * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that originally received the event is a notebook page. (#315440, reported by Mateusz Stefek) 2006-12-28 Matthias Clasen * gtk/gtkuimanager.c (update_node): Only use the results of find_menu/toolbar_position() if they succeed. May fix bug #388041. 2006-12-28 Tor Lillqvist * gtk/gtkstatusicon.c (gtk_status_icon_finalize) (gtk_status_icon_update_image): Don't leak HICONs on Win32. (#364868, Hiroyuki Yamamoto) 2006-12-27 Matthias Clasen * modules/printbackends/lpr/gtkprintbackendlpr.c (gtk_print_backend_lpr_print_stream): Close the io channel on unref. (#390159, Joe Markus Clarke) 2006-12-27 Tor Lillqvist * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu() on Windows. Keep track of where the last button click on the taskbar icon took place, and return that. Obviously not correct if no button has ever been clicked on the icon, or if the geometry of the taskbar has changed since. But for most use cases where a menu is going to be displayed as a direct result of a button click on the status icon, works fine. (#377349) 2006-12-27 Matthias Clasen * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL. * gtk/gtkcombobox.c (gtk_combo_box_set_model): (gtk_combo_box_unset_model): Handle repeated unsetting of models without warnings. (#367529, Robert Ancell) 2006-12-27 Matthias Clasen * modules/printbackends/cups/gtkcupsutils.c: * modules/printbackends/cups/gtkprintbackendcups.c: Use getters for http fields where available. (#364866, Björn Lindqvist) 2006-12-27 Matthias Clasen * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail. (#362614, Xan Lopez) 2006-12-27 Matthias Clasen * gtk/gtkuimanager.c (update_node): If a required action is missing, don't recurse over the children. (#349119, Chris Moller) 2006-12-27 Matthias Clasen Fix a few problems with nested menus in comboboxes (#386694, Yevgen Muntyan) * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always connect the activate callback. (gtk_combo_box_menu_item_activate): Do nothing if called on an item with a submenu. (gtk_combo_box_menu_row_deleted): Remove a submenu when it is empty. 2006-12-26 Kristian Rietveld Merged from HEAD. * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing the search dialog timeout never to be refreshed. (#389581, Andrzej Szombierski). 2006-12-26 Christian Persch * gtk/gtknotebook.c: (gtk_notebook_real_insert_page): Return the correct value from gtk_notebook_insert_page if the page-added handler reorders the tabs. Bug #345094. 2006-12-26 Carlos Garnacho Fix small regressions in GtkNotebook tab detaching. Bug #378852. * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs scrolling when hovering with a detached tab. (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the focus tab has changed during a tab DND operation. (gtk_notebook_drag_end): ensure that the dropped tab gets focused. (gtk_notebook_paint): do not take cur_page as a reference to paint the box if it's detached. (gtk_notebook_calculate_tabs_allocation): focus_tab may be different to the detached tab if we hover the arrows during a tabs detaching operation, do not allocate it unconditionally in 0,0. 2006-12-26 Carlos Garnacho Expose improvements for GtkNotebook. Bug #383435 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab labels. (gtk_notebook_draw_focus): do not repaint the whole focused tab again. (gtk_notebook_draw_tab): do not send handmade expose events to tab labels. 2006-12-26 Matthias Clasen * gtk/gtkrange.c (stop_scrolling): Avoid spurious redraws. 2006-12-25 Christian Persch * gtk/gtkpagesetupunixdialog.c: (printer_status_cb), (add_custom_paper): Fix mem leaks. Bug #389194. 2006-12-24 Matthias Clasen * gtk/gtktextview.c: Improve the DND scrolling behaviour. (#92387, Carlos Garnacho Parro) 2006-12-24 Bastien Nocera * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive) (#389183) 2006-12-24 Carlos Garcia Campos * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option when is selected in page setup dialog. Fixes bug #365047. 2006-12-24 Matthias Clasen * gtk/gtkentry.c (gtk_entry_button_press): When shift-clicking, keep the larger part of the selection selected. (#353709, Benjamin Otte) * gtk/gtkbutton.c (gtk_button_grab_notify): Be more careful when faking a button release. (#323146, Travis Abbott) * gtk/gtkhandlebox.c (draw_textured_frame): Draw the handle with the right orientation, depending on the position of the handlebox. (#159764, Benjamin Berg) * gtk/gtkentry.c (gtk_entry_set_text): Emit changed and notify:text only once. The same fix was applied for replacing the selection via DND or copy-and-paste. (#64998, Damon Chaplin, Sven Herzberg) 2006-12-23 Matthias Clasen * gtk/gtkimmulticontext.c: Be careful to not override GTK+ translations with the translations of the input method. (#317080, Tor Lillqvist) * modules/input/imcedilla.c: Use standard macros for translation domain and locale dir. * gtk/gtkimcontextsimple.c: Allow composing l with stroke. (#349638, Daniel Lublin) * gtk/gen-paper-names.c: Fix a thinko in the suffix calculation. (#382369, Christian Persch) * gtk/paper_names_offsets.c: Regenerated. 2006-12-22 Matthias Clasen * modules/engines/pixbuf/pixbuf.h: * modules/engines/pixbuf/pixbuf-rc-style.h: * modules/engines/pixbuf/pixbuf-style.h: Move G_GNUC_INTERNAL before function declarations. (#352276, Damien Carbery) 2006-12-22 Matthias Clasen * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris Wilson) 2006-12-22 Matthias Clasen * configure.in: Check for getc_unlocked. * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is unavailable. (#381499) 2006-12-22 Matthias Clasen * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't leak draw_border. (#387170, Kjartan Maraas) 2006-12-21 Matthias Clasen * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()): Typo fix. (#388123, Murray Cumming) * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Generate double-click events. (#380421, Tommi Komulainen) * gdk/x11/gdkinput-xfree.c (_gdk_input_configure_event): (_gdk_input_enter_event): Correct return_if_fail checks. (#379803, Tommi Komulainen) * gdk/gdkdisplay.c (gdk_display_beep): Improve docs. (#353438, Mariano Suárez-Alvarez) 2006-12-20 Matthias Clasen * gtk/gtktextbuffer.c: Add signal documentation. (#317064, Søren Wedel Nielsen) * gtk/gtktextview.c (gtk_text_view_start_selection_drag): Silently return if a drag is already in progress, rather than asserting. (#335622, Li Yuan, testcase by Erwann Chenede) * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog): Allow any GtkDialog that implements GtkFileChooser as dialog. (#335473, Tommi Komulainen) 2006-12-19 Matthias Clasen * gtk/gtkprintunixdialog.c: Improve the page sequence icon for the case of n_copies == 1. 2006-12-16 Tristan Van Berkom * gtk/gtkscrolledwindow.c: Fixed a bug in set_property() (setting "window-placement-set" could result in a crash because of boolean/enum mixup) 2006-12-15 Federico Mena Quintero * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for the case where the new title is the same as the old title, to preserve the behavior from GTK+ 2.8 (NULL and "" titles are not equivalent). Handle the case where title == priv->title. This was found by the LSB compatibility tests: https://bugzilla.novell.com/show_bug.cgi?id=223882 2006-12-14 Ankit Patel * configure.in: Added 'si' in ALL_LINGUAS 2006-12-14 Carlos Garnacho * gtk/gtkcalendar.c: draw arrows pointing to the right correctly placed inside their GdkWindow. Bug #385672. 2006-12-14 Amitakhya Phukan * configure.in: Added 'as' in ALL_LINGUAS 2006-12-13 Dom Lachowicz * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks drawn with extra line below tab in MS-Windows theme. Patch by Cody Russell 2006-12-11 Matthias Clasen * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more careful when overdrawing antialiased text. (#352435, Alex Jones, patch by Benjamin Otte) * gtk/gtksettings.c: Change the way in which color scheme information is merged to correctly handle vanishing colors. (#374420, Benjamin Berg, patch by Callum McKenzie) Also allow to separate entries in color schemes by ';' instead of newline. 2006-12-10 Matthias Clasen * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): Properly pass multi-value options to cups. (#355350, Jürg Billeter) 2006-12-10 Matthias Clasen * configure.in: Check for crt_extern.h and _NSGetEnviron. * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where environ is not available. (#384168, Min Sik Kim) 2006-12-07 Paolo Maggi Fixes bug #383407 * gtk/gtkentry.c (gtk_entry_set_text): check for completion->priv->changed_id > 0 before calling g_signal_handler_[un]block. (gtk_entry_completion_key_press): does not block/unblock the "changed" signal before calling gtk_entry_set_text. 2006-12-07 Matthias Clasen * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator underlines by giving labels a small draw-border. 2006-12-06 Matthias Clasen * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Update the sensitivity of the collate checkbutton more frequently, proposed by Tim Waugh. 2006-12-04 Christian Persch * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size), (gtk_page_setup_set_paper_size): Don't leak the old page size when setting a new one. Bug #382314. 2006-12-04 Matthias Clasen * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role since we no longer set window titles. 2006-12-03 Kristian Rietveld Merge from HEAD. * gtk/gtktreeview.c (validate_visible_area): when not using an explicit alignment, use the full area of the row (not just dy) to determine how to implicitly align it. (Fixes #363191, reported by Federico Mena Quintero). 2006-12-02 Matthias Clasen * gtk/gtkicontheme.c (insert_theme): Properly clean up if an icon theme index file has no directories. (#381236) 2006-12-02 Dom Lachowicz * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks not with PositionType.Top drawn incorrectly. Patch by Cody Russell 2006-11-28 Behdad Esfahbod Remove the broken Thai input method and add a functional Thai and Lao input method by Theppitak Karoonboonyanan. (#81031) * modules/input/imthai.c: * modules/input/gtkimcontextthai.c: * modules/input/gtkimcontextthai.h: * modules/input/thai-charprop.c: * modules/input/thai-charprop.h: Added. * modules/input/imthai-broken.c: Removed. * modules/input/Makefile.am: Updated. 2006-11-26 Benjamin Berg * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL widget. (#379503) 2006-11-25 Matthias Clasen * modules/printbackends/cups/gtkprintbackendcups.c: Make print dialog work when 'BrowseShortNames Off' is specified in cups configuration. Patch by Tim Waugh. 2006-11-22 Emmanuele Bassi * gtk/gtkrecentmanager.c: (get_uri_shortname_for_display): g_filename_from_uri() might fail; catch the failure and fall back to the non-local URI case. (#363437) 2006-11-17 Matthias Clasen Fix problems with drag cancellation. (#376535, Michael Natterer) * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal handlers before emitting drag-end. (gtk_drag_end): Disconnect signal handlers before removing the grab. 2006-11-16 Mariano Suárez-Alvarez * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): add gtk-doc blurb on GtkCellRendererText::edited (#376094) 2006-11-16 Emmanuele Bassi * gtk/gtkrecentchoosermenu.c: (gtk_recent_chooser_menu_add_tip): Apply the tip only if we have a displayable name for the item. (#365031, patch by padraig.obriain(at)sun.com) 2006-11-16 Emmanuele Bassi * gtk/gtkrecentmanager.c: Provide a fast path returning NULL when the limit is set to 0. * gtk/gtkrecentchooserdefault.c: * gtk/gtkrecentchoosermenu.c: Add the same fast path inside the RecentChooser implementation; add a check in the list clamping code. (#373466 and duplicates) 2006-11-15 Matthias Clasen * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos) 2006-11-14 Behdad Esfahbod * configure.in: Make libtool magic robust. (#352795) 2006-11-13 Paolo Borelli * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory leak (#370395) 2006-11-09 Kristian Rietveld Merge from HEAD. * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable don't move cursor case for SELECTION_NONE. (#371756, John Ellis). 2006-11-09 Carlos Garnacho * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion. 2006-11-08 Carlos Garnacho * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll timeout running if the slider buttons are hidden. (#372527) 2006-11-07 Carlos Garnacho * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make non-focused tabs xthickness/ythickness thinner. (#353962) 2006-11-07 Paolo Borelli * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory corruption (#357050). 2006-11-06 Alexander Larsson * gtk/gtkdnd.c: (gtk_drag_begin_internal), (gtk_drag_source_info_destroy), (gtk_drag_end), (gtk_drag_grab_notify_cb): Cancel drag when the grab is shadowed. (#122688) 2006-10-30 Kristian Rietveld Merge from HEAD * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't forget to queue a draw for the new cursor node. (Fixes #366548, reported by Sven Herzberg). 2006-10-30 Michael Natterer Merge from HEAD * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key only if we actually cancel a drag. Fixes bug #58389. 2006-10-30 Kristian Rietveld Merge from HEAD * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw the indicator if the column has a sort column id (and the model is sortable) or if the user explicitly requested the indicator to be shown. (Fixes #352738, Chris Vine). 2006-10-29 Kristian Rietveld Merge from HEAD * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against child removal in row-expanded callback. (#366782, John Ellis). 2006-10-28 Kristian Rietveld Merge from HEAD * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view has already been realized; scroll to background area instead of cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen). 2006-10-28 Kristian Rietveld Merge from HEAD * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt to create the GCs if the widget is realized. (Fixes #357578). 2006-10-28 Kristian Rietveld Merge from HEAD. 2006-09-15 Michael Natterer * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column header navigation/resizing/reordering to be more readable and lose one level of nesting. 2006-09-15 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly return after handling column button focus; we disable wrap around with this (which actually happened via a really weird code path). (Michael Natterer) 2006-09-15 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing code RTL aware, also break from the loops after we have seen the focussed column button (Michael Natterer). 2006-10-29 Tor Lillqvist * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling of the small icon of the window class. (#152620, Kazuki Iwamoto) 2006-10-29 Tor Lillqvist * gdk/win32/gdkcursor-win32.c (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors, for instance the built-in GDK ones. 2006-10-27 Kristian Rietveld Merge from HEAD. * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0 case to not overwrite the variables in the lower scope (which are used later on ...), get the path correctly and bail out when there isn't a node above us. (#359231). 2006-10-26 Christian Persch * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261). 2006-10-23 Dom Lachowicz * modules/engines/ms-windows/msw_style.c (draw_expander): Remember to free GDI Pen resources, introduced by bug 340201.(#364514) 2006-10-15 Paolo Borelli * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak. Fixes bug #362439. 2006-10-08 Matthias Clasen * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix a typo. (#359542, Ghee Teo) 2006-10-08 Matthias Clasen * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only reorder tabs if the focus is in the tab. (#350342, Carlos Garnacho Parro) 2006-10-08 Tor Lillqvist * gtk/gtkmain.c (do_pre_parse_initialization): Small fix to the code committed earlier today. 2006-10-08 Matthias Clasen * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't leak a list. (#360350, Benjamin Berg) 2006-10-08 Tor Lillqvist * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if environment variable LC_ALL or LANG is set, set the Win32 thread locale to the corresponding locale. Then call the C library setlocale() to set the C library locale accordingly. The inconsistency mentioned below is gone. (#339756) Do some special casing for Serbia and Montenegro. Handle the Latin and Cyrillic scripts for Azeri, Uzbek and Serbian. (enum_locale_proc): Helper function for the above functionality. * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check if the environment variables are set here, as they have already been taken into account and the Win32 thread locale has been set. 2006-10-07 Tor Lillqvist * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread locale's first day of week setting on Win32. (#339752, Bogdan Nicula) Don't do this if one of the environment variables that affect gettext is set, though. In that case use the week start day from the corresponding message catalog. Unfortunately the same logic isn't possible in the weekday and month name lookup; there even if you have set one of the aforementioned environment variables, you still get the weekday and month names from the Win32 thread locale. Yes, this is inconsistent. 2006-10-06 Matthias Clasen * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple): Fix the docs. (#360112) * gtk/gtkcellview.c: Don't set the background of the window in a no-window widget. (#359581, Xan Lopez) 2006-10-03 Matthias Clasen Fix interaction of GtkEntryCompletion with input methods. (#354495, Diego Escalante Urrelo) * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset the im context if we actually handle the key event. * gtk/gtkentrycompletion.c: Also propagate key release events to the entry.