Fix for umlauts in paths
authorinsilmaril
Fri Jul 11 12:36:40 2008 +0000 (2008-07-11)
changeset 716191a6e396803
parent 715 c7f2d53c98d1
child 717 bd979a001163
Fix for umlauts in paths
lang/vym_de.ts
tex/vym.changelog
xml-vym.cpp
     1.1 --- a/lang/vym_de.ts	Fri Jul 11 12:36:39 2008 +0000
     1.2 +++ b/lang/vym_de.ts	Fri Jul 11 12:36:40 2008 +0000
     1.3 @@ -1838,7 +1838,7 @@
     1.4          <source>This map does not exist:
     1.5    %1
     1.6  Do you want to create a new one?</source>
     1.7 -        <translation>Diese Map gibt es nich:
     1.8 +        <translation>Diese Map gibt es nicht:
     1.9    %1
    1.10  Wollen Sie eine neue anlegen?</translation>
    1.11      </message>
     2.1 --- a/tex/vym.changelog	Fri Jul 11 12:36:39 2008 +0000
     2.2 +++ b/tex/vym.changelog	Fri Jul 11 12:36:40 2008 +0000
     2.3 @@ -1,3 +1,8 @@
     2.4 +-------------------------------------------------------------------
     2.5 +Fri Jul 11 14:01:31 CEST 2008 - uwedr@suse.de
     2.6 +
     2.7 +- Bugfix: bnc#407600 vym fails with non-ASCI characters in path names 
     2.8 +
     2.9  -------------------------------------------------------------------
    2.10  Tue Jun  8 10:34:12 CEST 2008 - uwedr@suse.de
    2.11  
     3.1 --- a/xml-vym.cpp	Fri Jul 11 12:36:39 2008 +0000
     3.2 +++ b/xml-vym.cpp	Fri Jul 11 12:36:40 2008 +0000
     3.3 @@ -150,8 +150,8 @@
     3.4  			// Treat the found mapcenter as a branch 
     3.5  			// in an existing map
     3.6  			LinkableMapObj* lmo=model->getSelection();
     3.7 -			if (lmo && (typeid(*lmo) == typeid(BranchObj) ) 
     3.8 -			        || (typeid(*lmo) == typeid(MapCenterObj) ) )
     3.9 +			if (lmo && ((typeid(*lmo) == typeid(BranchObj) ) 
    3.10 +			        ||  typeid(*lmo) == typeid(MapCenterObj) ) )
    3.11  			{
    3.12  				lastBranch=(BranchObj*)lmo;
    3.13  				if (loadMode==ImportAdd)
    3.14 @@ -207,8 +207,8 @@
    3.15  			loadMode=ImportAdd;
    3.16  			lmo=model->first();		// FIXME this used to be lmo=mc before
    3.17  		}	
    3.18 -		if (lmo && (typeid(*lmo) == typeid(BranchObj) ) 
    3.19 -				|| (typeid(*lmo) == typeid(MapCenterObj) ) )
    3.20 +		if (lmo && ((typeid(*lmo) == typeid(BranchObj) ) 
    3.21 +				||  typeid(*lmo) == typeid(MapCenterObj) ) )
    3.22  		{
    3.23  			lastBranch=(BranchObj*)(lmo);
    3.24  			if (eName=="branch")