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 540961 - RFE: pidgin to empathy log migration
RFE: pidgin to empathy log migration
Status: RESOLVED DUPLICATE of bug 541060
Product: empathy
Classification: Core
Component: Archives
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2008-06-30 16:47 UTC by Ritesh Khadgaray ( irc:ritz)
Modified: 2008-08-20 08:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ritesh Khadgaray ( irc:ritz) 2008-06-30 16:47:30 UTC
Ability to migrate logs ( and preferably account settings) from pidgin .

use case: i have my chat logged, which i can pull up to refer information. This is very helpful, and is is preventing me to move over to empathy.
Comment 1 Guillaume Desmottes 2008-06-30 16:56:09 UTC
The log conversation job could be done by Conduit. See http://bugzilla.gnome.org/show_bug.cgi?id=525520
Comment 2 Xavier Claessens 2008-07-04 08:06:52 UTC
Account settings will change when moving to MissionControl 5.x so I suggest to wait a bit for that. For logs I would like to move to a more indexed format that could be well integrated into tracker/beagle.
Comment 3 Xavier Claessens 2008-08-20 08:37:42 UTC
Jonny Lamb did an import patch for empathy, you can find the code in his git branch: http://git.collabora.co.uk/?p=user/jonny/empathy.git;a=shortlog;h=refs/heads/import-dialog

I reviewed the code and here are my comments:
Import accounts button should have an espacement of 6 with add/remove buttons. the label should be "Import accounts..."
• Code in status icon is not really useful
• Before creating an account, check if there is already one with the same protocol/accountID
• Pidgin also have a display name for accounts, no? Can't we import it?
• I don't like the import dialog UI, I think it should list all accounts from all supported applications and let the user check accounts he want to import.
• once the account is imported, would be great to import its logs.
• EmpathyImportDialog should be a singleton, make the dialog var in empathy_import_dialog_show static and if !=NULL simply call gtk_window_presence on it and return.
• avoid gtk_widget_show_all and call gtk_widget_show on each widget you create instead. This avoid going through all widget contained by the dialog.
• empathy_import_dialog_response_cb: Add an empty line between var declaration and the code.
• empathy_import_dialog_pidgin_import_accounts:  you can replace the first while() loops by for (node=rootnode->children; node; node = node->next){} and the first if in that loop can be changed to continue; to avoid identation of the rest of the code.
• static functions should have the import_* prefix and not empathy_import_*
Comment 4 Xavier Claessens 2008-08-20 08:40:23 UTC
Oops sorry, this bug is about logs. I think logs should be imported when importing the account. Closing this bug as dup of bug #541060 so we can do both account/log import in that bug.

*** This bug has been marked as a duplicate of 541060 ***