]> git.0d.be Git - empathy.git/log
empathy.git
15 years agoUse proper format string for max-size property
Mathias Hasselmann [Thu, 13 Nov 2008 22:07:52 +0000 (22:07 +0000)]
Use proper format string for max-size property

svn path=/trunk/; revision=1718

15 years agoIf chats have no name, use the channel's ID instead of fallback to "Conversation...
Xavier Claessens [Thu, 13 Nov 2008 20:24:34 +0000 (20:24 +0000)]
If chats have no name, use the channel's ID instead of fallback to "Conversation". Fixes bug #560611.

svn path=/trunk/; revision=1717

15 years agoAdd import dialog to POTFILE
Xavier Claessens [Wed, 12 Nov 2008 23:46:44 +0000 (23:46 +0000)]
Add import dialog to POTFILE

svn path=/trunk/; revision=1716

15 years ago Updated ku translation
Erdal Ronahi [Wed, 12 Nov 2008 02:24:26 +0000 (02:24 +0000)]
 Updated ku translation

svn path=/trunk/; revision=1715

15 years agoTrivial simplification of the math
Xavier Claessens [Tue, 11 Nov 2008 15:28:26 +0000 (15:28 +0000)]
Trivial simplification of the math

svn path=/trunk/; revision=1714

15 years agoTry to keep the original image format in avatar chooser. This avoid droping alpha...
Xavier Claessens [Tue, 11 Nov 2008 15:28:23 +0000 (15:28 +0000)]
Try to keep the original image format in avatar chooser. This avoid droping alpha layer when converting from PNG to JPEG.

svn path=/trunk/; revision=1713

15 years agoImprove error message.
Xavier Claessens [Tue, 11 Nov 2008 15:28:19 +0000 (15:28 +0000)]
Improve error message.

svn path=/trunk/; revision=1712

15 years agoReport error to the user when converting the avatar fails.
Xavier Claessens [Tue, 11 Nov 2008 15:28:16 +0000 (15:28 +0000)]
Report error to the user when converting the avatar fails.

svn path=/trunk/; revision=1711

15 years agoCleanup code and add some comments
Xavier Claessens [Tue, 11 Nov 2008 15:28:12 +0000 (15:28 +0000)]
Cleanup code and add some comments

svn path=/trunk/; revision=1710

15 years agoMove code to avoid declaring functions on the top of the file.
Xavier Claessens [Tue, 11 Nov 2008 15:28:09 +0000 (15:28 +0000)]
Move code to avoid declaring functions on the top of the file.

svn path=/trunk/; revision=1709

15 years agoMake a dichotomic search for the optimal image size. Cleanup some code
Xavier Claessens [Tue, 11 Nov 2008 15:28:06 +0000 (15:28 +0000)]
Make a dichotomic search for the optimal image size. Cleanup some code

svn path=/trunk/; revision=1708

15 years agoCorrectly resize the image to fit required max width/height
Xavier Claessens [Tue, 11 Nov 2008 15:28:02 +0000 (15:28 +0000)]
Correctly resize the image to fit required max width/height

svn path=/trunk/; revision=1707

15 years agoAdd empathy_pixbuf_from_data_and_mime instead of breaking API.
Xavier Claessens [Tue, 11 Nov 2008 15:27:58 +0000 (15:27 +0000)]
Add empathy_pixbuf_from_data_and_mime instead of breaking API.

svn path=/trunk/; revision=1706

15 years agoDon't modify EmpathyAvatar::format if gdkpixbuf disagrees
Xavier Claessens [Tue, 11 Nov 2008 15:27:55 +0000 (15:27 +0000)]
Don't modify EmpathyAvatar::format if gdkpixbuf disagrees

svn path=/trunk/; revision=1705

15 years agoUse two g_asserts rather than g_assert (foo && bar).
Xavier Claessens [Tue, 11 Nov 2008 15:27:52 +0000 (15:27 +0000)]
Use two g_asserts rather than g_assert (foo && bar).

