Skip to content

Commit

Permalink
Sets the "Lock All" entry in the tray menu insensitive,
Browse files Browse the repository at this point in the history
with all vaults being locked
Fixes cryptomator/cryptomator#3472
  • Loading branch information
purejava committed Jul 4, 2024
1 parent 7b72518 commit cbe8c34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<secret-service.version>2.0.1-alpha</secret-service.version>
<kdewallet.version>1.4.0</kdewallet.version>
<slf4j.version>2.0.13</slf4j.version>
<appindicator.version>1.4.0</appindicator.version>
<appindicator.version>1.4.1</appindicator.version>

<!-- test dependencies -->
<junit.version>5.10.2</junit.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ private void addChildren(MemorySegment menu, List<TrayMenuItem> items) {
GCallback.allocate(new ActionItemCallback(a), ARENA),
menu,
0);
Gtk.widgetSetSensitive(gtkMenuItem, a.enabled());
Gtk.menuShellAppend(menu, gtkMenuItem);
}
case SeparatorItem _ -> {
Expand Down

0 comments on commit cbe8c34

Please sign in to comment.