Skip to content

Commit cbe8c34

Browse files
committed
Sets the "Lock All" entry in the tray menu insensitive,
with all vaults being locked Fixes cryptomator/cryptomator#3472
1 parent 7b72518 commit cbe8c34

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<secret-service.version>2.0.1-alpha</secret-service.version>
4545
<kdewallet.version>1.4.0</kdewallet.version>
4646
<slf4j.version>2.0.13</slf4j.version>
47-
<appindicator.version>1.4.0</appindicator.version>
47+
<appindicator.version>1.4.1</appindicator.version>
4848

4949
<!-- test dependencies -->
5050
<junit.version>5.10.2</junit.version>

src/main/java/org/cryptomator/linux/tray/AppindicatorTrayMenuController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ private void addChildren(MemorySegment menu, List<TrayMenuItem> items) {
102102
GCallback.allocate(new ActionItemCallback(a), ARENA),
103103
menu,
104104
0);
105+
Gtk.widgetSetSensitive(gtkMenuItem, a.enabled());
105106
Gtk.menuShellAppend(menu, gtkMenuItem);
106107
}
107108
case SeparatorItem _ -> {

0 commit comments

Comments
 (0)