mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
haha fixed the traversal order, finally!
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@461 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
26c55c3207
commit
70ae318ae3
@ -452,6 +452,9 @@ regWindowLedger( Widget parent, Account **acclist, int ledger_type )
|
||||
|
||||
position = 0; /* puts the buttons in the right place */
|
||||
|
||||
/* traverse to the buttons, when leaving the table */
|
||||
xaccNextTabGroup (regData->ledger->table, buttonform);
|
||||
|
||||
/* The "Record" button */
|
||||
widget = XtVaCreateManagedWidget( RECORD_STR,
|
||||
xmPushButtonWidgetClass, buttonform,
|
||||
@ -462,16 +465,13 @@ regWindowLedger( Widget parent, Account **acclist, int ledger_type )
|
||||
XmNrightAttachment, XmATTACH_POSITION,
|
||||
XmNrightPosition, position+1,
|
||||
XmNshowAsDefault, True,
|
||||
XmNnavigationType, XmEXCLUSIVE_TAB_GROUP,
|
||||
XmNnavigationType, XmTAB_GROUP,
|
||||
NULL );
|
||||
|
||||
XtAddCallback( widget, XmNactivateCallback,
|
||||
recordCB, (XtPointer)regData );
|
||||
regData->record = widget;
|
||||
|
||||
/* traverse to the buttons, when leaving the table */
|
||||
xaccNextTabGroup (regData->ledger->table, widget);
|
||||
|
||||
|
||||
/* The "Cancel" button */
|
||||
position++;
|
||||
@ -484,7 +484,6 @@ regWindowLedger( Widget parent, Account **acclist, int ledger_type )
|
||||
XmNrightAttachment, XmATTACH_POSITION,
|
||||
XmNrightPosition, position+1,
|
||||
XmNshowAsDefault, True,
|
||||
/* XmNnavigationType, XmTAB_GROUP, */
|
||||
XmNnavigationType, XmEXCLUSIVE_TAB_GROUP,
|
||||
NULL );
|
||||
|
||||
@ -502,7 +501,6 @@ regWindowLedger( Widget parent, Account **acclist, int ledger_type )
|
||||
XmNrightAttachment, XmATTACH_POSITION,
|
||||
XmNrightPosition, position+1,
|
||||
XmNshowAsDefault, True,
|
||||
/* XmNnavigationType, XmTAB_GROUP, */
|
||||
XmNnavigationType, XmEXCLUSIVE_TAB_GROUP,
|
||||
NULL );
|
||||
|
||||
@ -554,7 +552,7 @@ regWindowLedger( Widget parent, Account **acclist, int ledger_type )
|
||||
XmNleftPosition, position,
|
||||
XmNrightAttachment, XmATTACH_POSITION,
|
||||
XmNrightPosition, position+1,
|
||||
XmNnavigationType, XmTAB_GROUP, /* don't tab here! */
|
||||
XmNnavigationType, XmNONE, /* don't tab here! */
|
||||
NULL );
|
||||
regData->balance = widget;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user