2008-09-12 Matthias Clasen * === Released 2.12.12 === 2008-09-12 Matthias Clasen * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Correct a mismerge, spotted by Wouter Bolsterlee. 2008-09-12 Matthias Clasen * NEWS: Updates 2008-09-11 Matthias Clasen Merged from trunk: Bug 551378 - Print dialog: should try UDS when fetching PPD for localhost * modules/printbackends/cups/gtkprintbackendcups.c: Add ability to get PPD file from CUPS through Unix domain socket. Patch by Marek Kasik 2008-09-11 Matthias Clasen Merged from trunk: Bug 551567 – DND mark broken * gtk/gtktextbtree.c (redisplay_mark): invalidate mark properly Patch by Yevgen Muntyan. 2008-09-11 Matthias Clasen Merged from trunk: Bug 551699 – gtk_scrolled_window_destroy() is broken * gtk/gtkscrolledwindow.c (gtk_scrolled_window_destroy, gtk_scrolled_window_finalize): Check that the [hv]scrollbar attributes are not-NULL before destroying and unparenting them. Patch by Björn Lindqvist 2008-09-11 Matthias Clasen Merged from trunk: * gtk/gtkprinter.c: sets the is_default parameter to the value given by caller. Patch by Marek Kasik 2008-09-11 Matthias Clasen Merged from trunk: Bug 319849 - gtkcalendar look in RTL locales * gtk/gtkcalendar.c (calendar_realize_week_numbers), (gtk_calendar_realize): added missing RTL code to handle week numbers from gtk_calendar_size_alloc. Patch by Yair Hershkovitz 2008-09-11 Matthias Clasen Merged from trunk: * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): when extending the draw rectangle by the "draw-border" style property, subtract "left" from "x" and "top" from "y", not the other way around. Noticed by Michael Natterer 2008-09-11 Matthias Clasen Merged from trunk: Bug 550528 - IconView DND interface does not work if only used as source * gtk/gtkiconview.c: Make source-only DND work. Found by Alex Simon 2008-09-11 Matthias Clasen Merged from trunk: Bug 549810 – Memory leaks in printing code * gtk/gtkprintjob.c (gtk_print_job_set_property): * modules/printbackends/file/gtkprintbackendfile.c (output_file_from_settings): * modules/printbackends/test/gtkprintbackendtest.c (output_test_from_settings): free some temporary strings. Patch by Yevgen Muntyan. 2008-09-11 Matthias Clasen Merged from trunk: Bug 549354 – Crash trying to open a file on a remote folder * gtk/gtkfilechooserdefault.c (error_message_with_parent): Handle the fact that parent may be NULL without crashing. 2008-09-11 Matthias Clasen Merged from trunk: * gtk/gtksettings.c: When reconstructing the color hash, try harder to avoid unnecessary notification, since this can lead to infinite reloading of rc files in some situations. 2008-09-11 Matthias Clasen Merged from trunk: Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page email * gtk/gtkprintoperation.c: Clamp page ranges to correct ranges. Patch by Marek Kasik 2008-09-11 Matthias Clasen Merged from trunk: Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called inside "apply" signal handler * gtk/gtkassistant.c: Don't emit signals with extra parameters. Patch by Antti Kaijanmäki 2008-09-11 Matthias Clasen Merged from trunk: Bug 542523 - GtkTextTag should handle setting properties to NULL * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when setting it to NULL instead of displaying a warning. Patch by Xavier Claessens 2008-09-11 Matthias Clasen Merged from trunk: Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu): Call shortcuts_check_popup_sensitivity() every time the menu is popped up. Problem reported by Hong Jen Yee 2008-09-11 Matthias Clasen Merged from trunk: * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset the image when the label is set to "(None)". Reported by Neil Roberts 2008-09-11 Matthias Clasen Merged from trunk: * gtk/gtkuimanager.c (update_node): Skip update of accelerator child node if it has no associated action. Fixes #541950. Patch by Christian Neumair 2008-09-11 Matthias Clasen Merged from trunk: Bug 528845 – segv from GtkBuilder on attempting under GtkCellView * gtk/gtkcellview.c: Don't blindly chain up in the buildable implementation. Reported by Kevin Ryde. 2008-09-11 Matthias Clasen Merged from trunk: Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not contain :// 2008-09-11 Matthias Clasen Merged from trunk: Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu): Call shortcuts_check_popup_sensitivity() every time the menu is popped up. Problem reported by Hong Jen Yee 2008-09-11 Matthias Clasen Merged from trunk: * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset the image when the label is set to "(None)". Reported by Neil Roberts 2008-09-11 Matthias Clasen Merged from trunk: * gtk/gtkuimanager.c (update_node): Skip update of accelerator child node if it has no associated action. Fixes #541950. Patch by Christian Neumair 2008-09-11 Matthias Clasen Merged from trunk: Bug 528845 – segv from GtkBuilder on attempting under GtkCellView * gtk/gtkcellview.c: Don't blindly chain up in the buildable implementation. Reported by Kevin Ryde. 2008-09-11 Matthias Clasen Merged from trunk: Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not contain :// * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file): Be more robust. Reported by Jelte van der Hoek 2008-09-11 Matthias Clasen Merged from trunk: Bug 538863 – Fixes assertion on entering empty folder * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't select the first row if the folder is empty. Patch by Olle Bergkvist. 2008-08-27 Cody Russell Merged from trunk: * gdk/win32/gdkevents-win32.c: * gdk/win32/gdkwindow-win32.c (show_window_recurse): Check if the window's state has GDK_WINDOW_STATE_MAXIMIZED set before calling ShowWindow (), and show using SW_SHOWMAXIMIZED or SW_RESTORE accordingly. This fixes an issue where maximized windows that are iconified do not restore back to maximized when you click the taskbar. (#528975) 2008-08-21 Cody Russell Merged from trunk: * gdk/win32/gdkevents-win32.c (doesnt_want_key): Remove the checks to see if the window is modally blocked. This doesn't get us anything, and it confuses the search window in GtkTreeView (and potentially other utility windows in other apps). (#520165) 2008-08-04 Sven Neumann Merged from trunk: * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link color when the "visited" state is changed. 2008-08-02 Tor Lillqvist Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug potential leak. Thanks to Morten Welinder. 2008-08-01 Claudio Saavedra Bug 545931 – small documentation typos * gtk/gtkcomboboxentry.c: Fix some typos in the documentation. 2008-07-30 Tor Lillqvist * gtk/gtkprintoperation-win32.c: Fix problems in handling custom paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in tenths of a millimeter, and the RECT passed to CreateEnhMetaFile() is in hundredths of a millimeter. Patch by Sven Neumann. 2008-07-03 Murray Cumming * gtk/gtkwidget.c (gtk_widget_set_property): tooltip-text and tooltip-markup properties: Interpret an empty string as a NULL string because an empty tooltip is silly. This will help language bindings that do not bother to have the two types of empty/null strings. Bug #541399. 2008-07-07 Cody Russell Merged from trunk: Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the existing modal hint value before setting it. 2008-07-07 Cody Russell Bug 540994 – [Win32] Some windows don't appear at the top when created * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal. 2008-07-04 Tor Lillqvist Bug 540861 - invalid UTF-8 in input device name * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in Unicode, and convert to UTF-8 for the GdkDevice's name field. 2008-07-01 Cody Russell Merged from trunk: Bug 539164 – Windows' System Menu blocks main loop * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the GLib mainloop from there.