svn path=/trunk/; revision=1704

15 years agocan_satisfy_mime_type_requirements: assume out params != NULL
Xavier Claessens [Tue, 11 Nov 2008 15:27:49 +0000 (15:27 +0000)]
can_satisfy_mime_type_requirements: assume out params != NULL

(I never actually removed the assertion that they be non-NULL.)

svn path=/trunk/; revision=1703

15 years agoPrefer png or jpeg if possible when converting avatars
Xavier Claessens [Tue, 11 Nov 2008 15:27:45 +0000 (15:27 +0000)]
Prefer png or jpeg if possible when converting avatars

svn path=/trunk/; revision=1702

15 years agoUpdate avatar chooser's account from its own callback.
Xavier Claessens [Tue, 11 Nov 2008 15:27:42 +0000 (15:27 +0000)]
Update avatar chooser's account from its own callback.

This fixes a bug where the account chooser's account would change, but
the avatar picker would not be updated because the main
account_chooser::changed signal handler is suppressed!

svn path=/trunk/; revision=1701

15 years agoContactWidget: set up account widget before avatar widget
Xavier Claessens [Tue, 11 Nov 2008 15:27:34 +0000 (15:27 +0000)]
ContactWidget: set up account widget before avatar widget

svn path=/trunk/; revision=1700

15 years agoIf setting an avatar from an EmpathyAvatar, just ref it.
Xavier Claessens [Tue, 11 Nov 2008 15:27:31 +0000 (15:27 +0000)]
If setting an avatar from an EmpathyAvatar, just ref it.

svn path=/trunk/; revision=1699

15 years agoAvatarChooser: clarify why _scale_down_if_necessary is cheap.
Xavier Claessens [Tue, 11 Nov 2008 15:27:27 +0000 (15:27 +0000)]
AvatarChooser: clarify why _scale_down_if_necessary is cheap.

svn path=/trunk/; revision=1698

15 years agoMake can_satisfy_mime_type_requirements accept NULL out params.
Xavier Claessens [Tue, 11 Nov 2008 15:27:24 +0000 (15:27 +0000)]
Make can_satisfy_mime_type_requirements accept NULL out params.

svn path=/trunk/; revision=1697

15 years agoFlip iterating across format_mime_types and accepted_mime_types.
Xavier Claessens [Tue, 11 Nov 2008 15:27:20 +0000 (15:27 +0000)]
Flip iterating across format_mime_types and accepted_mime_types.

This better reflects the purpose of the conditional; "for each mime type
we can convert to, is it acceptable?" is clearer than "for each
acceptable mime type, can we convert to it?".

svn path=/trunk/; revision=1696

15 years agoUse l and strv for list and strv iterators, not i and j
Xavier Claessens [Tue, 11 Nov 2008 15:27:14 +0000 (15:27 +0000)]
Use l and strv for list and strv iterators, not i and j

svn path=/trunk/; revision=1695

15 years agoUse foo[1] rather than *(foo + 1)
Xavier Claessens [Tue, 11 Nov 2008 15:27:10 +0000 (15:27 +0000)]
Use foo[1] rather than *(foo + 1)

svn path=/trunk/; revision=1694

15 years agoCoding style: cuddle a brace
Xavier Claessens [Tue, 11 Nov 2008 15:27:07 +0000 (15:27 +0000)]
Coding style: cuddle a brace

svn path=/trunk/; revision=1693

15 years agoAvatarChooser: don't set contact_factory to NULL after unreffing.
Xavier Claessens [Tue, 11 Nov 2008 15:27:04 +0000 (15:27 +0000)]
AvatarChooser: don't set contact_factory to NULL after unreffing.

The object is being destroyed anyway.

svn path=/trunk/; revision=1692

