~mdoyen/homebank/5.3.x

« back to all changes in this revision

Viewing changes to src/ui-budget.c

  • Committer: Maxime Doyen
  • Date: 2019-05-25 07:29:57 UTC
  • Revision ID: homebank@free.fr-20190525072957-35m6fho2msvt86ko
5.2.6 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
942
942
{
943
943
gint type;
944
944
 
945
 
        type = hbtk_radio_get_active(GTK_CONTAINER(data->RA_type)) == 1 ? CAT_TYPE_INCOME : CAT_TYPE_EXPENSE;
 
945
        type = hbtk_radio_button_get_active(GTK_CONTAINER(data->RA_type)) == 1 ? CAT_TYPE_INCOME : CAT_TYPE_EXPENSE;
946
946
 
947
947
        ui_cat_listview_populate(data->LV_cat, type);
948
948
        gtk_tree_view_expand_all (GTK_TREE_VIEW(data->LV_cat));
1020
1020
        gtk_box_pack_start (GTK_BOX (content_area), table, TRUE, TRUE, 0);
1021
1021
 
1022
1022
        crow = 0;
1023
 
        bbox = hbtk_radio_new(CYA_CAT_TYPE, TRUE);
 
1023
        bbox = hbtk_radio_button_new(CYA_CAT_TYPE, TRUE);
1024
1024
        data.RA_type = bbox;
1025
1025
        gtk_widget_set_halign (bbox, GTK_ALIGN_CENTER);
1026
1026
        gtk_grid_attach (GTK_GRID (table), bbox, 0, crow, 1, 1);
1027
1027
 
1028
 
        hbtk_radio_connect (GTK_CONTAINER(bbox), "toggled", G_CALLBACK (ui_bud_manage_type_changed_cb), &data);
 
1028
        hbtk_radio_button_connect (GTK_CONTAINER(bbox), "toggled", G_CALLBACK (ui_bud_manage_type_changed_cb), &data);
1029
1029
 
1030
1030
        menu = gtk_menu_new ();
1031
1031
        gtk_widget_set_halign (menu, GTK_ALIGN_END);