FSpot.MainWindow.HandleIconViewDragDataGet C# (CSharp) Method

HandleIconViewDragDataGet() public method

public HandleIconViewDragDataGet ( object sender, Gtk.DragDataGetArgs args ) : void
sender object
args Gtk.DragDataGetArgs
return void
		void HandleIconViewDragDataGet (object sender, DragDataGetArgs args)
		{
			if (args.Info == (uint)DragDropTargets.TargetType.UriList) {
				var uris = from p in SelectedPhotos ()
				                       select p.DefaultVersion.Uri;
				args.SelectionData.SetUriListData (new UriList (uris), args.Context.Targets [0]);
				return;
			}

			if (args.Info == DragDropTargets.PhotoListEntry.Info) {
				args.SelectionData.SetPhotosData (SelectedPhotos (), args.Context.Targets [0]);
				return;
			}

			if (args.Info == DragDropTargets.RootWindowEntry.Info) {
				HandleSetAsBackgroundCommand (null, null);
				return;
			}
		}
MainWindow