277e25b
From 97822e3cbc63d3bd110bc3c654b3fbb4d4d1904c Mon Sep 17 00:00:00 2001
277e25b
From: Stephan Bergmann <sbergman@redhat.com>
277e25b
Date: Mon, 3 Mar 2014 11:57:34 +0100
277e25b
Subject: [PATCH] Wizards should look for templates in Template_internal, not
277e25b
 Template_user
277e25b
277e25b
...as only the former reliably denotes the share/template tree where the
277e25b
wizard templates are stored.  (Presumably the latter defaulted to the former as
277e25b
long as it wasn't explicitly set in the past, but is now always explicitly set
277e25b
since 838b77f5f3d6d8fd98891e99a23ff78a6a357cb2 "Resolves: rhbz#1065807 use xdg
277e25b
~/Templates for default Template location.")
277e25b
277e25b
Change-Id: I7d1ac47d821c778fe342865465d0505a94b824bf
277e25b
---
277e25b
 wizards/com/sun/star/wizards/ui/WizardDialog.py | 2 +-
277e25b
 1 file changed, 1 insertion(+), 1 deletion(-)
277e25b
277e25b
diff --git a/wizards/com/sun/star/wizards/ui/WizardDialog.py b/wizards/com/sun/star/wizards/ui/WizardDialog.py
277e25b
index 6cf9bc5..4e41fdf 100644
277e25b
--- a/wizards/com/sun/star/wizards/ui/WizardDialog.py
277e25b
+++ b/wizards/com/sun/star/wizards/ui/WizardDialog.py
277e25b
@@ -126,7 +126,7 @@ class WizardDialog(UnoDialog2):
277e25b
         xPropertySet = \
277e25b
             self.xMSF.createInstance("com.sun.star.util.PathSettings")
277e25b
         self.sTemplatePath = \
277e25b
-            xPropertySet.getPropertyValue("Template_user")[0]
277e25b
+            xPropertySet.getPropertyValue("Template_internal")[0]
277e25b
         self.sUserTemplatePath = \
277e25b
             xPropertySet.getPropertyValue("Template_writable")
277e25b
             
277e25b
-- 
277e25b
1.8.5.3
277e25b