2008-06-13 Matthias Clasen * === Released 2.13.3 === 2008-06-13 Matthias Clasen * gtk/gtkaccelgroup.c: Add some docs * gdk/gdkwindow.c: Fix doc typos 2008-06-13 Matthias Clasen * gtk/gtkfilesystem.c: Avoid PLT entries by including gtkalias.h 2008-06-13 Matthias Clasen * gtk/gtkfilechooserbutton.c: * gtk/gtkfilechooserdefault.c: * gtk/gtkfilechooserentry.c: * gtk/gtkfilesystem.c: * gtk/gtkfilesystem.h: * gtk/gtkfilesystemmodel.c: * gtk/gtkpathbar.c: Really make GtkFileSystem private by _-prefixing all functions. 2008-06-13 Matthias Clasen * docs/RELEASE-HOWTO: Updates * INSTALL.in: Bump version 2008-06-13 Matthias Clasen * NEWS: Updates 2008-06-13 Michael Natterer * gtk/gtkcellrendereraccel.h * gtk/gtkfilechooser.h * gtk/gtkfilechooserdialog.h * gtk/gtkfilechooserwidget.h * gtk/gtkmenutoolbutton.h * gtk/gtkpagesetup.h * gtk/gtkpapersize.h * gtk/gtkprintcontext.h * gtk/gtkprintoperation.h * gtk/gtkprintoperationpreview.h * gtk/gtkprintsettings.h * gtk/gtkradiotoolbutton.h * gtk/gtkrecentchooser.h * gtk/gtkrecentchooserdialog.h * gtk/gtkrecentchoosermenu.h * gtk/gtkrecentchooserwidget.h * gtk/gtkseparatortoolitem.h * gtk/gtkshow.h * gtk/gtktoggletoolbutton.h * gtk/gtktoolbar.h * gtk/gtktoolbutton.h * gtk/gtktooltip.h: #include instead of "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers. 2008-06-13 Michael Natterer * gtk/gtktexttagtable.h: remove double inclusion of . 2008-06-13 Michael Natterer * gtk/gtkaction.c (gtk_action_set_short_label): change type of local "image" variable from GtkImage to GtkWidget to fix warning. 2008-06-13 Michael Natterer * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's toplevel to GtkWindow when passing to gtk_window_set_type_hint(). 2008-06-13 Michael Natterer * gtk/gtkuimanager.c (start_element_handler): silently skip unknown attributes instead of bailing out with an error in order to be compatible with possible future attribute names. This is related to the discussion in bug #516425 but actually needed for any kind of XML format extension. 2008-05-23 Hans Breuer * gtk/gtkprintoperation.c : check surface status after ceating a pdf. Avoids crashing when the target can not be written, bug #537685 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and it was not needed here anyway. 2008-06-13 Matthias Clasen * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation. Patch by Jan Arne Peterson 2008-06-12 Matthias Clasen Bug 537985 – gtk_init_with_args() doesn't open a display after gtk_parse_args() * gtk/gtkmain.c (gtk_init_with_args): Open the default display even when gtk_parse_args() has already been called. Patch by Mathias Hasselmann 2008-06-12 Matthias Clasen Bug 524222 – GtkToolbar with mix of buttons with and without icons looks "bad" * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Improve appearance of "both vertical" mode toolbuttons. Patch by Peter Johanson 2008-06-12 Matthias Clasen Bug 519092 – Add accessibility support to GtkVolumeButton * gtk/gtkvolumebutton.c: Set accessibility descriptions. Patch by Jonh Wendell 2008-06-12 Matthias Clasen Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a GtkAction has problems Patch by Peter Johanson * gtk/gtkaction.c (connect_proxy): Set the image of a button proxy to the "icon-name" property. (gtk_action_set_short_label): If the "image" property is set on the button proxy, also tries to set the "label" property on the GtkButton. 2008-06-12 Michael Natterer * gtk/gtkmain.c * gtk/gtktrayicon-x11.c: don't #include , it's pulled in via "gtkintl.h" from . 2008-06-12 Matthias Clasen RH bug 248245 and 449379: cups client printing from gnome applications fail * modules/printbackends/cups/gtkprintbackendcups.c: Really fix printer URI construction. Patch by Marek Kasik 2008-06-12 Michael Natterer * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): limit the number of displayed items by the actual screen height instead of some arbitrary value (Bug #408154, Xan Lopez and Christian Dywan). 2008-06-11 Behdad Esfahbod Bug 503071 – Application direction changes to right to left even if theres no translation * configure.in: Bump glib requirement. * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): * gtk/gtkactiongroup.c (dgettext_swapped): * gtk/gtkbuilder.c (gtk_builder_class_init): * gtk/gtkbuilderparser.c (_dpgettext), (_gtk_builder_parser_translate): * gtk/gtkfilechooserdefault.c (list_size_data_func): * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): * gtk/gtkintl.h: * gtk/gtkmain.c (setlocale_initialization), (do_pre_parse_initialization), (gettext_initialization): * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped): Use g_dgettext() and g_dngettext(). 2008-06-11 Matthias Clasen * docs/RELEASE-HOWTO: Updates 2008-06-11 Tor Lillqvist * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't support Win9x anyway, we can use ProcessIdToSessionId() unconditionally. 2008-06-11 Michael Natterer * gtk/gtkfilechooserbutton.c: fix local prototype of _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*). 2008-06-10 Matthias Clasen Bug 536765 – GtkComboBox should set COMBO type hint for its menu * gtk/gtkoptionmenu.c: * gtk/gtkcombobox.c: Set the window type hint on popups. Patch by Danny Baumann 2008-06-10 Matthias Clasen * gtk/gtkfilesystem.c (get_icon_for_special_directory): (gtk_file_system_volume_render_icon): Add standard icon names, and also fall back to builtin gtk stock icons. 2008-06-10 Christian Persch * gtk/gtktreeview.c: (destroy_info), (set_destination_row), (gtk_tree_view_maybe_begin_dragging_row), (gtk_tree_view_set_reorderable), (gtk_tree_view_enable_model_drag_source), (gtk_tree_view_enable_model_drag_dest), (gtk_tree_view_unset_rows_drag_source), (gtk_tree_view_unset_rows_drag_dest): Make gtk_tree_view_enable_model_drag_[source|dest] compatible with gtk_drag_[source|dest]_add_*_targets. Bug #506853. 2008-06-10 Christian Persch * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column), (dest_row_free), (set_dest_row), (ensure_info), (gtk_tree_view_remove), (gtk_tree_view_put), (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from bug #506853. 2008-06-10 Paolo Borelli * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri) use g_file_new_for_uri. 2008-06-10 Paolo Borelli * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not leak the GIcon. 2008-06-10 Carlos Garnacho * configure.in: * gtk/Makefile.am: * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug #520874, comment #8. It's no longer used directly by GTK+. 2008-06-10 Carlos Garnacho Bug 520874 - Should use gio directly. * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly provides helper functions for asynchronous calls, folder abstraction and uniform handling of volumes/drives/mounts. * gtk/gtkfilesystemwin32.[ch]: * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required. * gtk/gtkfilechooser.c: * gtk/gtkfilechooserbutton.c: * gtk/gtkfilechooserdefault.c: * gtk/gtkfilechooserentry.[ch]: * gtk/gtkfilechooserprivate.h: * gtk/gtkfilechooserutils.c: * gtk/gtkfilesystemmodel.[ch]: * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API. Do not load filesystem implementation modules. * gtk/Makefile.am: * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed anymore, nor the unix/win32 implementations. * README.in: Add blurb about these changes. 2008-06-09 Kristian Rietveld Bug 526987 - GtkCellRendererCombo should allow model to be NULL * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init), (gtk_cell_renderer_combo_set_property), (gtk_cell_renderer_combo_editing_done), (gtk_cell_renderer_combo_start_editing): introduce private class struct, allow model to be set to NULL. 2008-06-08 Björn Lindqvist Bug 131920 – gtkNotebook sends incorrect switch_page value * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page signal send correct page index when page index 0 is active and removed. (#131920, Samuel Fogh) 2008-06-08 Kristian Rietveld Bug 536730 - memory corruption in gtktreeview * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first remove the expand/collapse timeout and node, then free the rbtree. 2008-06-08 Kristian Rietveld Bug 488119 - critical warnings from gtk_tree_view_get_visible_range * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to find path if we found valid nodes, return FALSE otherwise. (Patch from Matthias Clasen). 2008-06-08 Matthias Clasen * gtk/gtkrecentmanager.c: * gtk/gtkrecentfilter.c: * gtk/gtkfilefilter.c: Replace uses of xdgmime with g_content_type. 2008-06-08 Christian Persch Bug 535608 – do not string-copy accel paths in the menu code * gtk/gtkaccelgroup.c: * gtk/gtkaccelmap.c: * gtk/gtkaction.c: * gtk/gtkmenu.c: * gtk/gtkmenuitem.c: * gtk/gtkwidget.c: Don't store the accel path as a string in gtkmenu/gtkmenuitem. The accel path will be interned anyway, so keeping a string copy around is just a waste of memory. Improve the documentation to mention this. 2008-06-07 Tor Lillqvist Bug 536990 - updateiconcache.c: 'close ()' is redundant * gtk/updateiconcache.c (build_cache): Drop redundant close() calls. fclose() on a fdopen()ed strema closes the underlying file descriptor. 2008-06-06 Matthias Clasen Bug 536757 – regression: openoffice.org menus are placed at wrong position since 2.12.10 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Return the right coordinates. 2008-06-06 Behdad Esfahbod Bug 536185 – monitor font configuration * configure.in: * gdk/x11/gdksettings.c: * gtk/gtksettings.c (gtk_settings_class_init), (gtk_settings_notify), (settings_update_fontconfig): Monitor xsettings key Fontconfig/Timestamp and upon change, reread fontconfig configuration, clear Pango's caches, and redraw all widgets. 2008-06-06 Ross Burton * gtk/gtkwindow.c: Fix trivial typo in documentation. 2008-06-06 Tor Lillqvist * config.h.win32.in: Slight update to match what configure produces. 2008-06-05 Johan Dahlin * gtk/gtkbuilder.h (enum): Add the new version mismatch error constant to the end of the list, to avoid breaking the stable ABI 2008-06-05 Michael Natterer * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS. 2008-06-05 Li Yuan * gail-uninstalled.pc.in: Bug #536430. Patch from Damien Carbery . Correct paths to gail headers and libraries in gail-uninstalled.pc.in.