mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-03 15:34:54 -05:00
[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
2 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue