void HandleCreateVersionCommand (object obj, EventArgs args)
	{
		PhotoVersionCommands.Create cmd = new PhotoVersionCommands.Create ();

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