1. 25 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Start of integration of Erwann Chenede's multihead work from the · 425b9886
      Owen Taylor authored
      Thu Apr 25 16:51:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              Start of integration of Erwann Chenede's multihead work
              from the gtk-multihead branch.
      
              * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]
              gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch]
              New classes representing a set of screens with attached
              input devices and a single contiguous area, respectively.
      
              * gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c:
              gdk/x11/gdkprivate-x11.h: Make the initialization interface
              simple _gdk_windowing_init() and do the rest in
              gdk_open_display() calls.
      
              * gdk/gdk.[ch]: Add gdk_parse_args() which can be used
              to do the display-independent part of initialization
              instead of gdk_init_[check].
      
              * gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h
              gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h:
              Add multihead variants (_for_display(), for_screen()) of functions
              getting information specific to a particular screen screen or
              display.
      
              * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions
              like gdk_rgb_get_colormap() that used to get/list global
              objects.
      
              * gdk/x11/gdkx.h: Add functions for converting GdkScreen
              and GdkDisplay into the X equivalents.
      
              * gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords()
              not in the headers and unused.
      
              * configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}:
              Remove gxid support ... has not been tested for a long time...
              "xfree" support is more portable to non XFree86.
      
              * gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be
              used to turn off functions that are inherently non-multihead
              safe.
      
              * gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions
              are used in non-multihead-safe ways.
      
              * gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK
              multihead safe.
      425b9886
  2. 21 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Save x and y in window_private. · 398e8373
      Alexander Larsson authored
      2002-04-21  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
      	Save x and y in window_private.
      
      	* gtk/gtkplug.c (_gtk_plug_add_to_socket):
      	Move plug window outside the visible area to avoid flashing until
      	the first size_allocate.
      398e8373
  3. 20 Apr, 2002 1 commit
  4. 19 Apr, 2002 1 commit
    • Matthias Clasen's avatar
      Remove some files whose content is either obsolete or has been moved · 76145121
      Matthias Clasen authored
      	* TODO, TODO.xml, README.nanox, docs/Changes-1.2.txt,
      	docs/Changes-2.0.txt, docs/gtk-config.txt, docs/debugging.txt,
      	gdk/TODO: Remove some files whose content is either obsolete or
      	has been moved elsewhere.
      
      	* Makefile.am, gtk+.spec.in, docs/Makefile.am: Remove references
      	to these files.
      76145121
  5. 18 Apr, 2002 1 commit
    • Tor Lillqvist's avatar
      gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib) Fix typo, thanks to · 40d637ec
      Tor Lillqvist authored
      2002-04-18  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
      	* gdk/Makefile.am (uninstall-libtool-import-lib): Fix typo,
      	thanks to David Sterba for noticing.
      
      	* gtk/gtkmain.h
      	* gtk/gtkmain.c (gtk_init_abi_check, gtk_init_check_abi_check): In
      	GTK+ 2.0 the GtkWindow struct actually is the same size in gcc on
      	Win32 whether compiled with -fnative-struct or not. Unfortunately
      	this wan't noticed until now. So, from now on, check some other
      	struct, too, for which the use of -fnative-struct still
      	matters. GtkBox is one such.
      40d637ec
  6. 13 Apr, 2002 1 commit
  7. 12 Apr, 2002 1 commit
  8. 05 Apr, 2002 2 commits
  9. 04 Apr, 2002 2 commits
    • Tim Janik's avatar
      fix segfault upon NULL return from gdk_utf8_to_string_target(). · cca4abf4
      Tim Janik authored
      Fri Apr  5 01:06:15 2002  Tim Janik  <timj@gtk.org>
      
              * gdk/x11/gdkwindow-x11.c (set_text_property): fix segfault
              upon NULL return from gdk_utf8_to_string_target().
      
              * gdk/x11/gdkselection-x11.c (gdk_utf8_to_string_target): fix
              return value comment to mention NULL returns upon EMFILE.
      cca4abf4
    • Tor Lillqvist's avatar
      Fix some bugs, and introduce a minor feature. · abda40ed
      Tor Lillqvist authored
      2002-04-04  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdkrgb.c: Fix some bugs, and introduce a minor feature.
      
      	(gdk_rgb_convert_4_pack): New function, for 16-color (4 bits per
      	pixel) static visuals (fixes #858).
      
      	(gdk_rgb_convert_gray4_pack, gdk_rgb_convert_gray4_d_pack): Fix
      	same bugs in both functions: Odd start coordinate (partial byte)
      	was not handled correctly. Also a partial final byte was not
      	handled correctly.
      
      	(gdk_rgb_do_colormaps): Use G_N_ELEMENTS.
      	(gdk_rgb_create_info): For pseudocolor visuals, use the 2x2x2
      	colorcube only for depths 3 and 4. For static color, use it for
      	depths 3..7 like before. (Depth 5..7 pseudocolor probably never
      	occurs on X11. It doesn't normally occur on Win32 either, but
      	there is experimental code in gdkvisual-win32.c to let the user
      	restrict the size of palette used.)
      	(gdk_rgb_init): Set gdk_rgb_verbose if the GDK_DEBUG_GDKRGB flag
      	is set.
      	(gdk_rgb_select_conv): Use gdk_rgb_convert_8 also for depths 5, 6
      	and 7 (see above). Use gdk_rgb_convert_4_pack for 4 bits per pixel
      	static color.
      abda40ed
  10. 28 Mar, 2002 1 commit
    • Hans Breuer's avatar
      Fixed dashed line issues (#74441) to an IMO reasonable extend. That is: · fe60d43a
      Hans Breuer authored
      2002-03-29  Hans Breuer  <hans@breuer.org>
      
      	Fixed dashed line issues (#74441) to an IMO reasonable extend.
      	That is: use PS_USERSTYLE on WinNT (the next GDI limit appears
      	to be with lines width > 50); Render horizontal and vertical
      	dashed lines on Win9x 'by hand'. Dotted selection rectangles
      	and Dia look nice ...
      
      	* gdk/win32/gdkprivate-win32.h : add pen_dashes pointer and
      	num_pen_dashes to _GdkGCWin32
      	* gdk/win32/gdkgc-win32.c : initialize pen_dashes and remove
      	the guesses from dashes to windoze line styles.
      	(predraw_set_forground) : always ExtCreatePen (PS_SOLID) on
      	Win9x, which does not support PS_USERSTYLE.
      	* gdk/win32/gdkdrawable-win32.c : new functions render_line_
      	<horizontal|vertical>. Use them if not running on NT in
      	gdk_win32_draw_<rectangle|segments|lines> ()
      
      	* gdk/win32/gdkkeys-win32.c (gdk_keyval_name) : return NULL
      	for keyval == 0 to avoid to have zeros in all menu entries
      	without accelerator.
      fe60d43a
  11. 23 Mar, 2002 1 commit
    • Havoc Pennington's avatar
      add more explanatory text to the error message about missing charsets, and · 8d3df4d9
      Havoc Pennington authored
      2002-03-22  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory
      	text to the error message about missing charsets, and use
      	g_printerr() not g_warning() since this is typically not a
      	programming error (we do not export any API to ask whether
      	a font set will have missing charsets so apps realistically can't
      	do anything other than try the gdk_fontset_load())
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE
      	if the text view isn't editable and the user presses Return,
      	so default buttons and such can be activated, #74937
      
      	* gtk/gtktextbuffer.c (paste_from_buffer): don't insert
      	if the insertion point is not editable and the paste
      	is interactive, #74125
      
      	* gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
      	debug spew
      
      	* gtk/gtktextbuffer.c (cut_or_copy): only remove the previous
      	cut/copied data right before replacing it, when we know we are
      	going to replace it. Fixes #74049
      8d3df4d9
  12. 22 Mar, 2002 2 commits
    • Richard Hult's avatar
      Fix typo, where x value was assigned to both x and y. · 56c5bd70
      Richard Hult authored
      2002-03-22  Richard Hult  <rhult@codefactory.se>
      
      	* gdk/gdkevents.c (gdk_event_get_root_coords): Fix typo, where x
      	value was assigned to both x and y.
      56c5bd70
    • Owen Taylor's avatar
      Fix memory leak. (#74400, Morten Welinder.) · abfed60c
      Owen Taylor authored
      Fri Mar 22 10:56:19 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory
              leak. (#74400, Morten Welinder.)
      
              * gtk/gtkaccelmap.c: Properly handle short returns from
              write() calls. (Handling EINTR isn't enough... that only
              handles the case where you were interrupted before you
              wrote a single byte.)
      
              * gdk/linux-fb/gdkmouse-fb.c gdk/linux-fb/gdkkeyboard-fb.c:
              Robustify against short returns from write() calls.
      abfed60c
  13. 21 Mar, 2002 3 commits
    • Tor Lillqvist's avatar
      Don't clear all of the pen_style, just the PS_STYLE_MASK. Seems to fix · 1ffa06c6
      Tor Lillqvist authored
      2002-03-22  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
      	all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
      	but that is just the special case of one-pixel wide one-pixel
      	on-off dotted lines. To fully implement generic X11 style dashed
      	lines a major rewrite would be needed.
      1ffa06c6
    • Owen Taylor's avatar
      Remove some left over debugging code with a G_BREAKPOINT() in it. · 0b6aaa5a
      Owen Taylor authored
      Thu Mar 21 10:04:05 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkwindow.c (gdk_window_real_get_depth): Remove
              some left over debugging code with a G_BREAKPOINT()
              in it.
      0b6aaa5a
    • Alex Larsson's avatar
      Patches from Carlo E. Prelz <fluido@fluido.as> Now gtkfb at least compiles · 2d6e58ad
      Alex Larsson authored
      2002-03-20  Alex Larsson  <alexl@redhat.com>
      
      	Patches from Carlo E. Prelz <fluido@fluido.as>
      	Now gtkfb at least compiles and mostly works. The keyboard
      	stuff needs more loving.
      
      	* gdk/linux-fb/gdkkeyboard-fb.c (xlate_get_for_keyval,
      	xlate_get_for_keycode, raw_get_for_keyval, raw_get_for_keycode):
      	At least set the out parameters for these calls.
      
      	* gdk/linux-fb/gdkmain-fb.c:
      	(gdk_pointer_grab_info_libgtk_only, gdk_keyboard_grab_info_libgtk_only):
      	Implement new functions.
      2d6e58ad
  14. 20 Mar, 2002 2 commits
  15. 19 Mar, 2002 1 commit
  16. 18 Mar, 2002 1 commit
  17. 16 Mar, 2002 1 commit
    • Kristian Rietveld's avatar
      just return when we have an input_only window (fix by Owen Taylor) · bd7678c7
      Kristian Rietveld authored
      Sat Mar 16 23:54:56 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_bit_gravity): just
              return when we have an input_only window (fix by Owen Taylor)
      
              * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add
              scroll_sync_timer
      
              * gtk/gtktreeview.c (install_scroll_sync_handler): new function,
              (scroll_sync_handler): ditto,
              (gtk_tree_view_unrealize): take scroll_sync_timer into account
              (gtk_tree_view_row_deleted): install scroll_sync_timer instead of
              calling top_row_to_dy/dy_to_top_row directly
              -- this greatly speeds up clearing the model (#73199)
      
              * gtk/gtktreemodelsort.c
              (gtk_tree_model_sort_convert_path_to_child_path): fix up this function,
              for some reason I really screwed it up (fixes #74663)
      bd7678c7
  18. 15 Mar, 2002 2 commits
  19. 14 Mar, 2002 1 commit
  20. 07 Mar, 2002 1 commit
  21. 06 Mar, 2002 4 commits
    • Manish Singh's avatar
      gdk/Makefile.am rework so that only things that really need to be done · cc83c500
      Manish Singh authored
      2002-03-06  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am
              * gtk/Makefile.am: rework so that only things that really need to be
              done post install are in the hook
      cc83c500
    • Manish Singh's avatar
      gdk/Makefile.am use install-foo-hook instead of install-foo-local, since · 81e287cc
      Manish Singh authored
      2002-03-05  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am
              * gtk/Makefile.am: use install-foo-hook instead of install-foo-local,
              since foo-local is run before the their respective builtin targets
              in automake 1.5
      81e287cc
    • Tor Lillqvist's avatar
      gdk-pixbuf/gdk_pixbuf.rc.in gdk/win32/rc/gdk.rc.in Use GTK_API_VERSION. · 34c06b2b
      Tor Lillqvist authored
      2002-03-06  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk-pixbuf/gdk_pixbuf.rc.in
      	* gdk/win32/rc/gdk.rc.in
      	* gtk/gtk-win32.rc.in: Use GTK_API_VERSION.
      34c06b2b
    • Tor Lillqvist's avatar
      Bypass calls to the grab/ungrab functions in gdkinput-win32.c, as they · d0ebbe9d
      Tor Lillqvist authored
      2002-03-06  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
      	gdk_pointer_ungrab): Bypass calls to the grab/ungrab functions in
      	gdkinput-win32.c, as they don't effectively do anything anyway.
      	(build_key_event_state): Set MOD2 bit if key is in AltGr group.
      	(gdk_event_translate): Call _gdk_windowing_window_get_offsets()
      	each time the offsets are used, on the window they refer to,
      	instead of once in the beginning. The window in question might
      	change due to event propagation.
      	(gdk_event_translate): Set key event group to 0 for non-AltGr
      	keys. Do set the SHIFT bit in the key event state also for
      	ISO_Left_Tab. Now backtabbing finally works again.
      
      	* gdk/win32/gdkunput-win32.c: Minor debugging output change.
      
      	* gdk/win32/gdkkeys-win32.c (update_keymap): Set VK_TAB mapping to
      	Gdk_Tab and GDK_ISO_Left_Tab, like on X11.
      	(gdk_keymap_translate_keyboard_state): Add similar code as in the
      	non-XKB case on X11 to generate a more correct
      	consumed_modifiers. Add debugging output.
      	(gdk_keyval_name): Use the U+xxxx format for UCS characters
      	encoded as keyvals. Never return NULL, but hex number
      	representation if keyval not in table.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_focus): Call
      	SetFocus(). Doesn't seem to have any harmful effect, and probably
      	is close to what this function is supposed to do. But it didn't
      	fix GtkCombo as I had hoped.
      	(gdk_window_set_type_hint): Don't intern the _NET_WM_* atoms that
      	weren't used and wouldn't have any meaning on Win32 anyway.
      d0ebbe9d
  22. 05 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Update version to 2.0.0 · ec09f3ab
      Owen Taylor authored
      Tue Mar  5 15:47:54 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in test/makefile.msc **.pc.in **/*.am:
      	Update version to 2.0.0
      
              * gtk/Makefile.am (MAINTAINERCLEANFILES): Add stamp
              files.
      
              * configure.in (GDK_PIXBUF_VERSION): Require GLib 2.0.0,
              Pango, Atk, 1.0.0.
      
              * m4macros/gtk-2.0.m4: Default to 2.0.0 as the minimum
              version.
      ec09f3ab
  23. 04 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Fixes for non XKB operation. (#73103) · b543bbff
      Owen Taylor authored
      Mon Mar  4 12:43:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for non XKB operation. (#73103)
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              Fix problem where GDK_Tab was converted to GDK_ISO_Left_Tab
              always, not just if Shift was pressed.
      
              * gdk/x11/gdkkeys-x11.c gdk/x11/gdkprivate-x11.c
              gdk/x11/gdkevents-x11.c: Move determination of group
              to _gdk_x11_get_group_for_state(), fix to handle non-XKB.
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Only
              add in SHIFT_MASK | LOCK_MASK to consumed_modifiers if the shifted
              and unshifted keysyms are different. Only add in group_switch_mask
              if the group-switched and non-group-switched keysyms are diferent.
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              When calling XKeycodeToKeysym, use group * keysyms_per_keycode / 2
              not group * keysyms_per_keycode. (Tor Lillquist)
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              Remove the hack to fudge the return value for GDK_Tab + Shift
              since that didn't work -- it didn't affect the reverse mapping.
              Instead fudge the non-XKB keymap instead.
      b543bbff
  24. 03 Mar, 2002 1 commit
    • Anders Carlsson's avatar
      Fix tyop in docs. · a71bd6c9
      Anders Carlsson authored
      2002-03-03  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_move_resize): Fix tyop
      	in docs.
      a71bd6c9
  25. 02 Mar, 2002 3 commits
    • Owen Taylor's avatar
      Add a --enable-explicit-deps option to control whether dependency · 15f8a55f
      Owen Taylor authored
      Fri Mar  1 00:46:49 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Add a --enable-explicit-deps option to control
              whether dependency libraries are written into .la files and .pc
              files.  Default is auto: if static libraries are off and shlib
              dependencies are found, don't write deps.
      
              * gdk/Makefile.am gtk/Makefile.am sanitize-la.sh: Shell script
              used to strip dependencies out of .la files.
      
              * Makefile.am: Add a slightly modified distcheck rule that passes
              --enable-gtk-doc to the configure inside.
              (So that 'make dist' succeeds inside.)
      
              * configure.in: If pango was compiled with
              --disable-explicit-deps, then repeat the checks for X and
              freetype ourselves so we don't depend on linking to libraries
              that pango doesn't reveal in the link line. Add some more paranoia
              for whether what we detect ourselves matches what Pango backends
              we found.
      15f8a55f
    • Tor Lillqvist's avatar
      gdk/gdk.def Add and (trivially) implement · 7fee0db1
      Tor Lillqvist authored
      2002-03-03  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdk.def
      	* gdk/win32/gdkevents-win32.c: Add and (trivially) implement
      	gdk_pointer_grab_info_libgtk_only() and
      	gdk_keyboard_grab_info_libgtk_only().
      
      2002-03-02  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (build_keypress_event): Reorder
      	code, keyval should get a value in all cases now.
      	(build_keyrelease_event): Set GDK_CONTROL_MASK here, too, if it
      	was a control character produced with Alt+keypad digits.
      	(gdk_event_translate): Minor cleanups to keyboard input
      	handling. Still need more major work.
      7fee0db1
    • Owen Taylor's avatar
      Robustify tracking of pointer grab window. · b54e5f4c
      Owen Taylor authored
      Fri Mar  1 18:39:44 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/{gdkevents-x11.c,gdkmain-x11.c,gdkprivate-x11.h,
              gdkwindow-x11.c}: Robustify tracking of pointer grab window.
      
              * gdk/x11/gdkmain-x11.c: Keep track of current keyboard
              grab window.
      
              * gdk/x11/gdkmain-x11.c (gdk_pointer_grab_info_libgtk_only,
              gdk_keyboard_grab_info_libgtk_only): Private libgtk => libgtk
              API for finding out current grab information.
      
              * gtk/gtkmain.c (rewrite_event_for_grabs): Rewrite events
              so that the effective behavior of owner_events = TRUE is changed
              to "deliver events to same window group normally" instead
              of "deliver events to same application normally. #69934
      
              * gtk/gtkrange.c: Use an explicit gtk_grab_add() so that
              it works within the GtkList combo, where there is a
              owner_events = FALSE gdk_pointer_grab() already in effect.
              (#65006, reported by Damon Chaplin)
      b54e5f4c
  26. 01 Mar, 2002 3 commits
    • Tor Lillqvist's avatar
      gdk/gdkkeys.c (gdk_keyval_convert_case) If the keyval to be converted is · d237e855
      Tor Lillqvist authored
      2002-03-01  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdkkeys.c (gdk_keyval_convert_case)
      	* gdk/x11/gdkkeys-x11.c (gdk_keyval_convert_case): If the keyval
      	to be converted is one of those that consist of a Unicode
      	character plus our special flag bit, use the
      	g_unichar_to{lower,upper} functions (Bug#73112).
      
      	* gdk/gdkkeys.c (gdk_keyval_convert_case): Drop the #ifdefs for
      	the GDK keysym symbols. As we include gdkkeysyms.h, we know they
      	are there. And if GDK keysyms some day are added/removed, this
      	function needs changes, too, anyway.
      d237e855
    • Owen Taylor's avatar
      Fix some reported (but not significant) UMR's from purify. (#73160, Morten · b924594e
      Owen Taylor authored
      Fri Mar  1 17:00:28 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkpolyreg-generic.c: Fix some reported (but not significant)
      	UMR's from purify. (#73160, Morten Welinder)
      b924594e
    • 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