gtk2/tests
Daniel Boles 6cafb62e9b testmenubutton: Fix inverted keynav in the GtkMenu
GtkMenu’s own keynav code, which actually bothers to account for the
layout of items, only happens if columns > 1. So, adding items to 1
column using a reverse loop meant they were placed in the Menu’s list of
children in that order, and because we only have 1 column, Menu passes
keynav up to MenuShell, which doesn’t adjust for the items’ positions.

‘Fix’ that here by adding items in the same order they’ll have when laid
out in the Menu, so keynav does what you’d expect, not the opposite. For
that, it’s simpler just to use gtk_container_add().

Let’s presume users are using add(), attach() with a non-inverted loop,
or attach() with arguments that create 2+ columns and so GtkMenu keynav.
2017-10-08 13:17:04 +01:00
..
dummy-headers quartz: move atom/pasteboard type conversions functions to GDK 2013-03-28 13:10:38 +01:00
visuals Drop Autotools build 2017-08-14 22:23:09 +01:00
3DRings.xpm
animated-resizing.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
animated-revealing.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
apple-red.png
blur-performance.c gsk: Move gtk/gtkcairoblur.c to gsk/gskcairoblur.c 2016-12-20 18:01:11 +01:00
check-n.xpm
check-y.xpm
dialog.ui Set initial focus in some dialog tests 2014-08-02 11:59:05 +02:00
FilesQueue.xpm
flicker.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
frame-stats.c tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
frame-stats.h tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
gdkgears.c gdkgears: Add window content spacing back 2017-07-20 12:41:12 +02:00
gnome-textfile.png
gradient1.png
gtkgears.c Avoid redefining GNU_SOURCE 2017-03-23 15:15:12 +00:00
gtkgears.h tests: Make gtkgears compile without complaints 2014-10-14 14:33:08 +02:00
listmodel.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
marble.xpm
merge-1.ui
merge-2.ui
merge-3.ui
meson.build Add a simple center box test 2017-06-04 21:40:20 -04:00
Modeller.xpm
motion-compression.c tests: Use GdkEvent API 2017-09-19 18:39:03 +02:00
mydialog2.ui Add missing templates to testdialog 2014-04-25 22:11:54 -04:00
mydialog.ui Add missing templates to testdialog 2014-04-25 22:11:54 -04:00
overlayscroll.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
popover2.ui testpopover: Remove expand GtkBox child properties 2017-07-19 21:27:15 -04:00
popover.ui GtkMenuSectionBox: Always show separators for labeled sections 2014-04-29 12:19:53 -04:00
popupat.ui tests/popupat: Remove references to noexistent widgets 2016-11-05 13:39:41 +01:00
portland-rose.jpg Add a test for overlay blur 2017-09-04 14:28:16 -04:00
print-editor.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
rendernode-create-tests.c Create tests for gsk box shadows 2017-10-01 22:55:32 -04:00
rendernode.c Avoid a compiler warning 2017-04-01 12:19:23 -04:00
scrolling-performance.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
selectionmode.ui widget: Remove show-all property 2017-01-20 21:37:07 +01:00
simple.c Update callers 2017-01-19 13:50:17 -05:00
stresstest-toolbar.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
syncscroll.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
test.xpm
testaccel.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testactionbar.c actionbar: Add explicit center widget 2017-04-25 20:30:37 +02:00
testadjustsize.c tests: Get rid of GtkEventBox 2017-08-02 00:15:10 +01:00
testanimation.c tests: Include system headers appropriately 2017-07-21 23:36:03 +08:00
testappchooser.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testappchooserbutton.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testapplication.desktop
testassistant.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testbaseline.c tests: Get rid of GtkEventBox 2017-08-02 00:15:10 +01:00
testbbox.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testbox.c box: Remove center child 2017-04-25 20:30:37 +02:00
testboxcss.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testbuttons.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testcairo.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testcalendar.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testcellarea.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testcellrenderertext.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testcenterbox.c testcenterbox: Properly quit on window close 2017-09-03 09:17:35 +02:00
testclipboard.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testcolorchooser2.c Update callers 2017-01-19 13:50:17 -05:00
testcolorchooser2.ui Add a color editor test 2016-01-23 18:16:51 -05:00
testcolorchooser.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testcombo.c testcombo: Test grid :row- and :column-span-column 2017-10-04 11:17:57 +01:00
testcombochange.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testdialog.c meson: tests: make tests find resources from the source dir 2017-05-03 15:10:53 +01:00
testdnd2.c tests: Get rid of GtkEventBox 2017-08-02 00:15:10 +01:00
testdnd.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testellipsise.c tests: Get rid of GtkEventBox 2017-08-02 00:15:10 +01:00
testemblems.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testentrycompletion.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testentryicons.c Add a testcase for the new Emoji chooser 2017-08-12 18:48:14 -04:00
testerrors.c Update callers 2017-01-19 13:50:17 -05:00
testexpand.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testexpander.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testfilechooser.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testfilechooserbutton.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testflowbox.c testflowbox: hexpand the flowbox 2017-07-22 06:52:46 +02:00
testfontchooser.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testfontchooserdialog.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testfontoptions.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testframe.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testfullscreen.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testgaction.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testgiconpixbuf.c meson: tests: make tests find resources from the source dir 2017-05-03 15:10:53 +01:00
testglarea.c Update callers 2017-01-19 13:50:17 -05:00
testglblending.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testgmenu.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testgrid.c tests: Get rid of GtkEventBox 2017-08-02 00:15:10 +01:00
testgrouping.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testgtk2.css testgtk: fix css 2016-10-16 18:17:21 +02:00
testgtk.1
testgtk.c tests: Use GdkEvent API 2017-09-19 18:39:03 +02:00
testgtk.css testgtk: Remove some invalid css 2017-08-23 11:05:37 +02:00
testheaderbar.c tests: Get rid of GtkEventBox 2017-08-02 00:15:10 +01:00
testheightforwidth.c testheightforwidth: Remove GtkBox fill/expand usage 2017-07-19 21:27:13 -04:00
testicontheme.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testiconview-keynav.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testiconview.c tests: Use GdkEvent API 2017-09-19 18:39:03 +02:00
testimage.c tests: Get rid of GtkEventBox 2017-08-02 00:15:10 +01:00
testinput.c tests: Use GdkEvent API 2017-09-19 18:39:03 +02:00
testkineticscrolling.c Update callers 2017-01-19 13:50:17 -05:00
testlevelbar.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testlist2.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testlist3.c tests: Get rid of GtkEventBox 2017-08-02 00:15:10 +01:00
testlist.c testlist: Fix custom css 2017-05-25 16:25:59 +02:00
testlockbutton.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testlogout.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testmenubutton.c testmenubutton: Fix inverted keynav in the GtkMenu 2017-10-08 13:17:04 +01:00
testmountoperation.c Update callers 2017-01-19 13:50:17 -05:00
testmultidisplay.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testnoscreen.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testnotebookdnd.c testnotebookdnd: quit when the toplevel gets closed 2017-07-19 21:27:14 -04:00
testnouiprint.c Bump GLib dependency to 2.35 2012-11-04 13:01:38 -05:00
testorientable.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testoverlay.c tests: Update testoverlay "Chase" testcase to gtk4 crossing events 2017-09-15 21:11:22 +02:00
testoverlaystyleclass.c tests: Get rid of GtkEventBox 2017-08-02 00:15:10 +01:00
testpixbuf-scale.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testplacesview.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testpopover.c testpopover: Use HeaderBar to get CSD decorations 2017-08-24 21:32:05 +01:00
testpopup.c tests: Use GdkEvent API 2017-09-19 18:39:03 +02:00
testpopupat.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testprint.c Update callers 2017-01-19 13:50:17 -05:00
testprintfileoperation.c
testprintfileoperation.h
testrc.c Update callers 2017-01-19 13:50:17 -05:00
testrecentchooser.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testrecentchoosermenu.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testrevealer2.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testrevealer.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testrichtext.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testscale.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testscrolledge.c widget: Remove show-all property 2017-01-20 21:37:07 +01:00
testscrolledwindow.c label: Remove angle property 2017-04-25 20:30:37 +02:00
testselection.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testselectionmode.c meson: tests: make tests find resources from the source dir 2017-05-03 15:10:53 +01:00
testsensitive.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testspinbutton.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testsplitheaders.c meson: tests: make tests find resources from the source dir 2017-05-03 15:10:53 +01:00
testsplitheaders.ui Fix separator in testsplitheaders 2015-03-28 22:32:12 -04:00
teststack.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
teststackedheaders.c meson: tests: make tests find resources from the source dir 2017-05-03 15:10:53 +01:00
teststackedheaders.ui Add a testcase for stacked headerbars 2016-11-03 08:32:31 -04:00
testswitch.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testtextview.c Update callers 2017-01-19 13:50:17 -05:00
testthreads.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testtitlebar.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testtoolbar2.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testtoolbar.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testtooltips.c testtooltips: Add static tooltip 2017-07-19 21:27:13 -04:00
testtoplevelembed.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testtreechanging.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testtreecolumns.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testtreecolumnsizing.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testtreednd.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testtreeedit.c tests: Use GdkEvent API 2017-09-19 18:39:03 +02:00
testtreeflow.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testtreefocus.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testtreemodel.c Update callers 2017-01-19 13:50:17 -05:00
testtreepos.c tests: Use GdkEvent API 2017-09-19 18:39:03 +02:00
testtreesort.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testtreeview-plan.txt
testtreeview.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testverticalcells.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testvolumebutton.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testwidgetfocus.c tests: Use GdkEvent API 2017-09-19 18:39:03 +02:00
testwindowsize.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testxinerama.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
treestoretest.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
variable.c tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
variable.h Fix another header guard oversight 2014-12-08 19:34:23 -05:00
video-timer.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00