]> Dogcows Code - chaz/openbox/commitdiff
make the menu headers show their correct text
authorDana Jansens <danakj@orodu.net>
Sun, 3 Feb 2008 23:45:40 +0000 (18:45 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 3 Feb 2008 23:45:40 +0000 (18:45 -0500)
openbox/menuframe.c

index 5ffaaf2fe3ff8fbaa1c8f233463684ed6dea5d53..fb9b6c5b3a05708742cdf6ec727ed10a594524d1 100644 (file)
@@ -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;
This page took 0.022883 seconds and 4 git commands to generate.