15 years agoAvatarChooser: Remove empathy_ prefix from static functions.
Xavier Claessens [Tue, 11 Nov 2008 15:27:00 +0000 (15:27 +0000)]
AvatarChooser: Remove empathy_ prefix from static functions.

svn path=/trunk/; revision=1691

15 years agoAvatarChooser needs no ContactFactory property; it's a singleton.
Xavier Claessens [Tue, 11 Nov 2008 15:26:54 +0000 (15:26 +0000)]
AvatarChooser needs no ContactFactory property; it's a singleton.

svn path=/trunk/; revision=1690

15 years agoCoding style: no blank lines in local variable declarations
Xavier Claessens [Tue, 11 Nov 2008 15:26:50 +0000 (15:26 +0000)]
Coding style: no blank lines in local variable declarations

svn path=/trunk/; revision=1689

15 years agoCoding style: use FIXME rather than TODO.
Xavier Claessens [Tue, 11 Nov 2008 15:26:47 +0000 (15:26 +0000)]
Coding style: use FIXME rather than TODO.

svn path=/trunk/; revision=1688

15 years agoCoding style: only one blank line between functions.
Xavier Claessens [Tue, 11 Nov 2008 15:26:43 +0000 (15:26 +0000)]
Coding style: only one blank line between functions.

svn path=/trunk/; revision=1687

15 years agoCoding style: use braces for one-statement blocks in AvatarChooser
Xavier Claessens [Tue, 11 Nov 2008 15:26:39 +0000 (15:26 +0000)]
Coding style: use braces for one-statement blocks in AvatarChooser

svn path=/trunk/; revision=1686

15 years agoCheck the contact factory is still ready when avatar picker is OKed.
Xavier Claessens [Tue, 11 Nov 2008 15:26:36 +0000 (15:26 +0000)]
Check the contact factory is still ready when avatar picker is OKed.

svn path=/trunk/; revision=1685

15 years agoDon't explicitly check for the new avatar being zero bytes
Xavier Claessens [Tue, 11 Nov 2008 15:26:32 +0000 (15:26 +0000)]
Don't explicitly check for the new avatar being zero bytes

empathy_pixbuf_from_data will whine if it can't parse the image, which
it won't be able to.

svn path=/trunk/; revision=1684

15 years agoDon't clear user's avatar if a file can't be read.
Xavier Claessens [Tue, 11 Nov 2008 15:26:28 +0000 (15:26 +0000)]
Don't clear user's avatar if a file can't be read.

svn path=/trunk/; revision=1683

15 years agoImplement scaling and converting avatars before sending.
Xavier Claessens [Tue, 11 Nov 2008 15:26:25 +0000 (15:26 +0000)]
Implement scaling and converting avatars before sending.

svn path=/trunk/; revision=1682

15 years agoMake empathy_pixbuf_scale_down_if_necessary treat 0 as "no limit"
Xavier Claessens [Tue, 11 Nov 2008 15:26:22 +0000 (15:26 +0000)]
Make empathy_pixbuf_scale_down_if_necessary treat 0 as "no limit"

svn path=/trunk/; revision=1681

15 years agoTrack whether avatar is being set locally, or received from elsewhere.
Xavier Claessens [Tue, 11 Nov 2008 15:26:18 +0000 (15:26 +0000)]
Track whether avatar is being set locally, or received from elsewhere.

svn path=/trunk/; revision=1680

15 years agoUse e_avatar_chooser_clear_image() helper.
Xavier Claessens [Tue, 11 Nov 2008 15:26:15 +0000 (15:26 +0000)]
Use e_avatar_chooser_clear_image() helper.

svn path=/trunk/; revision=1679

15 years agoRef result of empathy_contact_factory_get_tp_factory
Xavier Claessens [Tue, 11 Nov 2008 15:26:12 +0000 (15:26 +0000)]
Ref result of empathy_contact_factory_get_tp_factory

svn path=/trunk/; revision=1678

15 years agoMake avatar chooser (in)sensitive when the TpContactFactory becomes (not) ready
Xavier Claessens [Tue, 11 Nov 2008 15:26:09 +0000 (15:26 +0000)]
Make avatar chooser (in)sensitive when the TpContactFactory becomes (not) ready

svn path=/trunk/; revision=1677

15 years agoUpdate AvatarChooser::account when changed in ContactWidget
Xavier Claessens [Tue, 11 Nov 2008 15:26:05 +0000 (15:26 +0000)]
Update AvatarChooser::account when changed in ContactWidget

svn path=/trunk/; revision=1676

15 years agoAvatarChooser: Add McAccount and EmpathyContactFactory properties
Xavier Claessens [Tue, 11 Nov 2008 15:26:02 +0000 (15:26 +0000)]
AvatarChooser: Add McAccount and EmpathyContactFactory properties

svn path=/trunk/; revision=1675

15 years agoAdd G_PARAM_STATIC_STRINGS to TpContactFactory properties
Xavier Claessens [Tue, 11 Nov 2008 15:25:58 +0000 (15:25 +0000)]
Add G_PARAM_STATIC_STRINGS to TpContactFactory properties

svn path=/trunk/; revision=1674

15 years agoEmpathyTpContactFactory: add properties for avatar requirements
Xavier Claessens [Tue, 11 Nov 2008 15:25:55 +0000 (15:25 +0000)]
EmpathyTpContactFactory: add properties for avatar requirements

svn path=/trunk/; revision=1673

15 years agoEmpathyTpContactFactory: get avatar requirements before becoming ready.
Xavier Claessens [Tue, 11 Nov 2008 15:25:51 +0000 (15:25 +0000)]
EmpathyTpContactFactory: get avatar requirements before becoming ready.

svn path=/trunk/; revision=1672

15 years agoEmpathyTpContactFactory: split on-ready code out of got_self_handle_cb
Xavier Claessens [Tue, 11 Nov 2008 15:25:48 +0000 (15:25 +0000)]
EmpathyTpContactFactory: split on-ready code out of got_self_handle_cb

svn path=/trunk/; revision=1671

15 years agoEmpathyTpContactFactoryPriv: add fields for avatar requirements
Xavier Claessens [Tue, 11 Nov 2008 15:25:44 +0000 (15:25 +0000)]
EmpathyTpContactFactoryPriv: add fields for avatar requirements

svn path=/trunk/; revision=1670

15 years agoDon't automatically resize and png-ify avatars.
Xavier Claessens [Tue, 11 Nov 2008 15:25:40 +0000 (15:25 +0000)]
Don't automatically resize and png-ify avatars.

svn path=/trunk/; revision=1669

15 years agoConsolidate hardcoding avatars to PNG to one function.
Xavier Claessens [Tue, 11 Nov 2008 15:25:36 +0000 (15:25 +0000)]
Consolidate hardcoding avatars to PNG to one function.

(Incidentally, return "image/png" rather than "png" for the mime type,
as the latter is not a mime type.)

svn path=/trunk/; revision=1668

15 years agoUpdated Spansih translation
Jorge Gonzalez Gonzalez [Sat, 8 Nov 2008 12:41:34 +0000 (12:41 +0000)]
Updated Spansih translation

svn path=/trunk/; revision=1667

15 years agoUpdated es translation (Jorge Gonzalez)
Jorge Gonzalez Gonzalez [Sat, 8 Nov 2008 12:06:00 +0000 (12:06 +0000)]
Updated es translation (Jorge Gonzalez)

svn path=/trunk/; revision=1666

15 years agoAdd ru to gitignore
Xavier Claessens [Mon, 3 Nov 2008 23:35:04 +0000 (23:35 +0000)]
Add ru to gitignore

svn path=/trunk/; revision=1665

15 years agoUpdate Ukrainian translation.
Maxim Dziumanenko [Mon, 3 Nov 2008 07:53:11 +0000 (07:53 +0000)]
Update Ukrainian translation.

