After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 615878 - "Use system timezone" preference is listed twice with different defaults in schemas file
"Use system timezone" preference is listed twice with different defaults in s...
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
unspecified
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-04-15 19:25 UTC by Sandy Armstrong
Modified: 2010-04-15 22:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove duplicate use_system_timezone pref, set default to true (1.53 KB, patch)
2010-04-15 19:28 UTC, Sandy Armstrong
committed Details | Review

Description Sandy Armstrong 2010-04-15 19:25:46 UTC
In calendar/gui/apps_evolution_calendar.schemas.in, we have:

    <schema>
      <key>/schemas/apps/evolution/calendar/display/use_system_timezone</key>
      <applyto>/apps/evolution/calendar/display/use_system_timezone</applyto>
      <owner>evolution-calendar</owner>
      <type>bool</type>
      <default>true</default>
      <locale name="C">
        <short>Use system timezone</short>
        <long>Check this to use system timezone in Evolution.</long>
      </locale>
    </schema>


And further down:

    <schema>
      <key>/schemas/apps/evolution/calendar/display/use_system_timezone</key>
      <applyto>/apps/evolution/calendar/display/use_system_timezone</applyto>
      <owner>evolution-calendar</owner>
      <type>bool</type>
      <default>false</default>
      <locale name="C">
        <short>Use system timezone</short>
        <long>Use the system timezone instead of the timezone selected
        in Evolution.</long>
      </locale>
    </schema>


The latter preference seems to take precedence.

I think the default for this setting should be "true" for optimum usability.

That being said, I think the second key entry has a better long description.
Comment 1 Sandy Armstrong 2010-04-15 19:28:42 UTC
Created attachment 158834 [details] [review]
Remove duplicate use_system_timezone pref, set default to true
Comment 2 Matthew Barnes 2010-04-15 22:38:29 UTC
Nice catch.  Please commit to master and gnome-2-30 branches.
Comment 3 Sandy Armstrong 2010-04-15 22:50:07 UTC
Comment on attachment 158834 [details] [review]
Remove duplicate use_system_timezone pref, set default to true

Pushed.
Comment 4 Sandy Armstrong 2010-04-15 22:52:12 UTC
Pushed to gnome-2-30, too. Closing bug.