Browse Source
use less verbose guid generation code
pull/6560/head
Jumar Macato
5 years ago
No known key found for this signature in database
GPG Key ID: 85076C4D9D3155A3
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.FreeDesktop/DBusMenuExporter.cs
|
|
|
@ -31,7 +31,7 @@ namespace Avalonia.FreeDesktop |
|
|
|
} |
|
|
|
|
|
|
|
public static ObjectPath GenerateDBusMenuObjPath => "/net/avaloniaui/dbusmenu/" |
|
|
|
+ Guid.NewGuid().ToString().Replace("-", ""); |
|
|
|
+ Guid.NewGuid().ToString("N"); |
|
|
|
|
|
|
|
private class DBusMenuExporterImpl : ITopLevelNativeMenuExporter, IDBusMenu, IDisposable |
|
|
|
{ |
|
|
|
|