# HG changeset patch
# User insilmaril
# Date 1138722988 0
# Node ID 451cab91e3508430ca2a8bfe45f8f38fa79ec730
# Parent  202572375c9822c28bbda4f7f1e3056ae7abcf36
Bugfixes for including images in tree

diff -r 202572375c98 -r 451cab91e350 mainwindow.cpp
--- a/mainwindow.cpp	Wed Jan 25 12:34:55 2006 +0000
+++ b/mainwindow.cpp	Tue Jan 31 15:56:28 2006 +0000
@@ -1119,7 +1119,7 @@
 
 	branchContextMenu->insertSeparator();	
 	actionFormatIncludeImagesVer->addTo( branchContextMenu );
-	actionFormatIncludeImagesHor->addTo( branchContextMenu );
+	// FIXME not implemented yet actionFormatIncludeImagesHor->addTo( branchContextMenu );
 	actionFormatHideLinkUnselected->addTo( branchContextMenu );
 
 	// Context Menu for links in a branch menu
diff -r 202572375c98 -r 451cab91e350 tex/vym.changelog
--- a/tex/vym.changelog	Wed Jan 25 12:34:55 2006 +0000
+++ b/tex/vym.changelog	Tue Jan 31 15:56:28 2006 +0000
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Tue Jan 31 16:54:52 CET 2006 - uwedr
+
+- Version 1.7.8
+- Bugfix: Hide Include Images Horizontally (not implemented yet) 
+- Bugfix: Include Images Vertically was not read from saved file
+
 -------------------------------------------------------------------
 Tue Jan 25 16:07:53 CET 2006 - uwedr
 
diff -r 202572375c98 -r 451cab91e350 version.h
--- a/version.h	Wed Jan 25 12:34:55 2006 +0000
+++ b/version.h	Tue Jan 31 15:56:28 2006 +0000
@@ -2,7 +2,7 @@
 #define VERSION_H
 
 #define __VYM "VYM"
-#define __VYM_VERSION "1.7.7"
-#define __BUILD_DATE "January 25, 2006"
+#define __VYM_VERSION "1.7.8"
+#define __BUILD_DATE "January 31, 2006"
 
 #endif
diff -r 202572375c98 -r 451cab91e350 xml.cpp
--- a/xml.cpp	Wed Jan 25 12:34:55 2006 +0000
+++ b/xml.cpp	Tue Jan 31 15:56:28 2006 +0000
@@ -447,9 +447,19 @@
 		lastBranch->setFrameType (a.value("frameType"));
 
 	if (!a.value( "incImgV").isEmpty() ) 
-		lastBranch->setIncludeImagesVer(a.value("incImgV"));
+	{	
+		if (a.value("incImgV")=="true")
+			lastBranch->setIncludeImagesVer(true);
+		else	
+			lastBranch->setIncludeImagesVer(false);
+	}	
 	if (!a.value( "incImgH").isEmpty() ) 
-		lastBranch->setIncludeImagesHor(a.value("incImgH"));
+	{	
+		if (a.value("incImgH")=="true")
+			lastBranch->setIncludeImagesHor(true);
+		else	
+			lastBranch->setIncludeImagesHor(false);
+	}	
 	return true;	
 }