~sjrct/homebank/resize-xfer-window

« back to all changes in this revision

Viewing changes to src/ui-budget-tabview.c

  • Committer: Maxime Doyen
  • Date: 2023-12-09 09:48:49 UTC
  • Revision ID: homebank@free.fr-20231209094849-rdoz0pmsutvxh1r4
5.7.3 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
332
332
                budget,
333
333
                &child,
334
334
                UI_BUD_TABVIEW_CATEGORY_KEY, bdg_category->key,
335
 
                UI_BUD_TABVIEW_CATEGORY_NAME, bdg_category->name,
 
335
                UI_BUD_TABVIEW_CATEGORY_NAME, bdg_category->typename,
336
336
                UI_BUD_TABVIEW_CATEGORY_FULLNAME, bdg_category->fullname,
337
337
                UI_BUD_TABVIEW_CATEGORY_TYPE, category_type_get (bdg_category),
338
338
                UI_BUD_TABVIEW_IS_MONITORING_FORCED, (bdg_category->flags & GF_FORCED),
1207
1207
        }
1208
1208
 
1209
1209
        g_object_set(renderer,
1210
 
                "style", is_sub_category ? PANGO_STYLE_ITALIC : PANGO_STYLE_NORMAL,
 
1210
                //"style", is_sub_category ? PANGO_STYLE_ITALIC : PANGO_STYLE_NORMAL,
1211
1211
                "weight", weight,
1212
1212
                NULL);
1213
1213
}
1562
1562
        gtk_tree_view_column_set_resizable(col, TRUE);
1563
1563
 
1564
1564
        gtk_tree_view_column_pack_start (col, cat_name_renderer, TRUE);
1565
 
        gtk_tree_view_column_add_attribute(col, cat_name_renderer, "text", UI_BUD_TABVIEW_CATEGORY_NAME);
 
1565
        gtk_tree_view_column_add_attribute(col, cat_name_renderer, "markup", UI_BUD_TABVIEW_CATEGORY_NAME);
1566
1566
        gtk_tree_view_column_set_cell_data_func(col, cat_name_renderer, ui_bud_tabview_view_display_category_name, (gpointer) data, NULL);
1567
1567
#if HB_BUD_TABVIEW_EDIT_ENABLE
1568
1568
        g_object_set(cat_name_renderer, "editable", TRUE, NULL);