mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-26 19:58:35 +02:00
thunderbird: process the right folder when detecting a change
This commit is contained in:
parent
a9f7026b83
commit
b4260d3591
1 changed files with 2 additions and 1 deletions
|
@ -113,8 +113,9 @@ for folder in options.folder:
|
|||
monitor = gfile.monitor_file(Gio.FileMonitorFlags.NONE, None)
|
||||
monitor.connect(
|
||||
"changed",
|
||||
lambda m, f1, f2, event: event == Gio.FileMonitorEvent.CHANGES_DONE_HINT
|
||||
lambda m, f1, f2, event, folder: event == Gio.FileMonitorEvent.CHANGES_DONE_HINT
|
||||
and notify_new_messages(folder),
|
||||
folder,
|
||||
)
|
||||
monitors.append(monitor)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue