From 3895bea4df873c114689f8de97b5527a75657aaf Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 15 Mar 2004 02:03:59 +0000 Subject: #136672, reported by Christian Persch; fixes based on a patch by Soeren Sun Mar 14 19:26:48 2004 Owen Taylor #136672, reported by Christian Persch; fixes based on a patch by Soeren Sandmann. * gtk/gtkmenu.c: Change the handling of mixed gridded and non-gridded menu items; the old method was causing major performance problems even with the "avoid relayout on destruction" hack put in recently. Now we first lay out the gridded items and then put the non-gridded items into empty rows / after the gridded items. Layout is done in a central menu_shell_ensure_layout(). Also avoid emitting property notifications when we initially insert or attach items. * gtk/gtkmenushell.[ch] gtk/gtkmenu.c: Stop setting the unused menu_shell->menu_flag, and document it as unused in the header. * tests/testactions.c: Add a test of creating/removing lots of items. * test/testgtk.c: Add some more cruft to the menu test. --- ChangeLog.pre-2-6 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'ChangeLog.pre-2-6') diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 3955fb1aa..0c51d0017 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,28 @@ +Sun Mar 14 19:26:48 2004 Owen Taylor + + #136672, reported by Christian Persch; fixes based + on a patch by Soeren Sandmann. + + * gtk/gtkmenu.c: Change the handling of mixed gridded + and non-gridded menu items; the old method was causing + major performance problems even with the "avoid relayout + on destruction" hack put in recently. + + Now we first lay out the gridded items and then put the + non-gridded items into empty rows / after the gridded items. + Layout is done in a central menu_shell_ensure_layout(). Also + avoid emitting property notifications when we initially + insert or attach items. + + * gtk/gtkmenushell.[ch] gtk/gtkmenu.c: Stop setting the + unused menu_shell->menu_flag, and document it as unused + in the header. + + * tests/testactions.c: Add a test of creating/removing + lots of items. + + * test/testgtk.c: Add some more cruft to the menu test. + Mon Mar 15 02:36:07 2004 Matthias Clasen * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): Add -- cgit v1.2.1