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 646670 - Personal Information (contactinfo) dialog doesn't handle different kinds of phone numbers
Personal Information (contactinfo) dialog doesn't handle different kinds of p...
Status: RESOLVED OBSOLETE
Product: empathy
Classification: Core
Component: General
2.33.x
Other Linux
: Normal normal
: 3.4
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2011-04-04 00:56 UTC by Danielle Madeley
Modified: 2012-03-15 10:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of Personal Information (43.05 KB, image/png)
2011-04-04 00:56 UTC, Danielle Madeley
  Details
initial patch (18.20 KB, patch)
2011-04-14 04:50 UTC, Danielle Madeley
none Details | Review

Description Danielle Madeley 2011-04-04 00:56:29 UTC
Created attachment 185070 [details]
screenshot of Personal Information

The contactinfo for a CM supports 3 vcard fields of type 'tel': 'type=home', 'type=work' and 'type=cell'. Empathy doesn't seem to distinguish between these, and setting one would seem to set them all.
Comment 1 Danielle Madeley 2011-04-14 04:50:00 UTC
Created attachment 185927 [details] [review]
initial patch

http://git.collabora.co.uk/?p=user/danni/empathy.git;a=shortlog;h=refs/heads/contactinfo-646670

This is an initial patch which factors out the common code between empathy-individual-widget and empathy-contact-widget. It also adds converting the parameters GStrv into a list of interesting things.

I say initial, because it needs to be a little bit smarter because Gabble gives things like parameters=[ tel=home, tel=work ], which is a little confusing, and I think we should filter out weird ones... or maybe we should change Gabble to not do this.
Comment 2 Guillaume Desmottes 2011-08-29 11:19:23 UTC
Any chance you could  rebase this on top of master? It's based on pretty old code.
Comment 3 Danielle Madeley 2011-09-08 08:00:49 UTC
Getting there with this rebase. Includes some rewriting. It's bitrotten annoyingly much.
Comment 4 Danielle Madeley 2011-09-13 05:26:19 UTC
These are the display patches (i.e. the non-WIP stuff). I think we should merge these ASAP and follow up with the editing side once I've made it work.

http://cgit.collabora.com/git/user/danni/empathy.git/log/?h=rebase-contactinfo
Comment 5 Guillaume Desmottes 2011-09-13 09:06:37 UTC
http://cgit.collabora.com/git/user/danni/empathy.git/commit/?h=rebase-contactinfo&id=76334ee642c834a3476b6c46e8962329a0b4d83a
You should add the new file to POTFILES.in

http://cgit.collabora.com/git/user/danni/empathy.git/commit/?h=rebase-contactinfo&id=c5a2ea143f1b45c5062997d099a04b7615ea58fa
could be squashed

How does this affect UI? It looks mostly like factoring out code to me.
Comment 6 Danielle Madeley 2011-09-13 23:43:12 UTC
> How does this affect UI? It looks mostly like factoring out code to me.

It adds new strings for the type=badger stuff. So we can't put it in 3.2.
Comment 7 Danielle Madeley 2011-09-14 01:31:51 UTC
(In reply to comment #5)
> http://cgit.collabora.com/git/user/danni/empathy.git/commit/?h=rebase-contactinfo&id=76334ee642c834a3476b6c46e8962329a0b4d83a
> You should add the new file to POTFILES.in

Fixed.

> http://cgit.collabora.com/git/user/danni/empathy.git/commit/?h=rebase-contactinfo&id=c5a2ea143f1b45c5062997d099a04b7615ea58fa
> could be squashed

I considered it, but decided it was nicer separate because you could see the rebasing. Will do if requested.
Comment 8 Danielle Madeley 2011-10-19 22:50:23 UTC
Ping.
Comment 9 Guillaume Desmottes 2011-10-20 09:34:41 UTC
Go for it!
Comment 10 Danielle Madeley 2011-10-20 22:51:28 UTC
Comment on attachment 185927 [details] [review]
initial patch

Ok, the rebased branch is merged. Need to rebase and finish the editing part of this, which I sketched out, but haven't had the motivation to implement yet.
Comment 11 Guillaume Desmottes 2012-03-15 10:46:20 UTC
Bug #672034 is about editing so let's close this bug as the first patch has been merged since a while.