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 631101 - Enforce a format for birthday
Enforce a format for birthday
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
Depends on: 630421 634657
Blocks:
 
 
Reported: 2010-10-01 14:24 UTC by Vincent Untz
Modified: 2011-08-29 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix (3.56 KB, patch)
2010-11-02 18:59 UTC, Vitaly Minko
none Details | Review

Description Vincent Untz 2010-10-01 14:24:54 UTC
Woo. Empathy 2.32 has support for vcards. I can tell my birthday to the world! Except that I have no idea which format I should use for the date. Is it free text? Is it YYYY-MM-DD?

Help! :-)
Comment 1 Guillaume Desmottes 2010-10-04 07:37:42 UTC
Yeah we should probably use the calendar widget or something.
Comment 2 Vitaly Minko 2010-11-02 18:58:44 UTC
Fixed in
repo: git://vminko.org/empathy
branch: fix-631101
Comment 3 Vitaly Minko 2010-11-02 18:59:25 UTC
Created attachment 173707 [details] [review]
proposed fix
Comment 4 Guillaume Desmottes 2010-11-03 07:46:02 UTC
Thanks for the patch. Actually I was planning to work on this after my fix for bug #630421 has been merged as it's likely to conflict. Sorry, I should have made that clearer in the bug. :\

Anyway, would you mind rebasing your branch on top of mine? If not, I'll try to manually re-apply your changes once my branch has been merged.
Comment 5 Vitaly Minko 2010-11-03 13:24:04 UTC
No problem. The patches almost don't intersect.
Here's the updated version: fix-631101-v2
Comment 6 Guillaume Desmottes 2010-11-03 15:37:07 UTC
I tried the branch but didn't manage to select any date in the calendar.

Also, I don't like adding this special case in
contact_widget_details_update_edit(). My plan was to add a function pointer to
info_field_datas and use it to create the widget. Would be much cleaner IMHO.
Comment 7 Vitaly Minko 2010-11-03 18:42:28 UTC
>I tried the branch but didn't manage to select any date in the calendar.

Do you mean that double clicking does not work?

>Also, I don't like adding this special case in ...

Fixed in the same branch.
Comment 8 Guillaume Desmottes 2010-11-04 08:23:02 UTC
(In reply to comment #7)
> >I tried the branch but didn't manage to select any date in the calendar.
> 
> Do you mean that double clicking does not work?

Even simple clicking. I can change the month and year but not the day.
Comment 9 Vitaly Minko 2010-11-04 13:03:41 UTC
>I can change the month and year but not the day.

Can this be a GTK issue? It works fine with GTK2.
Can you select days in the log viewer?
Comment 10 Guillaume Desmottes 2010-11-08 09:40:00 UTC
Yeah it works fine in the log viewer.
Comment 11 Vitaly Minko 2010-11-12 03:42:31 UTC
I filed a GTK issue for this problem:
https://bugzilla.gnome.org/show_bug.cgi?id=634657

So we've blocked with this enhancement till this issue is fixed.
Comment 12 Guillaume Desmottes 2010-12-21 08:24:12 UTC
For the record, I rebased this branch on top of master: http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/birthday-631101
Comment 13 Guillaume Desmottes 2011-01-24 12:21:53 UTC
It worked fine now so I merged the branch; thanks!

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.