aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-import-dialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't use deprecated gtk_dialog_set_has_separatorDiego Escalante Urrelo2010-09-281-5/+0
| | | | | | This is deprecated in GTK+ 2.22 Bug #630107
* Remove calls to gtk_dialog_set_has_separator() if building against GTK+ 3Philip Withnall2010-09-071-0/+4
| | | | | | | gtk_dialog_set_has_separator() has been removed in GTK+ 3, but can't be removed (or the property's default value changed) in GTK+ 2 without breaking API. This adds a wrapper macro to keep the calls when building against GTK+ 2, and remove them when building against GTK+ 3.
* Use library i18n method for source files included in shared libraryRob Bradford2010-05-181-1/+1
| | | | | | | Since these files are included in the g-c-c shared module we must use the version of the _ macro that includes the domain. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=618969
* Fix errors revealed by make checkJonathan Tellier2009-08-221-2/+2
| | | | | - Added missing files in po/POTFILES.in - Fixed style
* Make the import system more future-proofCosimo Cecchi2009-08-221-42/+2
| | | | | | | | | Split the utilities from the widget and the dialog; we now have an enum for supported applications, with a special value which means "all applications", which is the only one which triggers showing the "Source" column in EmpathyImportWidget. We need this to avoid being redundant in the EmpathyAccountAssistant, as we already choose there the application from which to import.
* Remove useless includesCosimo Cecchi2009-08-221-4/+0
|
* Split EmpathyImportDialog and EmpathyImportWidgetCosimo Cecchi2009-08-221-339/+154
| | | | Also, take this as a chance to GObject-ify everything.
* Port empathy-import-dialog to mc5Arnaud Maillet2009-08-221-54/+89
|
* use newly deprecated APISjoerd Simons2009-07-061-1/+3
|
* Port the main of empathy to EmpathyAccountSjoerd Simons2009-07-011-10/+14
|
* empathy-import-dialog: update the FSF addressGuillaume Desmottes2009-05-181-2/+2
|
* empathy-import-dialog: remove trailing spacesGuillaume Desmottes2009-05-151-2/+2
|
* Port EmpathyImportDialog to new APIXavier Claessens2009-04-161-9/+5
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2859
* mc_account_create can fail, don't crash if it happensXavier Claessens2009-03-211-0/+5
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2731
* Make the "Import Accounts" button insensitive if there's nothing to import.Jonny Lamb2009-03-101-0/+6
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2665
* add a translator comment to describe 'Import'Frédéric Péters2009-02-171-0/+1
| | | | | | From: Frédéric Péters <fpeters@gnome.org> svn path=/trunk/; revision=2477
* Replace G_STR_EMPTY in newly added code too.Xavier Claessens2009-01-231-1/+1
| | | | svn path=/trunk/; revision=2251
* Add a source field to specify the name of the account source. (Stephane Wirtel)Jonny Lamb2009-01-231-2/+7
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2245
* Use l to iterate a GList, less confusing naming.Xavier Claessens2008-10-171-3/+3
| | | | svn path=/trunk/; revision=1646
* Split pidgin import code into its own module. It makes easier to add other ↵Xavier Claessens2008-10-171-283/+26
| | | | | | import modules for other programs. svn path=/trunk/; revision=1644
* Connect to the "destroy" and "response" signals on the import window instead ↵Xavier Claessens2008-10-171-57/+57
| | | | | | of connecting OK/Cancel buttons. svn path=/trunk/; revision=1643
* Do not include accounts which don't have profile.. Also fix a leak.Xavier Claessens2008-10-171-2/+7
| | | | svn path=/trunk/; revision=1642
* Remove useless varsXavier Claessens2008-10-171-1/+0
| | | | svn path=/trunk/; revision=1641
* Remove declaration of functions on top of import dialog file.Xavier Claessens2008-10-171-29/+0
| | | | svn path=/trunk/; revision=1640
* There is no reason for import_dialog_add_account to fail.Xavier Claessens2008-10-171-7/+3
| | | | svn path=/trunk/; revision=1639
* Be more careful in import_dialog_account_data_freeXavier Claessens2008-10-171-2/+6
| | | | svn path=/trunk/; revision=1638
* Store the McProfile in AccountData instead of a string of the account name. ↵Jonny Lamb2008-10-171-34/+15
| | | | | | | | (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1635
* Call import_dialog_account_data_free to actually free the account data after ↵Jonny Lamb2008-10-171-5/+4
| | | | | | | | being processed. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1634
* Do not store the account data in a G_TYPE_POINTER GValue but straight in the ↵Jonny Lamb2008-10-171-10/+4
| | | | | | | | list store as a gpointer. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1633
* Removed call to mc_accounts_filter and wrote another function to loop ↵Jonny Lamb2008-10-171-23/+24
| | | | | | | | through the accounts. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1632
* Compare GLists to NULL instead of g_list_length(list) == 0. (Jonny Lamb)Jonny Lamb2008-10-171-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1631
* Removed empathy_import_dialog_accounts_to_import to stop the accounts being ↵Jonny Lamb2008-10-171-22/+14
| | | | | | | | parsed twice. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1630
* Moved some code around for clarity and also to parse accounts before the ↵Jonny Lamb2008-10-171-33/+30
| | | | | | | | | | | | 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
* Only display the importing result if there was a failure. (Jonny Lamb)Jonny Lamb2008-10-171-19/+14
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1627
* Added empathy_import_dialog_accounts_to_import. (Jonny Lamb)Jonny Lamb2008-10-171-0/+15
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1624
* Automatically tick "import" only for accounts which are not already present ↵Jonny Lamb2008-10-171-1/+45
| | | | | | | | in MC. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1623
* Make the parent of the import dialog be the parent of the warning message ↵Jonny Lamb2008-10-171-3/+3
| | | | | | | | dialog. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1622
* Display a warning when no accounts could be found for importing. (Jonny Lamb)Jonny Lamb2008-10-171-6/+26
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1621
* Check whether ~/.purple/accounts.xml is readable before trying to read it. ↵Jonny Lamb2008-10-171-1/+8
| | | | | | | | (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1620
* Use g_ascii_strtod instead of sscanf. (Jonny Lamb)Jonny Lamb2008-10-171-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1619
* Use tp_strdiff instead of strcmp. (Jonny Lamb)Jonny Lamb2008-10-171-18/+18
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1618
* Added import_dialog_free and actually destroy the importer when finished ↵Jonny Lamb2008-10-171-2/+9
| | | | | | | | importing or when cancelled. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1617
* Actually add the accounts when the user presses OK. (Jonny Lamb)Jonny Lamb2008-10-171-7/+54
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1616
* Renamed import_dialog_add_accounts to import_dialog_add_accounts_to_model to ↵Jonny Lamb2008-10-171-2/+2
| | | | | | | | avoid confusion. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1615
* Added more whitespace between indentations and comments. (Jonny Lamb)Jonny Lamb2008-10-171-1/+4
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1614
* Fill the tree view with Pidgin accounts to import. (Jonny Lamb)Jonny Lamb2008-10-171-14/+19
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1613
* Re-wrote the UI of the importer dialog. (Jonny Lamb)Jonny Lamb2008-10-171-33/+179
| | | | | | | | This UI currently does not work with the backend. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1611
* Fix wrong condition in import_dialog_pidgin_parse_setting().Xavier Claessens2008-10-171-1/+1
| | | | svn path=/trunk/; revision=1610
* Add comments and cleanup the pidgin importer. Account settings are now ↵Xavier Claessens2008-10-171-141/+152
| | | | | | imported into a GHashTable mapping the param's string to a GValue. svn path=/trunk/; revision=1609
* Renamed static empathy_import_dialog_* functions to import_dialog_*. (Jonny ↵Jonny Lamb2008-10-171-29/+29
| | | | | | | | Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1608
* Simplified the node looping code further. (Jonny Lamb)Jonny Lamb2008-10-171-69/+66
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1607
* Use a different loop with nodes to shorten code. (Jonny Lamb)Jonny Lamb2008-10-171-3/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1606
* Added another empty line between function declaration and code. (Jonny Lamb)Jonny Lamb2008-10-171-0/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1605
* Avoid using gtk_widget_show_all and show each widget separately. (Jonny Lamb)Jonny Lamb2008-10-171-2/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1604
* Added a missing g_free. (Jonny Lamb)Jonny Lamb2008-10-171-0/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1603
* Make EmpathyImportDialog a singleton. (Jonny Lamb)Jonny Lamb2008-10-171-3/+8
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1602
* Name imported accounts in the same way as a new account does. (Jonny Lamb)Jonny Lamb2008-10-171-5/+10
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1601
* Moved to Collabora coding style. (Jonny Lamb)Jonny Lamb2008-10-171-287/+308
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1598
* Fixed typos of constants in the import dialog. (Jonny Lamb)Jonny Lamb2008-10-171-3/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1595
* Fixed part of dialog, as per Xavier's comments.Jonny Lamb2008-10-171-78/+74
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1594
* Added an account importer dialog. Fixes bug #541060 (Jonny Lamb)Jonny Lamb2008-10-171-0/+406
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1593