2008-11-3 Maxim Dziumanenko <dziumanenko@gmail.com>

* Update Ukrainian translation.

svn path=/trunk/; revision=1663

15 years agoAdded Russian translation by Nikita Belobrov <qvzqvz@gmail.com>.
Nickolay V. Shmyrev [Sun, 26 Oct 2008 22:15:16 +0000 (22:15 +0000)]
Added Russian translation by Nikita Belobrov <qvzqvz@gmail.com>.

2008-10-27  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

* ru/ru.po: Added Russian translation by Nikita Belobrov <qvzqvz@gmail.com>.

svn path=/trunk/; revision=1661

15 years agoRemove session information from Ekiga registration URL. (closes: #554938)
Frederic Peters [Fri, 24 Oct 2008 10:29:19 +0000 (10:29 +0000)]
Remove session information from Ekiga registration URL.  (closes: #554938)

svn path=/trunk/; revision=1660

15 years agoUpdated Greek translation (Nick Agianniotis).
Simos Xenitellis [Wed, 22 Oct 2008 17:10:08 +0000 (17:10 +0000)]
Updated Greek translation (Nick Agianniotis).

svn path=/trunk/; revision=1658

15 years agoUpdated th translation (Theppitak Karoonboonyanan)
Theppitak Karoonboonyanan [Sat, 18 Oct 2008 12:39:31 +0000 (12:39 +0000)]
Updated th translation (Theppitak Karoonboonyanan)

svn path=/trunk/; revision=1650

15 years agoUpdated th translation (Theppitak Karoonboonyanan)
Theppitak Karoonboonyanan [Sat, 18 Oct 2008 11:03:48 +0000 (11:03 +0000)]
Updated th translation (Theppitak Karoonboonyanan)

svn path=/trunk/; revision=1649

15 years agoUpdated es translation (Jorge Gonzalez)
Jorge Gonzalez Gonzalez [Fri, 17 Oct 2008 15:12:45 +0000 (15:12 +0000)]
Updated es translation (Jorge Gonzalez)

svn path=/trunk/; revision=1647

15 years agoUse l to iterate a GList, less confusing naming.
Xavier Claessens [Fri, 17 Oct 2008 12:48:41 +0000 (12:48 +0000)]
Use l to iterate a GList, less confusing naming.

svn path=/trunk/; revision=1646

15 years agoIt is a map from pidgin to CM, not MC.
Xavier Claessens [Fri, 17 Oct 2008 12:48:38 +0000 (12:48 +0000)]
It is a map from pidgin to CM, not MC.

svn path=/trunk/; revision=1645

15 years agoSplit pidgin import code into its own module. It makes easier to add other import...
Xavier Claessens [Fri, 17 Oct 2008 12:48:34 +0000 (12:48 +0000)]
Split pidgin import code into its own module. It makes easier to add other import modules for other programs.

svn path=/trunk/; revision=1644

15 years agoConnect to the "destroy" and "response" signals on the import window instead of conne...
Xavier Claessens [Fri, 17 Oct 2008 12:48:31 +0000 (12:48 +0000)]
Connect to the "destroy" and "response" signals on the import window instead of connecting OK/Cancel buttons.

svn path=/trunk/; revision=1643

15 years agoDo not include accounts which don't have profile.. Also fix a leak.
Xavier Claessens [Fri, 17 Oct 2008 12:48:28 +0000 (12:48 +0000)]
Do not include accounts which don't have profile.. Also fix a leak.

svn path=/trunk/; revision=1642

15 years agoRemove useless vars
Xavier Claessens [Fri, 17 Oct 2008 12:48:25 +0000 (12:48 +0000)]
Remove useless vars

svn path=/trunk/; revision=1641

15 years agoRemove declaration of functions on top of import dialog file.
Xavier Claessens [Fri, 17 Oct 2008 12:48:21 +0000 (12:48 +0000)]
Remove declaration of functions on top of import dialog file.

svn path=/trunk/; revision=1640

15 years agoThere is no reason for import_dialog_add_account to fail.
Xavier Claessens [Fri, 17 Oct 2008 12:48:18 +0000 (12:48 +0000)]
There is no reason for import_dialog_add_account to fail.

svn path=/trunk/; revision=1639

15 years agoBe more careful in import_dialog_account_data_free
Xavier Claessens [Fri, 17 Oct 2008 12:48:14 +0000 (12:48 +0000)]
Be more careful in import_dialog_account_data_free

svn path=/trunk/; revision=1638

15 years agoRemove useless include in main window
Xavier Claessens [Fri, 17 Oct 2008 12:48:11 +0000 (12:48 +0000)]
Remove useless include in main window

svn path=/trunk/; revision=1637

15 years agorename import boolean to import_asked.
Xavier Claessens [Fri, 17 Oct 2008 12:48:08 +0000 (12:48 +0000)]
rename import boolean to import_asked.

svn path=/trunk/; revision=1636

15 years agoStore the McProfile in AccountData instead of a string of the account name. (Jonny...
Jonny Lamb [Fri, 17 Oct 2008 12:48:05 +0000 (12:48 +0000)]
Store the McProfile in AccountData instead of a string of the account name. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1635

15 years agoCall import_dialog_account_data_free to actually free the account data after being...
Jonny Lamb [Fri, 17 Oct 2008 12:48:01 +0000 (12:48 +0000)]
Call import_dialog_account_data_free to actually free the account data after being processed. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1634

15 years agoDo not store the account data in a G_TYPE_POINTER GValue but straight in the list...
Jonny Lamb [Fri, 17 Oct 2008 12:47:58 +0000 (12:47 +0000)]
Do not store the account data in a G_TYPE_POINTER GValue but straight in the list store as a gpointer. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1633

15 years agoRemoved call to mc_accounts_filter and wrote another function to loop through the...
Jonny Lamb [Fri, 17 Oct 2008 12:47:55 +0000 (12:47 +0000)]
Removed call to mc_accounts_filter and wrote another function to loop through the accounts. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1632

15 years agoCompare GLists to NULL instead of g_list_length(list) == 0. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:47:51 +0000 (12:47 +0000)]
Compare GLists to NULL instead of g_list_length(list) == 0. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1631

15 years agoRemoved empathy_import_dialog_accounts_to_import to stop the accounts being parsed...
Jonny Lamb [Fri, 17 Oct 2008 12:47:48 +0000 (12:47 +0000)]
Removed empathy_import_dialog_accounts_to_import to stop the accounts being parsed twice. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1630

15 years agoMoved some code around for clarity and also to parse accounts before the Glade file...
Jonny Lamb [Fri, 17 Oct 2008 12:47:45 +0000 (12:47 +0000)]
Moved some code around for clarity and also to parse accounts before the Glade file is loaded. (Jonny Lamb)

This prevents the glade being parsed, all the widgets being set up, and
then a single message dialog popping up saying there are no accounts to
import, just to then free it all.

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1629

15 years agoRemoved tabs from GConf schema. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:47:41 +0000 (12:47 +0000)]
Removed tabs from GConf schema. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1628

15 years agoOnly display the importing result if there was a failure. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:47:38 +0000 (12:47 +0000)]
Only display the importing result if there was a failure. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1627

15 years agoAsk whether to import if there are accounts to import on loading the account editor...
Jonny Lamb [Fri, 17 Oct 2008 12:47:35 +0000 (12:47 +0000)]
Ask whether to import if there are accounts to import on loading the account editor, but only once. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1626

15 years agoAdded GConf key EMPATHY_PREFS_IMPORT_ASKED. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:47:31 +0000 (12:47 +0000)]
Added GConf key EMPATHY_PREFS_IMPORT_ASKED. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1625

15 years agoAdded empathy_import_dialog_accounts_to_import. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:47:28 +0000 (12:47 +0000)]
Added empathy_import_dialog_accounts_to_import. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1624

15 years agoAutomatically tick "import" only for accounts which are not already present in MC...
Jonny Lamb [Fri, 17 Oct 2008 12:47:25 +0000 (12:47 +0000)]
Automatically tick "import" only for accounts which are not already present in MC. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1623

15 years agoMake the parent of the import dialog be the parent of the warning message dialog...
Jonny Lamb [Fri, 17 Oct 2008 12:47:21 +0000 (12:47 +0000)]
Make the parent of the import dialog be the parent of the warning message dialog. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1622

15 years agoDisplay a warning when no accounts could be found for importing. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:47:18 +0000 (12:47 +0000)]
Display a warning when no accounts could be found for importing. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1621

