From c45d7d56651fa25c61b3b2efbf8c614edb2ad15b Mon Sep 17 00:00:00 2001
From: ThorstenB <brehmt@gmail.com>
Date: Mon, 13 Jun 2011 00:59:34 +0200
Subject: [PATCH] Revert "Adapting to new screen-shot command"

This reverts commit 1b7918f45099275a6c0bb340f3b525b65c9dae9d.
---
 gui/menubar.xml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gui/menubar.xml b/gui/menubar.xml
index 0d7de43c9..e01c85838 100644
--- a/gui/menubar.xml
+++ b/gui/menubar.xml
@@ -58,7 +58,12 @@
 				<command>nasal</command>
 				<script>
 					gui.popdown();
-					fgcommand("screen-capture");
+					var success = fgcommand("screen-capture");
+					var path = getprop("/sim/paths/screenshot-last");
+					if (success)
+					gui.popupTip("Screenshot written to '" ~ path ~ "'");
+					else
+					gui.popupTip("Error writing screenshot '" ~ path ~ "'");
 				</script>
 			</binding>
 		</item>
@@ -563,7 +568,7 @@
 			</binding>
 		</item>
 
-		<item>
+        <item>
 			<label>Reload HUD</label>
 			<binding>
 				<command>reinit</command>