void HandleDeleteVersionCommand (object obj, EventArgs args)
	{
		PhotoVersionCommands.Delete cmd = new PhotoVersionCommands.Delete ();

		cmd.Execute (db.Photos, CurrentPhoto, GetToplevel (null));
//		if (cmd.Execute (db.Photos, CurrentPhoto, GetToplevel (null))) {
//			query.MarkChanged (ActiveIndex (), true, true);
//		}
	}
Example #2
0
		// XXX: never called
		void HandleDeleteVersionCommand (object obj, EventArgs args)
		{
			PhotoVersionCommands.Delete cmd = new PhotoVersionCommands.Delete ();
			cmd.Execute (Database.Photos, CurrentPhoto, GetToplevel (null));
		}