Commit 843386d4 authored by Dave Davenport's avatar Dave Davenport

Don't set markup, when no markup is used.

parent 1b8ae829
......@@ -149,9 +149,9 @@ static char *_get_display_value ( const Mode *sw, unsigned int selected_line, G_
{
GAppInfo *app = pd->array[selected_line].app;
if ( app ) {
*state |= MARKUP;
const char *description = g_app_info_get_description ( app );
if ( description ) {
*state |= MARKUP;
return g_markup_printf_escaped("%s <span weight='light' size='small'><i>(%s)</i></span>", g_app_info_get_name(app), description );
} else {
return g_strdup ( g_app_info_get_name ( app ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment