diff src/bar.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 8036c5b779ca
line wrap: on
line diff
--- a/src/bar.c	Fri Mar 06 22:34:38 2009 +0000
+++ b/src/bar.c	Sat Mar 07 10:31:30 2009 +0000
@@ -354,5 +354,14 @@
 	return bar;
 }
 
+GtkWidget *bar_pane_expander_title(const gchar *title)
+{
+	GtkWidget *widget = gtk_label_new(title);
+
+	pref_label_bold(widget, TRUE, FALSE);
+	//gtk_label_set_ellipsize(GTK_LABEL(widget), PANGO_ELLIPSIZE_END); //FIXME: do not work
+
+	return widget;
+}
 
 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */