diff --git a/src/SyncTrayzor/NotifyIcon/NotifyIconViewModel.cs b/src/SyncTrayzor/NotifyIcon/NotifyIconViewModel.cs
index 34eaee33..49929c49 100644
--- a/src/SyncTrayzor/NotifyIcon/NotifyIconViewModel.cs
+++ b/src/SyncTrayzor/NotifyIcon/NotifyIconViewModel.cs
@@ -158,6 +158,12 @@ public void Restart()
this.syncthingManager.RestartAsync();
}
+ public bool CanRescanAll => this.SyncthingState == SyncthingState.Running;
+ public void RescanAll()
+ {
+ this.syncthingManager.ScanAsync(null, null);
+ }
+
public void Exit()
{
this.OnExitRequested();
diff --git a/src/SyncTrayzor/NotifyIcon/TaskbarIconResources.xaml b/src/SyncTrayzor/NotifyIcon/TaskbarIconResources.xaml
index 25efc4fa..89ce6b70 100644
--- a/src/SyncTrayzor/NotifyIcon/TaskbarIconResources.xaml
+++ b/src/SyncTrayzor/NotifyIcon/TaskbarIconResources.xaml
@@ -109,7 +109,8 @@
-
+
+
diff --git a/src/SyncTrayzor/Properties/Resources.Designer.cs b/src/SyncTrayzor/Properties/Resources.Designer.cs
index 225a030d..ca5a1ca4 100644
--- a/src/SyncTrayzor/Properties/Resources.Designer.cs
+++ b/src/SyncTrayzor/Properties/Resources.Designer.cs
@@ -2050,6 +2050,15 @@ public static string TrayIcon_Menu_OpenFolder {
}
}
+ ///
+ /// Looks up a localized string similar to _Rescan All Folders.
+ ///
+ public static string TrayIcon_Menu_RescanAllFolders {
+ get {
+ return ResourceManager.GetString("TrayIcon_Menu_RescanAllFolders", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to _Restart Syncthing.
///
diff --git a/src/SyncTrayzor/Properties/Resources.resx b/src/SyncTrayzor/Properties/Resources.resx
index 015d6276..2aa4726f 100644
--- a/src/SyncTrayzor/Properties/Resources.resx
+++ b/src/SyncTrayzor/Properties/Resources.resx
@@ -991,4 +991,8 @@ Please donate to my charity fundraising campaign.
Syncthing Custom Path
+
+ _Rescan All Folders
+ Menu option available when right-clicking the tray icon. Allows the user to re-scan all folders
+
\ No newline at end of file