view org.guido-berhoerster.code.package-update-indicator.gschema.xml @ 46:8ed91c5e0116

Explicitly schedule the initial check for updates after a fixed short delay Explicitly schedule the first check after startup to run after a short delay defined in PUI_STARTUP_DELAY. This was always intended but not correctly handled before, the first check could thus take up to the number of seconds defined in PUI_CHECK_UPDATES_INTERVAL.
author Guido Berhoerster <guido+pui@berhoerster.name>
date Mon, 09 Nov 2020 15:06:04 +0100
parents 3d72ca76538d
children 24cba399757f
line wrap: on
line source

<schemalist>
  <schema id="org.guido-berhoerster.code.package-update-indicator"
  path="/org/guido-berhoerster/code/package-update-indicator/"
  gettext-domain="package-update-indicator">
    <key name="update-command" type="s">
      <default>""</default>
      <summary>Update command</summary>
      <description>Command for installing updates.</description>
    </key>
    <key name="refresh-interval" type="u">
      <default>86400</default>
      <summary>Refresh interval</summary>
      <description>The interval in seconds for refreshing
      metadata.</description>
    </key>
    <key name="use-mobile-connection" type="b">
      <default>false</default>
      <summary>Whether to use a mobile connection</summary>
      <description>If enabled, use a mobile connection refreshing the package
      cache.</description>
    </key>
  </schema>
</schemalist>