[Bug 55410] on windows automatically fill in the default user's name into tools->options->user data
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 7 02:07:23 PDT 2015
https://bugs.documentfoundation.org/show_bug.cgi?id=55410
Stephan Bergmann <sbergman at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
CC| |sbergman at redhat.com
--- Comment #8 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to ritztro from comment #6)
> Currently I am trying to set the value manually in desktopbackend.cxx. I am
> doing this by returning the value "brent" in the Default::getPropertyValue
> function. Since the officecfg/registry/data/org/openoffice/UserProfile.xcu
> has this:
> <prop oor:name="givenname">
> <value install:module="unixdesktop"
> oor:external="com.sun.star.configuration.backend.DesktopBackend givenname"/>
> </prop>
The install:module="unixdesktop" attribute means that this oor:external value
will only be used on Unix (Linux), not on Windows. Something like
> diff --git a/officecfg/Configuration_officecfg.mk b/officecfg/Configuration_officecfg.mk
> index 7e2af03..b7e8625 100644
> --- a/officecfg/Configuration_officecfg.mk
> +++ b/officecfg/Configuration_officecfg.mk
> @@ -69,6 +69,7 @@ $(eval $(call gb_Configuration_add_spool_modules,registry,officecfg/registry/dat
> org/openoffice/Setup-reportbuilder.xcu \
> org/openoffice/Setup-start.xcu \
> org/openoffice/UserProfile-unixdesktop.xcu \
> + org/openoffice/UserProfile-unxwnt.xcu \
> org/openoffice/VCL-gconflockdown.xcu \
> org/openoffice/VCL-unixdesktop.xcu \
> org/openoffice/Office/Accelerators-macosx.xcu \
> diff --git a/officecfg/registry/data/org/openoffice/UserProfile.xcu b/officecfg/registry/data/org/openoffice/UserProfile.xcu
> index b41756a..c206366 100644
> --- a/officecfg/registry/data/org/openoffice/UserProfile.xcu
> +++ b/officecfg/registry/data/org/openoffice/UserProfile.xcu
> @@ -20,7 +20,7 @@
> <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:install="http://openoffice.org/2004/installation" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="UserProfile" oor:package="org.openoffice">
> <node oor:name="Data">
> <prop oor:name="givenname">
> - <value install:module="unixdesktop" oor:external="com.sun.star.configuration.backend.DesktopBackend givenname"/>
> + <value install:module="unxwnt" oor:external="com.sun.star.configuration.backend.DesktopBackend givenname"/>
> </prop>
> <prop oor:name="sn">
> <value install:module="unixdesktop" oor:external="com.sun.star.configuration.backend.DesktopBackend sn"/>
> diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk
> index a568832..f10c18b 100644
> --- a/postprocess/CustomTarget_registry.mk
> +++ b/postprocess/CustomTarget_registry.mk
> @@ -312,6 +312,7 @@ postprocess_FILES_main += \
> $(postprocess_MOD)/org/openoffice/Office/Paths-unixdesktop.xcu \
> $(postprocess_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
> $(postprocess_MOD)/org/openoffice/UserProfile-unixdesktop.xcu \
> + $(postprocess_MOD)/org/openoffice/UserProfile-unxwnt.xcu \
> $(postprocess_MOD)/org/openoffice/VCL-unixdesktop.xcu
> # Inet-unixdesktop.xcu must come after Inet.xcu
> # VCL-unixdesktop.xcu must come after VCL.xcu
> @@ -322,6 +323,7 @@ postprocess_FILES_main += \
> $(postprocess_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
> $(postprocess_MOD)/org/openoffice/Office/Common-wnt.xcu \
> $(postprocess_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
> + $(postprocess_MOD)/org/openoffice/UserProfile-unxwnt.xcu \
> $(postprocess_MOD)/org/openoffice/ucb/Configuration-win.xcu
> # Inet-wnt.xcu must come after Inet.xcu
> postprocess_DRIVERS += ado
(and rebuilding at least officecfg and postprocess) should make your changes
work.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150407/d78be394/attachment.html>
More information about the LibreOffice
mailing list