From 6b04ac47e2306b7b37a2f52753a94a7b87515f7a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 3 Feb 2008 18:45:40 -0500 Subject: [PATCH] make the menu headers show their correct text --- openbox/menuframe.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 5ffaaf2f..fb9b6c5b 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -381,8 +381,11 @@ static void menu_entry_frame_render(ObMenuEntryFrame *self) text_a->texture[0].data.text.shortcut = FALSE; break; case OB_MENU_ENTRY_TYPE_SEPARATOR: - if (self->entry->data.separator.label != NULL) + if (self->entry->data.separator.label != NULL) { text_a = ob_rr_theme->a_menu_text_title; + text_a->texture[0].data.text.string = + self->entry->data.separator.label; + } else text_a = ob_rr_theme->a_menu_text_normal; break; -- 2.45.2