void WatcherChanged (object o, ChangedArgs args)
		{
			((RecentFilesProvider) Provider).RefreshRecentDocs ();
		}
Пример #2
0
		void HandleMonitorChanged (object o, ChangedArgs args)
		{
			if (args.EventType == FileMonitorEvent.Created || args.EventType == FileMonitorEvent.Deleted)
				UpdateHelpers ();
		}
Пример #3
0
		void HandleFileChanged (object o, ChangedArgs args)
		{
			Log<DesktopItem>.Debug ("file {0} changed", File.Path);
			
			Values = GetValuesFromFile ();
			
			OnChanged ();
		}
Пример #4
0
		void HandleChanged (object o, ChangedArgs args)
		{			
			DockServices.System.RunOnMainThread (delegate {
				Update ();
			});
		}
		void WatcherChanged (object o, ChangedArgs args)
		{
			if (args.EventType == FileMonitorEvent.ChangesDoneHint)
				DockServices.System.RunOnMainThread ( delegate {
					UpdateItems ();
				});
		}