]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Rename get_submenu() to create_menu(); rename gtk_action_get_submenu() to
[~andy/gtk] / ChangeLog
index 1f687e40f86d5055feac1a82a18736b4d6bbb0e1..01d8c92520b517d0d8032bd06e01b2863db780be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,281 @@
+2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkaction.h:
+       * gtk/gtkaction.c: Rename get_submenu() to create_menu();
+       rename gtk_action_get_submenu() to gtk_action_create_menu().
+
+       * gtk/gtkrecentaction.c: Update for GtkAction change.
+
+       * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
+       also, use the menu from the GtkAction for both menuitem and
+       toolitem nodes.
+
+2007-03-16  Xan Lopez  <xan@gnome.org>
+
+       * gtk/gtkwidget.c: Fix documentation error in
+       gtk_widget_set_redraw_on_allocate.
+
+2007-03-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
+       make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
+       patch by Christian Persch)
+
+2007-03-15  Federico Mena Quintero  <federico@novell.com>
+
+       Merged from gtk-2-10:
+
+       * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
+       PANGO_PIXELS() gives us device units, which are *points* in
+       pangocairo's parlance, but we want actual pixels.  So, get the
+       screen's resolution to compute the actual number of pixels.
+       Fixes bug #418585.
+
+2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
+       unused GError; do not allocate GtkRecentData and use a variable
+       on the stack. (#418673, Morten Welinder)
+
+2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
+       actions providing a menu item or a menu tool button with already
+       a submenu should return the GtkMenu widget.
+
+       * gtk/gtkuimanager.c (update_node): If an action provides its
+       own submenu, use it instead of adding an empty one
+
+       * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
+       implementing the GtkRecentChooser interface for displaying the
+       list of recently used files into menus and toolbars generated
+       using GtkUIManager. (#338843)
+
+       * gtk/Makefile.am:
+       * gtk/gtk.h:
+       * gtk/gtk.symbols: Add GtkRecentAction API to the build.
+
+       * tests/testactions.c: Exercise the GtkRecentAction API.
+
+2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
+
+       * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
+       (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
+       from recursion, which can happen for example if the app tries to
+       reload an icon from within a theme-changed handler. (#418531)
+
+2007-03-15  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkmain-quartz.c: Add stubs for
+       gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
+       here too.
+
+2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
+       Welinder)
+
+2007-03-15  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
+       gdk_window_set_startup_id.
+
+       * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
+
+2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchooserprivate.h:
+       * gtk/gtkrecentchooserutils.c: Move filtering of the recent
+       files list into the shared implementation; do the filtering
+       before the sorting, so that we always clamp on the desired
+       size. (#418219)
+
+       * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
+       list, as it's already been done.
+
+       * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
+       GtkTreeModelFilter: just reload the view if the sorting and
+       filtering properties change.
+
+       * gtk/testrecentchoosermenu.c: Exercise the limit property.
+
+2007-03-14  Michael Natterer  <mitch@imendio.com>
+
+       Make gtk_widget_set_extension_events() work on already realized
+       widgets (bug #379550, Tommi Komulainen)
+
+       * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
+       called multiple times without leaking and work correctly when
+       already realized (don't rely on a configure event following).
+
+       * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
+       internal function which walks the GdkWindow tree and sets the
+       extension events on all windows that belong to the widget.
+
+       (gtk_widget_realize)
+       (gtk_widget_set_extension_events): use the new function.
+
+2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
+
+       Various clean ups in the GtkRecent code. (see #338843)
+
+       * gtk/gtkrecentchooserdefault.c:
+       * gtk/gtkrecentchoosermenu.c:
+       * gtk/gtkrecentchooserprivate.h:
+       * gtk/gtkrecentchooserutils.c: Move the recent chooser function
+       for getting the sorted and clamped list of recent files from the
+       manager outside the implementations.
+
+       * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
+       the list when the sorting order changes.
+
+       (gtk_recent_chooser_default_dispose),
+       (gtk_recent_chooser_default_finalize): Move object unref and
+       source removal from finalize to dispose.
+
+       * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
+       prerequisite for the GtkRecentChooser interface implementations,
+       from GtkObject to GObject.
+
+       (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
+       G_PARAM_*
+
+2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
+
+       Apply patch by Vytautas Liuolia for changing the startup
+       notification id on a window in the X11 backend. (#347375)
+
+       * gdk/gdk.h:
+       * gdk/gdkx.h:
+       * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
+       and gdk_x11_display_get_startup_notification_id().
+
+       * gdk/gdkwindow.h:
+       * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
+
+       * gtk/gtkwindow.h:
+       * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
+       change the startup notification id.
+       
+       (gtk_window_class_init), (gtk_window_init),
+       (gtk_window_set_property): Add write-only "startup-id" property
+       to GtkWindow.
+
+       (gtk_window_realize): Set the startup notification id
+       on a GtkWindow if it's valid.
+
+       (gtk_window_map): If we have another valid startup notification
+       id then finish the notification process.
+
+2007-03-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
+       Fix tabbed browsing in epiphany.  (#413664, Christian Persch)
+
+2007-03-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
+       docs.  (#345844, Torsten Schoenfeld)
+
+       * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
+       * gdk/gdkwindow.c (gdk_window_add_filter): Add
+       cross-references.  (#351252, Vincent Untz)
+
+       * gtk/gtkprintoperation.c: Fix an oversight in an
+       example.  (#381083, Ian Puleston)
+
+       * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
+
+2007-03-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
+       the background of the panel window on style changes. (#402144,
+       Benjamin Berg)
+
+2007-03-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
+       an obsolete comment.  (#402169, Xan Lopez)
+
+2007-03-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
+       Don't copy PangoLanguage.  (#340031, Morten Welinder)
+
+2007-03-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
+       Handle the row reference path being NULL.  (#410565, Joe Markus
+       Clarke, patch by Chris Wilson)
+
+2007-03-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/testiconview.c: Handle Menu key presses without
+       crash.  (#385637, Christian Persch)
+
+2007-03-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
+       Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)
+
+2007-03-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
+       to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
+       
+2007-03-12  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
+       bail out if current_folder is NULL. (#350988, lots of reporters,
+       modified patch by Jan Darmochwal).
+
+2007-03-10  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
+       hide the search dialog and send focus events if the search dialog
+       is currently visible.
+
+2007-03-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkdrawable-quartz.c:
+       (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
+       (gdk_quartz_drawable_get_context): Update for the new quartz cairo 
+       surface API (#410442). Don't lock focus unless called outside of an 
+       expose event.
+       (gdk_quartz_drawable_release_context): Only flush the CG context and 
+       unlock focus if called outside of expose.
+       (_gdk_quartz_drawable_finish): New function, used to free the cached
+       cairo surface.
+
+       * gdk/quartz/gdkwindow-quartz.c:
+       (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
+       (_gdk_window_impl_quartz_get_type): No need to make the type info
+       static.
+       (gdk_window_quartz_process_all_updates): Move the autorelease pool
+       allocation and freeing outside the loop.
+       (_gdk_windowing_window_destroy): Finish the drawable.
+       (move_resize_window_internal): Small cleanup and remove comment.
+
+       * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
+
+2007-03-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
+       a build warning.
+
+2007-03-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
+
+2007-03-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
+
+2007-03-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
+       the font name here, leave that to themes, fixes #387508.
+
 2007-03-10  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),