mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
linux: use managed system dialog instead of DBus file picker (it has an extra black background panel on Wayland).
This commit is contained in:
parent
1c14f5ea88
commit
0b8740dc3a
1 changed files with 107 additions and 104 deletions
|
@ -3,6 +3,7 @@ using System.IO;
|
||||||
using System.Runtime.Versioning;
|
using System.Runtime.Versioning;
|
||||||
|
|
||||||
using Avalonia;
|
using Avalonia;
|
||||||
|
using Avalonia.Dialogs;
|
||||||
|
|
||||||
namespace SourceGit.Native
|
namespace SourceGit.Native
|
||||||
{
|
{
|
||||||
|
@ -14,6 +15,8 @@ namespace SourceGit.Native
|
||||||
#if USE_FONT_INTER
|
#if USE_FONT_INTER
|
||||||
builder.WithInterFont();
|
builder.WithInterFont();
|
||||||
#endif
|
#endif
|
||||||
|
// Free-desktop file picker has an extra black background panel.
|
||||||
|
builder.UseManagedSystemDialogs();
|
||||||
}
|
}
|
||||||
|
|
||||||
public string FindGitExecutable()
|
public string FindGitExecutable()
|
||||||
|
|
Loading…
Reference in a new issue