Transient-for for reconcile information dialog.

This commit is contained in:
John Ralls 2018-02-23 13:29:39 -08:00
parent e186d77a16
commit 36fa8d57bf
4 changed files with 5 additions and 4 deletions

View File

@ -182,7 +182,8 @@ gtu_sr_handle_exchange_rate (GncTreeViewSplitReg *view, gnc_numeric amount, Tran
rate_split = gtu_sr_get_rate_from_db (reg_comm, xfer_comm); rate_split = gtu_sr_get_rate_from_db (reg_comm, xfer_comm);
/* create the exchange-rate dialog */ /* create the exchange-rate dialog */
xfer = gnc_xfer_dialog (NULL, NULL);
xfer = gnc_xfer_dialog (GTK_WIDGET (view), NULL);
gnc_xfer_dialog_is_exchange_dialog (xfer, &rate_split); gnc_xfer_dialog_is_exchange_dialog (xfer, &rate_split);

View File

@ -2152,7 +2152,7 @@ recnFinishCB (GtkAction *action, RecnWindow *recnData)
Account *payment_account; Account *payment_account;
XferDialog *xfer; XferDialog *xfer;
xfer = gnc_xfer_dialog(NULL, account); xfer = gnc_xfer_dialog (GTK_WIDGET (recnData->window), account);
gnc_xfer_dialog_set_amount(xfer, gnc_numeric_neg (recnData->new_ending)); gnc_xfer_dialog_set_amount(xfer, gnc_numeric_neg (recnData->new_ending));

View File

@ -2096,7 +2096,7 @@ recnFinishCB (GtkAction *action, RecnWindow2 *recnData)
Account *payment_account; Account *payment_account;
XferDialog *xfer; XferDialog *xfer;
xfer = gnc_xfer_dialog (NULL, account); xfer = gnc_xfer_dialog (GTK_WIDGET (recnData->window), account);
gnc_xfer_dialog_set_amount (xfer, gnc_numeric_neg (recnData->new_ending)); gnc_xfer_dialog_set_amount (xfer, gnc_numeric_neg (recnData->new_ending));

View File

@ -1250,7 +1250,7 @@ gnc_split_register_xfer_dialog(SplitRegister *reg, Transaction *txn,
cur = reg->table->current_cursor; cur = reg->table->current_cursor;
/* Create the exchange rate dialog. */ /* Create the exchange rate dialog. */
xfer = gnc_xfer_dialog(NULL, NULL); xfer = gnc_xfer_dialog(GTK_WIDGET (reg), NULL);
g_return_val_if_fail(xfer, NULL); g_return_val_if_fail(xfer, NULL);
/* Set the description. */ /* Set the description. */