mirror of https://github.com/davatorium/rofi.git
[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:
parent
cc682f107b
commit
121278e6d1
|
@ -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.
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue