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 456606 - Optionally sync computer time to phone
Optionally sync computer time to phone
Status: RESOLVED FIXED
Product: gnome-phone-manager
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: none
none
Depends on: 541414
Blocks:
 
 
Reported: 2007-07-13 14:06 UTC by Bastien Nocera
Modified: 2009-02-05 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to sync clock only on phone connection and reconnection (5.96 KB, patch)
2008-06-30 19:07 UTC, Daniele Forsi
none Details | Review
Revised text for labels, no functional changes (5.89 KB, patch)
2008-12-22 14:58 UTC, Daniele Forsi
none Details | Review

Description Bastien Nocera 2007-07-13 14:06:54 UTC
So the phone is always on time. Do it about once per hour, or something like that.
Comment 1 Bastien Nocera 2008-06-13 04:59:56 UTC
This should also set the timezone appropriately when it's changed in the GNOME clock applet.
Comment 2 Daniele Forsi 2008-06-30 19:07:13 UTC
Created attachment 113728 [details] [review]
Patch to sync clock only on phone connection and reconnection

Periodic syncs and integration with clock applet aren't implemented yet.
Wording of preferences label and schema description needs improving.
Comment 3 Bastien Nocera 2008-07-03 16:43:06 UTC
> Always try to set phone clock with computer time at beginning of each connection.

"Synchronise phone's time and date with the computer's clock"

And use that as well for the label.

> +	  <short>Whether to try to sync the clock of the mobile phone</short>

Whether to synchronise the phone clock with the computer's

Use the same for the long description.

There's no need to go into details as to when it would sync, it should be often enough that the users wouldn't notice.

Rest looks good.
Comment 4 Daniele Forsi 2008-12-22 14:58:26 UTC
Created attachment 125139 [details] [review]
Revised text for labels, no functional changes

Changed strings for labels and descriptions as follows:

-Always try to set phone clock with computer time at beginning of each connection
+Synchronise phone's time and date with the computer's clock

-Automatically sync phone _clock on connection
+Synchronise phone's _time and date

-Whether to try to sync the clock of the mobile phone
+Whether to synchronise the phone clock with the computer's

-Whether to try to set the mobile phone clock with computer clock
-each time after connecting.
+Whether to synchronise the phone clock with the computer's.

No changes in code.
Comment 5 Bastien Nocera 2009-02-05 11:18:24 UTC
2009-02-05  Bastien Nocera  <hadess@hadess.net>

        * data/gnome-phone-manager.schemas.in:
        * data/phonemgr.glade:
        * libgsm/phonemgr-listener.c (phonemgr_listener_set_time):
        * src/connection.c (sync_clock), (on_status):
        * src/ui.c (get_ui), (ui_init): Patch from Daniele Forsi
        <dforsi@gmail.com> to allow setting the phone's time on
        connect (Closes: #456606)