1. 30 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Don't do the popup-on-click handling for menubars. (#159931, Søren · 4e67511f
      Matthias Clasen authored
      2004-11-29  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_button_release): Don't
      	do the popup-on-click handling for menubars.  (#159931,
      	Søren Sandmann)
      
      	* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Don't
      	handle popup delay if the submenu is already mapped.
      4e67511f
  2. 24 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Open submenus on click. (#128968, Martin Jeppesen) · 6be4d665
      Matthias Clasen authored
      2004-11-24  Matthias Clasen  <mclasen@redhat.com>
      
      	Open submenus on click.  (#128968, Martin Jeppesen)
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_button_release): Don't
      	activate items with submenus after the timeout, just select
      	them.
      
      	* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Make
      	submenus popup immediately on click, regardless of popup
      	delay.
      6be4d665
  3. 22 Nov, 2004 1 commit
  4. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  5. 27 May, 2004 1 commit
  6. 07 May, 2004 1 commit
    • Matthias Clasen's avatar
      Merge from 2.4: · 0a41106a
      Matthias Clasen authored
      Thu May  6 23:52:13 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Merge from 2.4:
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Also
      	popup the submenu for items in torn off menus.  (#122051)
      0a41106a
  7. 06 Mar, 2004 1 commit
  8. 27 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      Make menus work better on Xinerama (#126150): · 519a586a
      Matthias Clasen authored
      Tue Jan 27 01:46:54 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Make menus work better on Xinerama (#126150):
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Calculate the
      	monitor_num on the screen of the menu, not of the attach widget.
      
      	* gtk/gtkmenu.c (menu_change_screen): Forget the stored monitor_num.
      	(gtk_menu_window_size_request): Remember the monitor_num.
      519a586a
  9. 08 Dec, 2003 1 commit
    • Owen Taylor's avatar
      === Released 2.3.1 === · 85c05a86
      Owen Taylor authored
      Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.3.1 ===
      
              * NEWS: Updates for 2.3.1
      
              * configure.in: Version 2.3.1, interface age 0, binary age 301.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
              Rename from gtk_menu_item_real_can_activate_accel() to
              match GTK+ convention, improve comment.
      
              * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
              can ::can-activate-accel signal.
      
              * gtk/gtkwidget.c (closure_accel_activate): Fix spelling
              in comment.
      
              * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean
              up comment.
      
              * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
              into the .c file.
      
      Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkicontheme.c (find_builtin_icon): Fix a
              missing 'else'. (#128816, Jorn Baayen)
      85c05a86
  10. 27 Nov, 2003 1 commit
    • Tim Janik's avatar
      allow accel activation depending on sensitivity and the attach widget. · 448b576d
      Tim Janik authored
      Thu Nov 27 16:19:03 2003  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.c: allow accel activation depending on sensitivity
              and the attach widget.
      
              * gtk/gtkmenuitem.c: allow accel activation depending on visibility,
              sensitivity and the parent menu.
      
              * gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
              checks whether accelerators may activate a widget. the default handler
              demands the widget be sensitive and visible+viewable.
      
              * gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().
      448b576d
  11. 19 Nov, 2003 1 commit
    • Soeren Sandmann's avatar
      set to 200 instead of 225 Impose a minimum width on items that have a · 907483c6
      Soeren Sandmann authored
      Wed Nov 19 18:15:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225
      	* gtk/gtkmenuitem.c (get_minimum_width): Impose a minimum width
      	on items that have a submenu. (#120104).
      
      Wed Nov 19 18:11:08 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c (struct _ToolbarContent): Add a new
      	"ItemState" field indicating the overflowed-ness etc. of the item.
      	(gtk_toolbar_size_allocate): update the field here.
      907483c6
  12. 12 Nov, 2003 2 commits
    • Matthias Clasen's avatar
      Use the event window of the menuitem to determine the monitor. This fixes · bdb8bd13
      Matthias Clasen authored
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Use the event
      	window of the menuitem to determine the monitor. This fixes some
      bdb8bd13
    • Matthias Clasen's avatar
      Changes to improve menu positioning on Xinerama (#108328): · e71bcc84
      Matthias Clasen authored
      Wed Nov 12 21:40:10 2003  Matthias Clasen  <maclas@gmx.de>
      
      	Changes to improve menu positioning on Xinerama (#108328):
      
      	* gtk/gtkmenu.c (struct _GtkMenuPrivate): Add a menu_num field
      	to store the monitor on which the menu is to be positioned.
      
      	* gtk/gtkmenu.[hc] (gtk_menu_position): Store the monitor number
      	in the GtkMenuPrivate struct and fetch the monitor geometry after
      	calling the position_func, in case it has been changed.
      
      	* gtk/gtkmenu.c (gtk_menu_set_monitor): New function
      	to be used in GtkMenuPositionFunc implementations for setting
      	the monitor_num field in GtkMenuPrivate.
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Call
      	gtk_menu_set_monitor.
      e71bcc84
  13. 13 Jul, 2003 2 commits
  14. 12 Jul, 2003 1 commit
    • Soeren Sandmann's avatar
      new properties "horizontal-offset" and "vertical-offset" that determines · d77b4c14
      Soeren Sandmann authored
      Sun Jul 13 01:37:51 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenu.c (gtk_menu_class_init): new properties
      	"horizontal-offset" and "vertical-offset" that determines the
      	position of the menu when it is a submenu.
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): position
      	submenus according to new vertical- and horizontal-offset
      	properties.
      d77b4c14
  15. 08 Jul, 2003 1 commit
    • Soeren Sandmann's avatar
      remove GDK_EXPOSURE_MASK for INPUT_ONLY window same same same same · 81785924
      Soeren Sandmann authored
      Tue Jul  8 21:10:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
      	for INPUT_ONLY window
      	* gtk/gtkmenuitem.c (gtk_menu_item_realize): same
      	* gtk/gtknotebook.c (gtk_notebook_realize): same
      	* gtk/gtkexpander.c (gtk_expander_realize): same
      	* gtk/gtkrange.c (gtk_range_realize): same
      
      	Fix #116303
      81785924
  16. 06 Jul, 2003 1 commit
    • Soeren Sandmann's avatar
      add vertical_padding style property. · c8515b2f
      Soeren Sandmann authored
      Sat Jul  5 10:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
              * gtk/gtkmenu.c: add vertical_padding style property.
      
              * gtk/gtkmenuitem.c: add style properties toggle_spacing,
              arrow_spacing and horizontal_padding. Also center separators and
              make them a bit taller.
      
              * gtk/*menuitem.c: use new style properties.
      
              * docs/widget_geometry.txt: Add note about GtkMenuItem
      
              * gtk/gtkstyle.c
              (gtk_default_draw_vline, gtk_default_draw_hline):
              fix +/-1 errors.
      
              (gtk_default_draw_shadow): draw a black border around menus.
      
              * gtk/gtkvseparator, gtk/gtkhseparator.c, gtk/gtkmenuitem.c: fix
              calls to gtk_paint_hline() and gtk_paint_vline() (they take x1,
              x2 and y1, y2 respectively, not x, width and y, height).
      c8515b2f
  17. 28 Feb, 2003 1 commit
    • Manish Singh's avatar
      demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c · dd74be94
      Manish Singh authored
      Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/main.c
              * demos/gtk-demo/tree_store.c
              * gdk/x11/gdkscreen-x11.c
              * gtk/gtkcellrenderertoggle.c
              * gtk/gtkcolorsel.c
              * gtk/gtkdnd.c
              * gtk/gtkeditable.c
              * gtk/gtkentry.c
              * gtk/gtkmenu.c
              * gtk/gtkmenubar.c
              * gtk/gtkmenuitem.c
              * gtk/gtkmenushell.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktextbuffer.c
              * gtk/gtktextview.c
              * gtk/gtktreeviewcolumn.c
              * tests/testgtk.c
              * tests/testtext.c
              * tests/testtreeedit.c
              * tests/testtreefocus.c
              * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
      dd74be94
  18. 05 Feb, 2003 1 commit
  19. 29 Jan, 2003 1 commit
    • Owen Taylor's avatar
      Make up from the menu bar go to the end of the submenu. (#96114, Ian · f9a39996
      Owen Taylor authored
      Wed Jan 29 15:43:56 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
              Make up from the menu bar go to the end of the submenu.
              (#96114, Ian Peters.)
      
              * gtk/gtkmenuitem.c (gtk_menu_item_mnemonic_activate):
              Only do the select-but-not-activate stuff if the
              menu is already active. Otherwise, just activate.
              (#101690, Arvind Samptur)
      f9a39996
  20. 15 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Pass TRUE for search_sensitive - prevents a problem where after hitting · 66a228fb
      Owen Taylor authored
      Sun Dec 15 18:14:16 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenuitem.c (gtk_real_menu_item_activate_item):
              Pass TRUE for search_sensitive - prevents a problem
              where after hitting Alt-F to bring up the File menu,
              the mnemonics for the items in the menu might not
              be usable. (#89336)
      66a228fb
  21. 14 Dec, 2002 1 commit
  22. 10 Dec, 2002 1 commit
    • Soeren Sandmann's avatar
      new default color scheme based on the GNOME stock icon palette. (#80691, · 439d61b9
      Soeren Sandmann authored
      Tue Dec 10 12:40:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenuitem.c, gtk/gtkstyle.c, gtk/gtkrc.c: new default
      	color scheme based on the GNOME stock icon palette. (#80691,
      	Tuomas Kuosmanen, Garrett LeSage, Owen Taylor)
      
      	* gtk/gtknotebook.c (gtk_notebook_real_remove): take a new
      	parameter, "destroying", and don't emit the switch-page signals
      	when it is true (fix #64832, reported by Jarred Keuch)
      
      	* gtk/gtklabel.c (gtk_label_set_property): remove unused
      	variable.
      439d61b9
  23. 02 Nov, 2002 1 commit
  24. 20 Oct, 2002 1 commit
    • Soeren Sandmann's avatar
      gtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c, gtkmenushell.h, · 4b08e835
      Soeren Sandmann authored
      Sun Oct 20 23:58:03 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c,
      	gtkmenushell.h, gtkmenushell.h
      
      	- make the delay before submenus appear below menu bars a
      	  GtkSetting
      	- make the delay before submenus pops up a GtkSetting
      	- make the stay up triangle slightly larger
      	- don't pop up the first submenu immediately.
      	- make the default delay for submenus 225 ms, and 0 for menubars.
      	- make the default delay before popping down inside the stay-up
      	  triangle 1000 ms
      
      	Fixes #74950
      4b08e835
  25. 11 Oct, 2002 1 commit
  26. 05 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 8409ada9
      Manish Singh authored
      Fri Oct  4 18:40:50 2002  Manish Singh  <yosh@gimp.org>
      
              * gtkcheckmenuitem.[ch] gtkimagemenuitem.[ch] gtkmenu.[ch]
              gtkmenubar.[ch] gtkmenuitem.[ch] gtkmenushell.[ch]
              gtkradiomenuitem.[ch]: Deprecation cleanup
      8409ada9
  27. 04 Oct, 2002 1 commit
    • Soeren Sandmann's avatar
      remove unused codepath. · d2aa6268
      Soeren Sandmann authored
      Fri Oct  4 21:21:47 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_paint): remove unused
      	codepath.
      
      	* gtk/gtkmenuitem.c (gtk_real_menu_item_{de,}select): call
      	gtk_widget_queue_draw() instead of gtk_widget_draw().
      d2aa6268
  28. 23 Sep, 2002 2 commits
  29. 06 Jul, 2002 1 commit
    • Owen Taylor's avatar
      Add an extra parameter to _gtk_menu_item_select_first() to allow us to · 367cacdf
      Owen Taylor authored
      Fri Jul  5 20:18:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.[ch] gtk/gtkmenubar.c gtk/gtkmenuitem.c
              gtk/gtkentry.c gtk/gtktextview.c: Add an extra parameter
              to _gtk_menu_item_select_first() to allow us to choose
              whether we want to select the first item predictably
              or to select the first sensitive item. Fixes problem
              with insensitive menu items and keynav. (#85796,
              reported by Bill Haneman and others.)
      367cacdf
  30. 14 May, 2002 1 commit
    • Owen Taylor's avatar
      Discard configure events from SubstructureNotify. (#81760, Rich Burridge) · 278582d6
      Owen Taylor authored
      Tue May 14 11:21:19 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkevents-x11.c (gdk_event_translate):
              Discard configure events from SubstructureNotify.
              (#81760, Rich Burridge)
      
              * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
              strcmp().
      
              * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
      	width of child allocation to >= 1. (Fixes warnings from
              #77639, Martin Schulze)
      278582d6
  31. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
      4632fb81
  32. 25 Apr, 2002 1 commit
  33. 20 Apr, 2002 1 commit
  34. 16 Apr, 2002 1 commit
    • Tim Janik's avatar
      don't install/change accelerators from locked accel groups. · b0d72c4d
      Tim Janik authored
      Tue Apr 16 07:53:49 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.c (gtk_menu_key_press): don't install/change accelerators
              from locked accel groups.
      
              * gtk/gtkwidget.c (_gtk_widget_get_accel_path): export whether the
              accel path is from a locked accel group.
      b0d72c4d
  35. 11 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Export private _gtk_menu_shell_activate() to encapsulate cut-and-paste · 03498ba2
      Owen Taylor authored
      Sat Apr  6 06:57:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.[ch] gtk/gtkmenuitem.c: Export
              private _gtk_menu_shell_activate() to encapsulate
              cut-and-paste code.
      
              * gtk/gtkmenubar.c: Select the first item on the menu bar
              for F10 rather than acting as if the user pressed <Alt>F
              to select the file manager.
      03498ba2
  36. 04 Apr, 2002 1 commit
  37. 01 Mar, 2002 1 commit
    • Owen Taylor's avatar
      include gdkkeysysms.h if compiling gdk_keyval_convert_case. · fce84d05
      Owen Taylor authored
      Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkkeys.c: include gdkkeysysms.h if
              compiling gdk_keyval_convert_case.
      
              * gtk/gtkmenubar.c (gtk_menu_bar_cycle_focus): Implement
              <Control>Tab <Control><Shift>Tab to cycle between
              all menu bars in a toplevel once one is up.
      
              * tests/testgtk.c: Add a second menubar, this
              example is already full of crack anyways.
      
              * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Padd
              unhandled events up to the parent menu shell.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Only
              pop up the menu if the parent menu shell is still active.
      
              * gtk/gtkcontainer.[ch] (_gtk_container_focus_sort): Add a
              old_focus argument, export privately.
      fce84d05