mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00: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…
Add table
Add a link
Reference in a new issue