2006-04-07 Matthias Clasen * === Released 2.8.17 === * NEWS: Updates * gtk/gtkcellrenderertext.c (get_layout): Set the alignment of the layout according to the text direction. (#157439, Arafat Medini, patch by Hooman Mesgary) 2006-04-06 Matthias Clasen * gtk/gtkmain.c: Make it compile. 2006-04-06 Tor Lillqvist Correct the appearance of non-square icons and cursors: pad them to square so that Windows won't stretch them. * gdk/win32/gdkcursor-win32.c (create_alpha_bitmap) (create_color_bitmap): Always create square bitmaps, take only side length as argument. (pixbuf_to_hbitmaps_alpha_winxp, pixbuf_to_hbitmaps_normal): Corresponding changes. 2006-04-05 Matthias Clasen * gtk/gtktextview.c (text_window_realize): Lower the window, to prevent late-constructed text windows from covering child widgets. (#336796, Yevgen Muntyan) * gtk/gtkmain.c (gtk_grab_add, gtk_grab_remove, gtk_grab_notify) (gtk_grab_notify_foreach): Rework the code which emits ::grab-notify signals to ensure that we emit enough signals. Also optimize the code to not do unnecessary tree walking. * gtk/gtkwidget.c (gtk_widget_class_init): Document ::grab-notify. 2006-04-05 Paolo Borelli * gtk/gtktextiter.c (gtk_text_iter_ends_line): handle the case of \r and \n split across lines. Bug #337022. * tests/testtextbuffer.c: add unit test. 2006-04-01 Gora Mohanty * configure.in: Added 'or' (Oriya) to ALL_LINGUAS. 2006-04-01 Dom Lachowicz * modules/engines/ms-windows/msw_style.c (draw_hline): Emulate WinXP's drawing of menu separators 2006-03-31 Matthias Clasen * gtk/gtkicontheme.c (load_icon_data): Don't leak the keyfile parser in the error case. 2006-03-31 Guntupalli Karunakar * configure.in: Added "dz" (Dzongkha) to ALL_LINGUAS. 2006-03-30 Matthias Clasen * gtk/gtkdnd.c (gtk_drag_get_icon): Make sure to get an icon window when constructing the fallback_icon. This fixes a crash when dragging icons between screens in nautilus. (#325751, Hylke van der Schaaf) 2006-03-29 Matthias Clasen * gtk/gtkfilechooserdefault.c (queue_edited_idle): Handle double queuing, rather than asserting that it does not happen. (#330617) 2006-03-28 Matthias Clasen * gtk/gtktextview.c (gtk_text_view_start_selection_drag): (selection_motion_event_handler): Fix drag-selection after double-click. (#323862, Benjamin Berg) * gtk/gtktextview.c (get_iter_at_pointer): Factor this out into a function and use it in move_mark_to_pointer_and_scroll, drag_scan_timeout and selection_motion_event_handler. (Paolo Borelli) 2006-03-28 Matthias Clasen * gtk/gtktextview.c (gtk_text_view_do_popup) (gtk_text_view_grab_notify): Move the call to gtk_text_view_end_selection_drag() from gtk_text_view_do_popup to gtk_text_view_grab_notify, so that it works not only for the text views own popup, but also for other ways in which we might become grab-shadowed during a selection drag. (#74620, Li Yuan) 2006-03-28 Sven Herzberg reviewed by: Tim Janik * gtk/gtkpixmap.c: (gtk_pixmap_set): only check for equal colormaps if the new pixmap is not NULL; fixes a warning when gtk_pixmap_set is called from gtk_pixmap_finalize (bug 336254) 2006-03-27 Matthias Clasen * gtk/gtkpixmap.c (gtk_pixmap_set): Handle the case of val being NULL. (#336254, Sven Herzberg) * gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that the widget is viewable. (#336200, Bastian Nocera) * gtk/gtktextbuffer.c (gtk_text_buffer_get_property): * gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix leaks. 2006-03-24 Matthias Clasen * gtk/gtktextview.c (gtk_text_view_value_changed): Don't call gdk_window_invalidate_rect() on unrealized widgets. (#335717, Nicolas Setton) 2006-03-22 Matthias Clasen * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Use fg_gc to draw the inter-row drop highlight. Also draw the line all the way across, and flip it in RTL mode. (#334906, Ian McDonald) 2006-03-20 Matthias Clasen * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): Don't leave page->tab_label dangling. (gtk_notebook_real_remove): Use GTK_IN_DESTRUCTION. (gtk_notebook_destroy): Leave the removal of the children to the container destroy method. (#319032, Yevgen Muntyan) 2006-03-20 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_remove): Use the existing GTK_IN_DESTRUCTION flag, rather than roll our own. 2006-03-20 Vladimer Sichinava * configure.in: Added "ka" (Georgian) to ALL_LINGUAS 2006-03-20 Matthias Clasen * gtk/gtkmain.c (gtk_get_option_group): Make sure gettext is initialized before using it. (#335129, Christian Persch) 2006-03-19 Matthias Clasen * gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that @cell must be one of the renderers of the icon view, warn if it is not, and ignore @start_editing if @cell is not set. (#335001, Emmanuel Rodriguez) 2006-03-16 Matthias Clasen * configure.in: Add a missing comma. (#334774, Peter Breitenlohner) * gtk/gtkimage.c (gtk_image_clear): Update the size of the image, by swapping the implementations of gtk_image_clear and gtk_image_reset. (#334657)