Skip to content

Commit

Permalink
Adjust trayicon impl to recent changes
Browse files Browse the repository at this point in the history
* changed dependencies
* changed class name
  • Loading branch information
purejava authored May 24, 2023
1 parent 1bca3cc commit 3821dcd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@
<!-- Java bindings for appindicator -->
<dependency>
<groupId>org.purejava</groupId>
<artifactId>appindicator-gtk3-java</artifactId>
<classifier>libayatana-appindicator-libappindicator-minimal</classifier>
<artifactId>libappindicator-gtk3-java-minimal</artifactId>
<version>${appindicator.version}</version>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import org.cryptomator.integrations.tray.TrayMenuException;
import org.cryptomator.integrations.tray.TrayMenuItem;
import org.purejava.appindicator.GCallback;
import org.purejava.appindicator.MemoryAllocator;
import org.purejava.appindicator.NativeLibUtilities;

import java.lang.foreign.Arena;
import java.lang.foreign.MemorySegment;
Expand All @@ -33,7 +33,7 @@ public class AppindicatorTrayMenuController implements TrayMenuController {

@CheckAvailability
public static boolean isAvailable() {
return MemoryAllocator.isLoadedNativeLib();
return NativeLibUtilities.isLoadedNativeLib();
}

@Override
Expand Down

0 comments on commit 3821dcd

Please sign in to comment.