mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
In the transfer dialog, always use bold headers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16100 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ff06f1a801
commit
f17426d697
@ -1815,8 +1815,11 @@ void
|
||||
gnc_xfer_dialog_set_information_label( XferDialog *xferData,
|
||||
const gchar *text )
|
||||
{
|
||||
if(xferData && text)
|
||||
gtk_label_set_label (GTK_LABEL (xferData->transferinfo_label), text);
|
||||
if(xferData && text) {
|
||||
gchar *markup_text = g_strdup_printf ("<b>%s</b>", text);
|
||||
gtk_label_set_markup (GTK_LABEL (xferData->transferinfo_label), markup_text);
|
||||
g_free (markup_text);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1825,11 +1828,14 @@ gnc_xfer_dialog_set_account_label( XferDialog *xferData,
|
||||
const gchar *text,
|
||||
XferDirection direction )
|
||||
{
|
||||
if(xferData && text)
|
||||
gtk_label_set_text (GTK_LABEL ((direction == XFER_DIALOG_FROM ?
|
||||
if(xferData && text) {
|
||||
gchar *markup_text = g_strdup_printf ("<b>%s</b>", text);
|
||||
gtk_label_set_markup (GTK_LABEL ((direction == XFER_DIALOG_FROM ?
|
||||
xferData->from_transfer_label :
|
||||
xferData->to_transfer_label)),
|
||||
text);
|
||||
markup_text);
|
||||
g_free (markup_text);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user