diff src/bar_keywords.c @ 1387:6f31fa931d3f

simplified bar interface
author nadvornik
date Fri, 06 Mar 2009 15:52:47 +0000
parents c9949c19a6d0
children c44f21235ffe
line wrap: on
line diff
--- a/src/bar_keywords.c	Fri Mar 06 15:04:35 2009 +0000
+++ b/src/bar_keywords.c	Fri Mar 06 15:52:47 2009 +0000
@@ -26,6 +26,7 @@
 #include "bar.h"
 #include "ui_menu.h"
 #include "rcfile.h"
+#include "layout.h"
 
 static const gchar *keyword_favorite_defaults[] = {
 	N_("Favorite"),
@@ -561,11 +562,9 @@
 	GList *list = NULL;
 	GList *work;
 
-	if (!pkd->pane.list_func) return;
-
 	keywords = keyword_list_pull(pkd->keyword_view);
 
-	list = pkd->pane.list_func(pkd->pane.list_data);
+	list = layout_selection_list(pkd->pane.lw);
 	work = list;
 	while (work)
 		{
@@ -729,6 +728,8 @@
 	pkd->pane.pane_event = bar_pane_keywords_event;
 	pkd->pane.pane_write_config = bar_pane_keywords_write_config;
 	pkd->pane.title = gtk_label_new(title);
+	pref_label_bold(pkd->pane.title, TRUE, FALSE);
+
 	pkd->pane.expanded = expanded;
 
 	pkd->key = g_strdup(key);