diff 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
line wrap: on
line diff
--- a/src/bar_histogram.c	Fri Mar 06 22:34:38 2009 +0000
+++ b/src/bar_histogram.c	Sat Mar 07 10:31:30 2009 +0000
@@ -333,8 +333,7 @@
 	
 	phd->pane.pane_set_fd = bar_pane_histogram_set_fd;
 	phd->pane.pane_write_config = bar_pane_histogram_write_config;
-	phd->pane.title = gtk_label_new(title);
-	pref_label_bold(phd->pane.title, TRUE, FALSE);
+	phd->pane.title = bar_pane_expander_title(title);
 
 	phd->pane.expanded = expanded;
 	phd->idle_id = -1;