[DRUN] Expand path we get from Desktop file

* This is more 'free'  then spec. but does not break anything.

Fixes: #317
This commit is contained in:
Dave Davenport 2016-01-14 17:42:07 +01:00
parent cc682f107b
commit 121278e6d1
2 changed files with 4 additions and 2 deletions

View File

@ -120,8 +120,10 @@ static void exec_cmd_entry ( DRunModeEntry *e )
}
}
}
execsh ( g_strstrip ( str ), e->terminal );
gchar *fp = rofi_expand_path ( g_strstrip ( str ) );
execsh ( fp, e->terminal );
g_free ( str );
g_free ( fp );
}
/**
* Internal spider used to get list of executables.

View File

@ -145,7 +145,7 @@ static void __textbox_update_pango_text ( textbox *tb )
}
else {
pango_layout_set_attributes ( tb->layout, NULL );
pango_layout_set_text ( tb->layout, tb->text, -1);
pango_layout_set_text ( tb->layout, tb->text, -1 );
}
}