15 years agoCheck whether ~/.purple/accounts.xml is readable before trying to read it. (Jonny...
Jonny Lamb [Fri, 17 Oct 2008 12:47:15 +0000 (12:47 +0000)]
Check whether ~/.purple/accounts.xml is readable before trying to read it. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1620

15 years agoUse g_ascii_strtod instead of sscanf. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:47:11 +0000 (12:47 +0000)]
Use g_ascii_strtod instead of sscanf. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1619

15 years agoUse tp_strdiff instead of strcmp. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:47:08 +0000 (12:47 +0000)]
Use tp_strdiff instead of strcmp. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1618

15 years agoAdded import_dialog_free and actually destroy the importer when finished importing...
Jonny Lamb [Fri, 17 Oct 2008 12:47:04 +0000 (12:47 +0000)]
Added import_dialog_free and actually destroy the importer when finished importing or when cancelled. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1617

15 years agoActually add the accounts when the user presses OK. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:47:01 +0000 (12:47 +0000)]
Actually add the accounts when the user presses OK. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1616

15 years agoRenamed import_dialog_add_accounts to import_dialog_add_accounts_to_model to avoid...
Jonny Lamb [Fri, 17 Oct 2008 12:46:58 +0000 (12:46 +0000)]
Renamed import_dialog_add_accounts to import_dialog_add_accounts_to_model to avoid confusion. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1615

15 years agoAdded more whitespace between indentations and comments. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:46:54 +0000 (12:46 +0000)]
Added more whitespace between indentations and comments. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1614

15 years agoFill the tree view with Pidgin accounts to import. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:46:51 +0000 (12:46 +0000)]
Fill the tree view with Pidgin accounts to import. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1613

15 years agoSet a height request of 200px for the treeview widget. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:46:48 +0000 (12:46 +0000)]
Set a height request of 200px for the treeview widget. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1612

15 years agoRe-wrote the UI of the importer dialog. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:46:45 +0000 (12:46 +0000)]
Re-wrote the UI of the importer dialog. (Jonny Lamb)

This UI currently does not work with the backend.

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1611

15 years agoFix wrong condition in import_dialog_pidgin_parse_setting().
Xavier Claessens [Fri, 17 Oct 2008 12:46:42 +0000 (12:46 +0000)]
Fix wrong condition in import_dialog_pidgin_parse_setting().

svn path=/trunk/; revision=1610

15 years agoAdd comments and cleanup the pidgin importer. Account settings are now imported into...
Xavier Claessens [Fri, 17 Oct 2008 12:46:38 +0000 (12:46 +0000)]
Add comments and cleanup the pidgin importer. Account settings are now imported into a GHashTable mapping the param's string to a GValue.

svn path=/trunk/; revision=1609

15 years agoRenamed static empathy_import_dialog_* functions to import_dialog_*. (Jonny Lamb)
Jonny Lamb [Fri, 17 Oct 2008 12:46:35 +0000 (12:46 +0000)]
Renamed static empathy_import_dialog_* functions to import_dialog_*. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1608