コード例 #1
0
	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);
//		}
	}
コード例 #2
0
ファイル: MainWindow.cs プロジェクト: mono/f-spot
		// XXX: never called
		void HandleDeleteVersionCommand (object obj, EventArgs args)
		{
			PhotoVersionCommands.Delete cmd = new PhotoVersionCommands.Delete ();
			cmd.Execute (Database.Photos, CurrentPhoto, GetToplevel (null));
		}