diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2019-09-06 10:34:54 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2019-09-23 07:51:01 +0200 |
commit | 97bcd0e416b1fb725b5aaade811e80d46fdaf1e2 (patch) | |
tree | 9d841bf31e56faf32c83e6f2518919af4c6b212d /officecfg | |
parent | c8e2675ebde04ab814fe0bc8f800a502280f4689 (diff) |
Resolves tdf#127400 - Allow to show tip of the day again
* UNO command TipOfTheDay and slot SID_TIPOFTHEDAY
introduced and added to help menus
* Tip ID introduced to keep the current tip over the day
* Tip ID updates after 24h
* Randomization of tips replaced by sequential order
* Tip ID added to the dialog title
Change-Id: I69b72b80d6d6afa25a1c4f01fa05bc60b5741db8
Reviewed-on: https://gerrit.libreoffice.org/78693
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu | 14 | ||||
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Common.xcs | 6 |
2 files changed, 20 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu index e4e241771c94..0d4cf4e199ae 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu @@ -4985,6 +4985,20 @@ <value>1</value> </prop> </node> + <node oor:name=".uno:TipOfTheDay" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Tip of the day</value> + </prop> + <prop oor:name="ContextLabel" oor:type="xs:string"> + <value xml:lang="en-US">Show Tip-Of-The-Day</value> + </prop> + <prop oor:name="TooltipLabel" oor:type="xs:string"> + <value xml:lang="en-US">Show the Tip-Of-The-Day dialog</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> <node oor:name=".uno:ViewDataSourceBrowser" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="en-US">~Data Sources</value> diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index 543fd8c564a0..4dce5f44acd2 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -5513,6 +5513,12 @@ <info> <desc>The last time when the Tip-of-the-day dialog was shown.</desc> </info> + <value>-1</value> <!-- +1 every 24h --> + </prop> + <prop oor:name="LastTipOfTheDayID" oor:type="xs:int" oor:nillable="false"> + <info> + <desc>The last shown Tip-of-the-day.</desc> + </info> <value>0</value> </prop> <prop oor:name="UseOpenCL" oor:type="xs:boolean" oor:nillable="false"> |