mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -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 Avalonia;
|
||||
using Avalonia.Dialogs;
|
||||
|
||||
namespace SourceGit.Native
|
||||
{
|
||||
|
@ -14,6 +15,8 @@ namespace SourceGit.Native
|
|||
#if USE_FONT_INTER
|
||||
builder.WithInterFont();
|
||||
#endif
|
||||
// Free-desktop file picker has an extra black background panel.
|
||||
builder.UseManagedSystemDialogs();
|
||||
}
|
||||
|
||||
public string FindGitExecutable()
|
||||
|
|
Loading…
Reference in a new issue