comparison src/bar_histogram.c @ 1389:c44f21235ffe

Use a common function bar_pane_expander_title() to set expanders title widget.
author zas_
date Sat, 07 Mar 2009 10:31:30 +0000
parents 6f31fa931d3f
children c520cfd40aef
comparison
equal deleted inserted replaced
1388:2496a345c452 1389:c44f21235ffe
331 331
332 phd = g_new0(PaneHistogramData, 1); 332 phd = g_new0(PaneHistogramData, 1);
333 333
334 phd->pane.pane_set_fd = bar_pane_histogram_set_fd; 334 phd->pane.pane_set_fd = bar_pane_histogram_set_fd;
335 phd->pane.pane_write_config = bar_pane_histogram_write_config; 335 phd->pane.pane_write_config = bar_pane_histogram_write_config;
336 phd->pane.title = gtk_label_new(title); 336 phd->pane.title = bar_pane_expander_title(title);
337 pref_label_bold(phd->pane.title, TRUE, FALSE);
338 337
339 phd->pane.expanded = expanded; 338 phd->pane.expanded = expanded;
340 phd->idle_id = -1; 339 phd->idle_id = -1;
341 340
342 phd->histogram = histogram_new(); 341 phd->histogram = histogram_new();