~mdoyen/homebank/5.2.x

« back to all changes in this revision

Viewing changes to src/list-scheduled.c

  • Committer: Maxime Doyen
  • Date: 2019-07-29 20:34:22 UTC
  • Revision ID: homebank@free.fr-20190729203422-hy3g4szjv3dbzmxu
5.2.7 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
 
314
314
static void list_upcoming_destroy(GtkTreeView *treeview, gpointer user_data)
315
315
{
316
 
GtkTreeViewColumn  *column;
 
316
GtkTreeViewColumn *column;
317
317
 
318
318
        DB( g_print ("\n[list_upcoming] destroy\n") );
319
319
 
 
320
        //#1830656 use xxx_get_fixed_width instead of width, as if not visible will save 0 otherwise
320
321
        column = list_upcoming_get_column(treeview, COL_DSPUPC_PAYEE);
321
322
        if( column )
322
323
        {
323
 
                PREFS->pnl_upc_col_pay_width = gtk_tree_view_column_get_width(column);
 
324
                PREFS->pnl_upc_col_pay_width = gtk_tree_view_column_get_fixed_width(column);
324
325
        }
325
326
        
326
327
        column = list_upcoming_get_column(treeview, COL_DSPUPC_MEMO);
327
328
        if( column )
328
329
        {
329
 
                PREFS->pnl_upc_col_mem_width = gtk_tree_view_column_get_width(column);
 
330
                PREFS->pnl_upc_col_mem_width = gtk_tree_view_column_get_fixed_width(column);
330
331
        }
331
332
 
332
333
        DB( g_print(" width payee:%d, memo:%d\n", PREFS->pnl_upc_col_pay_width, PREFS->pnl_upc_col_mem_width) );