Use gtk ShowUri method to make use of flatpak portals
This commit is contained in:
parent
99f64edc1b
commit
cae00c41a2
|
@ -100,7 +100,7 @@ namespace SparkleShare {
|
|||
|
||||
public override void OpenFile (string path)
|
||||
{
|
||||
new Command ("xdg-open", "\"" + path + "\"").Start ();
|
||||
Global.ShowUri (Gdk.Screen.Default, path);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue