• Daniel Boles's avatar
    testmenubutton: Fix inverted keynav in the GtkMenu · 30effaf7
    Daniel Boles authored
    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.
    30effaf7
Name
Last commit
Last update
..
dummy-headers Loading commit data...
visuals Loading commit data...
3DRings.xpm Loading commit data...
FilesQueue.xpm Loading commit data...
Makefile.am Loading commit data...
Modeller.xpm Loading commit data...
animated-resizing.c Loading commit data...
animated-revealing.c Loading commit data...
apple-red.png Loading commit data...
blur-performance.c Loading commit data...
check-n.xpm Loading commit data...
check-y.xpm Loading commit data...
dialog.ui Loading commit data...
flicker.c Loading commit data...
frame-stats.c Loading commit data...
frame-stats.h Loading commit data...
gdkgears.c Loading commit data...
gnome-textfile.png Loading commit data...
gradient1.png Loading commit data...
gtkgears.c Loading commit data...
gtkgears.h Loading commit data...
gtkoffscreenbox.c Loading commit data...
gtkoffscreenbox.h Loading commit data...
listmodel.c Loading commit data...
makefile.msc Loading commit data...
marble.xpm Loading commit data...
merge-1.ui Loading commit data...
merge-2.ui Loading commit data...
merge-3.ui Loading commit data...
motion-compression.c Loading commit data...
mydialog.ui Loading commit data...
mydialog2.ui Loading commit data...
overlayscroll.c Loading commit data...
popover.ui Loading commit data...
popover2.ui Loading commit data...
popupat.ui Loading commit data...
print-editor.c Loading commit data...
scrolling-performance.c Loading commit data...
selectionmode.ui Loading commit data...
simple.c Loading commit data...
stresstest-toolbar.c Loading commit data...
styleexamples.c Loading commit data...
subsurface.c Loading commit data...
syncscroll.c Loading commit data...
test.xpm Loading commit data...
testaccel.c Loading commit data...
testactionbar.c Loading commit data...
testactions.c Loading commit data...
testadjustsize.c Loading commit data...
testanimation.c Loading commit data...
testappchooser.c Loading commit data...
testappchooserbutton.c Loading commit data...
testapplication.desktop Loading commit data...
testassistant.c Loading commit data...
testbaseline.c Loading commit data...
testbbox.c Loading commit data...
testbox.c Loading commit data...
testboxcss.c Loading commit data...
testbuttons.c Loading commit data...
testcairo.c Loading commit data...
testcalendar.c Loading commit data...
testcellarea.c Loading commit data...
testcellrenderertext.c Loading commit data...
testclipboard.c Loading commit data...
testcolorchooser.c Loading commit data...
testcolorchooser2.c Loading commit data...
testcolorchooser2.ui Loading commit data...
testcombo.c Loading commit data...
testcombochange.c Loading commit data...
testdialog.c Loading commit data...
testdnd.c Loading commit data...
testdnd2.c Loading commit data...
testellipsise.c Loading commit data...
testemblems.c Loading commit data...
testentrycompletion.c Loading commit data...
testentryicons.c Loading commit data...
testerrors.c Loading commit data...
testexpand.c Loading commit data...
testexpander.c Loading commit data...
testfilechooser.c Loading commit data...
testfilechooserbutton.c Loading commit data...
testflowbox.c Loading commit data...
testfontchooser.c Loading commit data...
testfontchooserdialog.c Loading commit data...
testfontoptions.c Loading commit data...
testfontselection.c Loading commit data...
testfontselectiondialog.c Loading commit data...
testforeign.c Loading commit data...
testframe.c Loading commit data...
testfullscreen.c Loading commit data...
testgeometry.c Loading commit data...
testgiconpixbuf.c Loading commit data...
testglarea.c Loading commit data...
testglblending.c Loading commit data...
testgmenu.c Loading commit data...
testgrid.c Loading commit data...
testgrouping.c Loading commit data...
testgtk.1 Loading commit data...
testgtk.c Loading commit data...
testgtk.css Loading commit data...
testgtk2.css Loading commit data...
testheaderbar.c Loading commit data...
testheightforwidth.c Loading commit data...
testicontheme.c Loading commit data...
testiconview-keynav.c Loading commit data...
testiconview.c Loading commit data...
testimage.c Loading commit data...
testinput.c Loading commit data...
testkineticscrolling.c Loading commit data...
testlevelbar.c Loading commit data...
testlist.c Loading commit data...
testlist2.c Loading commit data...
testlist3.c Loading commit data...
testlockbutton.c Loading commit data...
testlogout.c Loading commit data...
testmenubutton.c Loading commit data...
testmerge.c Loading commit data...
testmountoperation.c Loading commit data...
testmultidisplay.c Loading commit data...
testnoscreen.c Loading commit data...
testnotebookdnd.c Loading commit data...
testnouiprint.c Loading commit data...
testnumerableicon.c Loading commit data...
testoffscreen.c Loading commit data...
testoffscreenwindow.c Loading commit data...
testorientable.c Loading commit data...
testoverlay.c Loading commit data...
testoverlaystyleclass.c Loading commit data...
testpixbuf-color.c Loading commit data...
testpixbuf-save.c Loading commit data...
testpixbuf-scale.c Loading commit data...
testplacesview.c Loading commit data...
testpopover.c Loading commit data...
testpopup.c Loading commit data...
testpopupat.c Loading commit data...
testprint.c Loading commit data...
testprintfileoperation.c Loading commit data...
testprintfileoperation.h Loading commit data...
testrc.c Loading commit data...
testrecentchooser.c Loading commit data...
testrecentchoosermenu.c Loading commit data...
testrevealer.c Loading commit data...
testrevealer2.c Loading commit data...
testrichtext.c Loading commit data...
testscale.c Loading commit data...
testscrolledge.c Loading commit data...
testscrolledwindow.c Loading commit data...
testselection.c Loading commit data...
testselectionmode.c Loading commit data...
testsensitive.c Loading commit data...
testsocket.c Loading commit data...
testsocket_child.c Loading commit data...
testsocket_common.c Loading commit data...
testspinbutton.c Loading commit data...
testsplitheaders.c Loading commit data...
testsplitheaders.ui Loading commit data...
teststack.c Loading commit data...
teststackedheaders.c Loading commit data...
teststackedheaders.ui Loading commit data...
teststatusicon.c Loading commit data...
teststockbuttonmenu.c Loading commit data...
testswitch.c Loading commit data...
testtextview.c Loading commit data...
testthreads.c Loading commit data...
testtitlebar.c Loading commit data...
testtoolbar.c Loading commit data...
testtoolbar2.c Loading commit data...
testtooltips.c Loading commit data...
testtoplevelembed.c Loading commit data...
testtreechanging.c Loading commit data...
testtreecolumns.c Loading commit data...
testtreecolumnsizing.c Loading commit data...
testtreednd.c Loading commit data...
testtreeedit.c Loading commit data...
testtreeflow.c Loading commit data...
testtreefocus.c Loading commit data...
testtreemenu.c Loading commit data...
testtreemodel.c Loading commit data...
testtreepos.c Loading commit data...
testtreesort.c Loading commit data...
testtreeview-plan.txt Loading commit data...
testtreeview.c Loading commit data...
testverticalcells.c Loading commit data...
testvolumebutton.c Loading commit data...
testwindows.c Loading commit data...
testwindowsize.c Loading commit data...
testxinerama.c Loading commit data...
treestoretest.c Loading commit data...
variable.c Loading commit data...
variable.h Loading commit data...
video-timer.c Loading commit data...