aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move the ft manager to src/ other programs do not need it.Xavier Claessens2008-11-226-10/+9
| | | | svn path=/trunk/; revision=1884
* Update tools to latest version of tp-glib and include a gitignoreXavier Claessens2008-11-2227-1011/+1482
| | | | svn path=/trunk/; revision=1883
* rename empathy_tp_file_get_incoming to empathy_tp_file_is_incomingXavier Claessens2008-11-223-8/+8
| | | | svn path=/trunk/; revision=1882
* empathy_tp_file_accept/offer takes the GFile in param and return a GError if ↵Xavier Claessens2008-11-224-97/+32
| | | | | | the file can't be opened. svn path=/trunk/; revision=1881
* Fix coding style and cleanupXavier Claessens2008-11-221-18/+9
| | | | svn path=/trunk/; revision=1880
* Include only used headersXavier Claessens2008-11-221-2/+2
| | | | svn path=/trunk/; revision=1879
* don't include itselfXavier Claessens2008-11-221-2/+0
| | | | svn path=/trunk/; revision=1878
* Remove useless linesXavier Claessens2008-11-222-5/+0
| | | | svn path=/trunk/; revision=1877
* Fix coding styleXavier Claessens2008-11-221-46/+47
| | | | svn path=/trunk/; revision=1876
* Cleanup the coding style. If we can't get info about the GFile we abord the FT.Xavier Claessens2008-11-222-81/+80
| | | | svn path=/trunk/; revision=1875
* remove useless includesXavier Claessens2008-11-221-2/+0
| | | | svn path=/trunk/; revision=1874
* Fix a little coding styleXavier Claessens2008-11-221-2/+1
| | | | svn path=/trunk/; revision=1873
* No need to define a callback, we can directly use ↵Xavier Claessens2008-11-221-8/+1
| | | | | | empathy_send_file_with_file_chooser. svn path=/trunk/; revision=1872
* sync with latest FT spec DRAFTXavier Claessens2008-11-221-11/+7
| | | | svn path=/trunk/; revision=1871
* extensions/Makefile.am: fix allow-undefined-interfaces paramXavier Claessens2008-11-221-1/+1
| | | | svn path=/trunk/; revision=1870
* extensions/Makefile.am: pass allow-undefined-interfaces param to doc ↵Xavier Claessens2008-11-221-0/+1
| | | | | | generator so it doesn't complain about missing external ref svn path=/trunk/; revision=1869
* Fix spec format to make it work with updated toolsXavier Claessens2008-11-223-3/+21
| | | | svn path=/trunk/; revision=1868
* Add FT manager to POTFILEXavier Claessens2008-11-221-0/+2
| | | | svn path=/trunk/; revision=1867
* Fix compilation warning: gtk_message_dialog_format_secondary_text() require ↵Xavier Claessens2008-11-221-1/+1
| | | | | | a format string. svn path=/trunk/; revision=1866
* ft_manager_clear: use g_hash_table_foreach_remove instead of GHashTableIter ↵Xavier Claessens2008-11-221-16/+22
| | | | | | so the elements are actually removed from the hash table svn path=/trunk/; revision=1865
* get_requestable_channel_classes_cb: call tp_contact_factory_ready if the ↵Xavier Claessens2008-11-221-0/+1
| | | | | | D-Bus call failed svn path=/trunk/; revision=1864
* ft-manager: ft_manager_clear: use a GHashTableIter instead of creating a ↵Xavier Claessens2008-11-221-31/+21
| | | | | | temporary GSList svn path=/trunk/; revision=1863
* ft-manager: remove old codeXavier Claessens2008-11-221-7/+0
| | | | svn path=/trunk/; revision=1862
* ft-manager: store the icon-name instead of the pixbuf in the storeXavier Claessens2008-11-221-20/+7
| | | | svn path=/trunk/; revision=1861
* ft-manager: add comment explaining how to use GIcon with GTK 2.14Xavier Claessens2008-11-221-1/+3
| | | | svn path=/trunk/; revision=1860
* empathy-ft-manager: use the ContentType property instead of ↵Xavier Claessens2008-11-221-3/+5
| | | | | | gnome_vfs_get_mime_type_for_name to get the mime type svn path=/trunk/; revision=1859
* empathy-tp-file.c: actually implement the getter of GObject propertiesXavier Claessens2008-11-221-0/+24
| | | | svn path=/trunk/; revision=1858
* empathy-tp-file: reorder FileTransfer D-Bus properties using the same order ↵Xavier Claessens2008-11-221-7/+10
| | | | | | as in the spec svn path=/trunk/; revision=1857
* tp_file_constructor: get the ContentHashType and ContentType values from the ↵Xavier Claessens2008-11-221-0/+6
| | | | | | properties hash table svn path=/trunk/; revision=1856
* empathy-contact: no need to inspect the RequestableChannelClasses property ↵Xavier Claessens2008-11-221-71/+0
| | | | | | anymore, empathy-tp-contact-factory does it for us now svn path=/trunk/; revision=1855
* empathy-tp-contact-factory: set the FT capability when creating contacts if ↵Xavier Claessens2008-11-221-1/+79
| | | | | | the CM supports it svn path=/trunk/; revision=1854
* empathy-tp-contact-factory: factor out contact_createdXavier Claessens2008-11-221-2/+9
| | | | svn path=/trunk/; revision=1853
* empathy-ft-manager.c: Display an error if user can't save file to the chosen ↵Xavier Claessens2008-11-221-1/+17
| | | | | | location svn path=/trunk/; revision=1852
* empathy-ft-manager: ask confirmation if the filename already existsXavier Claessens2008-11-221-0/+3
| | | | svn path=/trunk/; revision=1851
* Channel_Type_File_Transfer.xml: sync with latest draftXavier Claessens2008-11-221-4/+4
| | | | svn path=/trunk/; revision=1850
* Implement latest ft draftXavier Claessens2008-11-223-30/+17
| | | | svn path=/trunk/; revision=1849
* Channel_Type_File_Transfer.xml: sync with latest draftXavier Claessens2008-11-221-50/+87
| | | | svn path=/trunk/; revision=1848
* remove blank lineXavier Claessens2008-11-221-1/+0
| | | | svn path=/trunk/; revision=1847
* Use the RequestableChannelClasses property instead of hardcoding salut to ↵Xavier Claessens2008-11-221-20/+65
| | | | | | check if we can send file or not svn path=/trunk/; revision=1846
* Set the Date property when requesting a FT channelXavier Claessens2008-11-221-2/+10
| | | | svn path=/trunk/; revision=1845
* use Requestotron to request the FT channelXavier Claessens2008-11-221-46/+64
| | | | svn path=/trunk/; revision=1844
* fix FT client side code as the generated code changedXavier Claessens2008-11-225-22/+23
| | | | svn path=/trunk/; revision=1843
* add Unix_Timestamp64 to all.xmlXavier Claessens2008-11-221-0/+2
| | | | svn path=/trunk/; revision=1842
* upgrade to new FT draftXavier Claessens2008-11-222-96/+160
| | | | svn path=/trunk/; revision=1841
* Renamed free_copy_data_if_closed to copy_data_unref and have a ref_count in ↵Jonny Lamb2008-11-221-17/+22
| | | | | | | | the CopyData struct. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1840
* Use _call_request_channel instead of _run_request_channel. (Jonny Lamb)Jonny Lamb2008-11-222-52/+72
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1839
* Added a wait for file channels so outgoing transfers are only added to the ↵Jonny Lamb2008-11-221-7/+50
| | | | | | | | manager when they are remote pending. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1838
* Don't expose streams in EmpathyTpFile, but use the GFile. (Jonny Lamb)Jonny Lamb2008-11-224-73/+43
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1837
* Fixed typo in FT manager glade file. (Jonny Lamb)Jonny Lamb2008-11-221-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1836
* Moved empathy_send_file to EmpathyDispatcher and renamed it. (Jonny Lamb)Jonny Lamb2008-11-227-114/+106
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1835
* Handle new file channels regardless of direction in the dispatcher. (Jonny Lamb)Jonny Lamb2008-11-223-74/+39
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1834
* Fixed Makefile by including missing backslash. (Jonny Lamb)Jonny Lamb2008-11-221-1/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1833
* Removed empathy_send_file_with_file_chooser_and_manager and made file ↵Jonny Lamb2008-11-223-54/+13
| | | | | | | | transfers always use the manager. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1832
* Changed suppress_handler to TRUE in a requested channel. (Jonny Lamb)Jonny Lamb2008-11-221-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1831
* Moved capabilities hack to empathy_contact_set_account. (Jonny Lamb)Jonny Lamb2008-11-221-27/+27
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1830
* Renamed is_salut to contact_is_salut. (Jonny Lamb)Jonny Lamb2008-11-221-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1829
* Removed useless test to check whether a GList has items. (Jonny Lamb)Jonny Lamb2008-11-221-38/+34
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1828
* Use gtk_file_chooser_dialog_new and the document-send icon. (Jonny Lamb)Jonny Lamb2008-11-221-20/+8
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1827
* Removed useless include. (Jonny Lamb)Jonny Lamb2008-11-221-1/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1826
* In ft_manager_receive_response_cb, just call empathy_tp_file_cancel instead ↵Jonny Lamb2008-11-221-4/+1
| | | | | | | | of getting the channel and calling close on it. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1825
* Removed "Save as" file filter. (Jonny Lamb)Jonny Lamb2008-11-221-6/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1824
* Made creating a save dialog a bit nicer by using proper GTK functions. ↵Jonny Lamb2008-11-221-11/+4
| | | | | | | | (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1823
* Use g_slice functions with ReceiveResponseData. (Jonny Lamb)Jonny Lamb2008-11-221-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1822
* Renamed ft_manager_free_receive_response_data to ↵Jonny Lamb2008-11-221-3/+3
| | | | | | | | ft_manager_receive_response_data_free. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1821
* Removed useless ref of the FT manager in the build_ui method. (Jonny Lamb)Jonny Lamb2008-11-221-3/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1820
* Moved gtk_window_set_icon name into the glade. (Jonny Lamb)Jonny Lamb2008-11-222-2/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1819
* Removed call to gtk_tree_selection_unselect_all. (Jonny Lamb)Jonny Lamb2008-11-221-1/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1818
* Set manager_p to NULL in delete_event_cb, not in _finalize. (Jonny Lamb)Jonny Lamb2008-11-221-2/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1817
* Don't call _finalize in the delete_event_cb. (Jonny Lamb)Jonny Lamb2008-11-221-1/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1816
* Simplified code to add files to the list store. (Jonny Lamb)Jonny Lamb2008-11-221-3/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1815
* Made ft_manager_update_ft_row handle Local_Pending slightly nicer. (Jonny Lamb)Jonny Lamb2008-11-221-7/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1814
* Renamed ft_manager_get_state_change_reason_description to ↵Jonny Lamb2008-11-221-3/+3
| | | | | | | | ft_manager_state_change_reason_to_string and fixed the default unknown state return type. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1813
* Renamed private methods in the FT manager to ft_manager_*. (Jonny Lamb)Jonny Lamb2008-11-221-36/+37
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1812
* Changed gtk_tree_model_get_value calls to use gtk_tree_model_get. (Jonny Lamb)Jonny Lamb2008-11-221-14/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1811
* Removed useless libtelepathy headers. (Jonny Lamb)Jonny Lamb2008-11-222-5/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1810
* Added EMPATHY_PREFS_FILE_TRANSFER_DEFAULT_FOLDER to schema. (Jonny Lamb)Jonny Lamb2008-11-221-0/+14
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1809
* Removed useless +0.5 in get_time_remaining. (Jonny Lamb)Jonny Lamb2008-11-221-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1808
* Made state_change_reason None in the constructor instead of an invalid ↵Jonny Lamb2008-11-221-5/+2
| | | | | | | | value. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1807
* Removed pointless test whether the tp_file is a GObject in the finalize ↵Jonny Lamb2008-11-221-2/+1
| | | | | | | | function. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1806
* Use empathy_time_get_current_time instead of g_get_current_time. (Jonny Lamb)Jonny Lamb2008-11-221-15/+6
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1805
* Removed cached_empathy_file from EmpathyTpFilePriv. (Jonny Lamb)Jonny Lamb2008-11-221-1/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1804
* Removed account property of EmpathyTpFile as it's only actually used once ↵Jonny Lamb2008-11-224-32/+9
| | | | | | | | and easy obtainable. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1803
* Made property-getting synchronous again so there isn't a massive race ↵Jonny Lamb2008-11-221-45/+30
| | | | | | | | | | | condition (Jonny Lamb) This is more of a workaround than a fix and should be fixed fairly soonish. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1802
* Fixed channel property setting typo so ContentType is actually set. (Jonny Lamb)Jonny Lamb2008-11-221-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1801
* Fix typo in extension glib client generation code. This is already fixed ↵Jonny Lamb2008-11-221-1/+1
| | | | | | | | upstream in telepathy-glib. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1800
* Updated parameter checks to return appropriate values. (Jonny Lamb)Jonny Lamb2008-11-222-10/+13
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1799
* Use empathy_contact_run_until_ready in EmpathyEventManager.Jonny Lamb2008-11-221-0/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1798
* Add parameter checks to public functions. (Jonny Lamb)Jonny Lamb2008-11-223-1/+27
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1797
* Updated the way to access the EmpathyTpFilePriv instance within ↵Jonny Lamb2008-11-222-251/+161
| | | | | | | | empathy-tp-file. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1796
* Updated the way to access the EmpathyFTManagerPriv instance within ↵Jonny Lamb2008-11-222-123/+84
| | | | | | | | empathy-ft-manager. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1795
* Re-ordered EmpathyTpFile so static functions need no declaration at the top ↵Jonny Lamb2008-11-221-493/+474
| | | | | | | | of the file. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1794
* Re-ordered EmpathyFTManager so functions need no declaration at the top of ↵Jonny Lamb2008-11-221-387/+374
| | | | | | | | the file. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1793
* Use FIXME instead of TODO in comments. (Jonny Lamb)Jonny Lamb2008-11-222-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1792
* Changed _run_ method calls to _call_ calls. (Jonny Lamb)Jonny Lamb2008-11-224-129/+143
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1791
* Fixed copyright and author headers. (Jonny Lamb)Jonny Lamb2008-11-228-2/+21
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1790
* Various whitespace and comment fixes. (Jonny Lamb)Jonny Lamb2008-11-222-3/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1789
* Added empathy_offer_file function and updated accept_file. (Jonny Lamb)Jonny Lamb2008-11-224-5/+47
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1788
* Do not set the MD5 hash of the file when sending. (Jonny Lamb)Jonny Lamb2008-11-221-28/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1787
* Removed SocketPath channel property. (Jonny Lamb)Jonny Lamb2008-11-221-19/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1786
* Added ContentHashType channel property, and renamed ContentMD5 to ↵Jonny Lamb2008-11-221-13/+25
| | | | | | | | ContentHash. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1785
* Updated yet more places to use s/direction/incoming/ (Jonny Lamb)Jonny Lamb2008-11-222-4/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1784
* Replaced the Direction channel property a more-private GObject incoming ↵Jonny Lamb2008-11-223-32/+26
| | | | | | | | property. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1783
* Fixed yet more references to EMPATHY_FILE. (Jonny Lamb)Jonny Lamb2008-11-221-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1782
* Fixed include of empathy-file.h to empathy-tp-file.h. (Jonny Lamb)Jonny Lamb2008-11-221-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1781
* Changed EmpathyEventManager to not rely on the Direction property of the ↵Jonny Lamb2008-11-221-6/+8
| | | | | | | | file channel. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1780
* Updated extensions external-types to include types from tubes.Jonny Lamb2008-11-221-0/+6
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1779
* Updated Channel.Type.File spec. (Jonny Lamb)Jonny Lamb2008-11-221-128/+146
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1778
* Added a proper Empathy event for an incoming file transfer so that the ↵Jonny Lamb2008-11-221-7/+30
| | | | | | | | status icon flashes. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1777
* Renamed EmpathyFile to EmpathyTpFile. (Jonny Lamb)Jonny Lamb2008-11-2211-402/+399
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1776
* Removed pointless gio-2.0 deps in megaphone, nothere, and python. (Jonny Lamb)Jonny Lamb2008-11-221-3/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1775
* Added ability to get an md5sum of the file being sent using GChecksum. ↵Jonny Lamb2008-11-221-1/+23
| | | | | | | | (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1774
* Removed empathy_init in favour of calling emp_cli_init directly. (Jonny Lamb)Jonny Lamb2008-11-223-10/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1773
* Fixed function declaration style. (Jonny Lamb)Jonny Lamb2008-11-222-45/+87
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1772
* Only display "Send Files" if the contact is in Salut. (Jonny Lamb)Jonny Lamb2008-11-221-0/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1771
* Converted sources to Collabora coding style. (Jonny Lamb)Jonny Lamb2008-11-225-1121/+1121
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1770
* Replaced gnome_vfs_format_file_size_for_display with its GIO equivalent. ↵Jonny Lamb2008-11-221-3/+3
| | | | | | | | (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1769
* Merged empathy_send_file and empathy_send_file_from_stream, and dropped the ↵Jonny Lamb2008-11-222-43/+20
| | | | | | | | dependency on gnome-vfs in favour of GIO. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1768
* Set the ContentType property properly on a new file channel. (Jonny Lamb)Jonny Lamb2008-11-222-1/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1767
* Added ability for the ft manager to stay around when closed. (Jonny Lamb)Jonny Lamb2008-11-222-24/+17
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1766
* Show an error to the terminal when there's a problem in getting the output ↵Jonny Lamb2008-11-221-1/+10
| | | | | | | | stream. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1765
* Changed order of closing channel and cancelling socket transfers. (Jonny Lamb)Jonny Lamb2008-11-221-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1764
* Fixed small coding style issue. (Jonny Lamb)Jonny Lamb2008-11-221-2/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1763
* Display cancel reasons in the file transfer manager. (Jonny Lamb)Jonny Lamb2008-11-221-3/+6
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1762
* Actually stop a file transfer if in the ft manager when requested. (Jonny Lamb)Jonny Lamb2008-11-221-2/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1761
* Implemented empathy_file_cancel. (Jonny Lamb)Jonny Lamb2008-11-222-0/+13
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1760
* Added a missing "break". (Jonny Lamb)Jonny Lamb2008-11-221-0/+1
| | | | | | | | | Credits to Dafydd Harries for his work in helping to get to the bottom of this one. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1759
* Handled TransferredBytes signal properly and show in the progress bar. ↵Jonny Lamb2008-11-221-7/+17
| | | | | | | | (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1758
* Handle incoming file transfers in the event manager. (Jonny Lamb)Jonny Lamb2008-11-221-0/+30
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1757
* Actually use accept and receive file functions. (Jonny Lamb)Jonny Lamb2008-11-221-2/+10
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1756
* Implemented accept_file and empathy_receive_file in empathy-file. (Jonny Lamb)Jonny Lamb2008-11-221-18/+68
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1755
* Fixed _get_local_socket in empathy-file so that it calls connect(2). (Jonny ↵Jonny Lamb2008-11-221-2/+20
| | | | | | | | Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1754
* Removed g_object_notify that doesn't actually map to a property. (Jonny Lamb)Jonny Lamb2008-11-221-2/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1753
* Allow transfers to be declined by closing the channel. (Jonny Lamb)Jonny Lamb2008-11-221-3/+4
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1752
* Added fix for an empty default folder. (Jonny Lamb)Jonny Lamb2008-11-221-1/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1751
* Removed file transfer handling code from empathy dispatcher. (Jonny Lamb)Jonny Lamb2008-11-221-11/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1750
* Added missing GTK+ include header. (Jonny Lamb)Jonny Lamb2008-11-221-0/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1749
* Removed EmpathyTpFile and put everything into EmpathyFile. (Jonny Lamb)Jonny Lamb2008-11-227-1628/+856
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1748
* Added empathy_send_file_with_file_chooser_and_manager to make use of the ↵Jonny Lamb2008-11-223-1/+17
| | | | | | | | file transfer manager. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1747
* Added GTK file transfer manager. (Jonny Lamb)Jonny Lamb2008-11-225-1/+1367
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1746
* Push the notify::state and notify::transferred-bytes signals from ↵Jonny Lamb2008-11-221-2/+29
| | | | | | | | EmpathyTpFile onto EmpathyFile for the ft-manager to listen to. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1745
* Correctly set the EmpathyContact in an EmpathyTpFile. (Jonny Lamb)Jonny Lamb2008-11-221-0/+7
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1744
* Changed the "Send file" icon to something sane. (Jonny Lamb)Jonny Lamb2008-11-222-1/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1743
* Added start of handling new incoming file channels. (Jonny Lamb)Jonny Lamb2008-11-221-0/+11
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1742
* Added "Send file" item to contact menu widget. (Jonny Lamb)Jonny Lamb2008-11-222-0/+34
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1741
* Added some more file sending functions to libempathy-gtk. (Jonny Lamb)Jonny Lamb2008-11-222-0/+132
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1740
* Added a workaround to EmpathyTpFile's finalize function so it doesn't run ↵Jonny Lamb2008-11-221-1/+2
| | | | | | | | g_object_unref on non-GObjects. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1739
* Added empathy_send_file* helper functions to empathy-utils. (Jonny Lamb)Jonny Lamb2008-11-222-0/+136
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1738
* Added empathy_init function to call emp_cli_init in main. (Jonny Lamb)Jonny Lamb2008-11-224-2/+11
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1737
* Added EmpathyFile and EmpathyTpFile objects. (Jonny Lamb)Jonny Lamb2008-11-226-0/+1892
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1736
* Added file transfer debug flag. (Jonny Lamb)Jonny Lamb2008-11-222-1/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1735
* Added a dependency on gio-unix-2.0 in libempathy. (Jonny Lamb)Jonny Lamb2008-11-222-1/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1734
* Added ft-related functions to EmpathyContact. (Jonny Lamb)Jonny Lamb2008-11-222-0/+41
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1733
* Added GIO and libgnomeui deps to configure.ac. (Jonny Lamb)Jonny Lamb2008-11-221-0/+5
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1732
* Added org.freedesktop.Telepathy.Channel.Type.File.DRAFT spec file. (Jonny Lamb)Jonny Lamb2008-11-223-1/+401
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1731
* Updated ps translation (Zabeeh Khan)Simos Xenitellis2008-11-211-0/+1814
| | | | svn path=/trunk/; revision=1730
* Updated German translation.Hendrik Richter2008-11-192-132/+216
| | | | | | | | 2008-11-18 Hendrik Richter <hendrikr@gnome.org> * de.po: Updated German translation. svn path=/trunk/; revision=1724
* Updated Lithuanian translation (Gintautas Miliauskas).Gintautas Miliauskas2008-11-171-98/+176
| | | | | | | | | | 2008-11-17 Gintautas Miliauskas <gintas@akl.lt> * lt.po: Updated Lithuanian translation (Gintautas Miliauskas). svn path=/trunk/; revision=1723
* Updated es translation (Jorge Gonzalez)Jorge Gonzalez Gonzalez2008-11-151-11/+54
| | | | svn path=/trunk/; revision=1721
* Include account name in chat-window tooltip. Fixes bug #560622Mathias Hasselmann2008-11-141-4/+8
| | | | svn path=/trunk/; revision=1720
* Use markup for chat-window tooltipsMathias Hasselmann2008-11-141-10/+21
| | | | svn path=/trunk/; revision=1719
* Use proper format string for max-size propertyMathias Hasselmann2008-11-141-1/+1
| | | | svn path=/trunk/; revision=1718
* If chats have no name, use the channel's ID instead of fallback to ↵Xavier Claessens2008-11-142-21/+14
| | | | | | "Conversation". Fixes bug #560611. svn path=/trunk/; revision=1717
* Add import dialog to POTFILEXavier Claessens2008-11-131-0/+2
| | | | svn path=/trunk/; revision=1716
* Updated ku translationErdal Ronahi2008-11-122-0/+1784
| | | | svn path=/trunk/; revision=1715
* Trivial simplification of the mathXavier Claessens2008-11-111-1/+1
| | | | svn path=/trunk/; revision=1714
* Try to keep the original image format in avatar chooser. This avoid droping ↵Xavier Claessens2008-11-111-58/+69
| | | | | | alpha layer when converting from PNG to JPEG. svn path=/trunk/; revision=1713
* Improve error message.Xavier Claessens2008-11-111-2/+3
| | | | svn path=/trunk/; revision=1712
* Report error to the user when converting the avatar fails.Xavier Claessens2008-11-111-4/+37
| | | | svn path=/trunk/; revision=1711
* Cleanup code and add some commentsXavier Claessens2008-11-112-7/+17
| | | | svn path=/trunk/; revision=1710
* Move code to avoid declaring functions on the top of the file.Xavier Claessens2008-11-111-71/+57
| | | | svn path=/trunk/; revision=1709
* Make a dichotomic search for the optimal image size. Cleanup some codeXavier Claessens2008-11-111-112/+121
| | | | svn path=/trunk/; revision=1708
* Correctly resize the image to fit required max width/heightXavier Claessens2008-11-111-13/+33
| | | | svn path=/trunk/; revision=1707
* Add empathy_pixbuf_from_data_and_mime instead of breaking API.Xavier Claessens2008-11-114-6/+17
| | | | svn path=/trunk/; revision=1706
* Don't modify EmpathyAvatar::format if gdkpixbuf disagreesXavier Claessens2008-11-111-4/+4
| | | | svn path=/trunk/; revision=1705
* Use two g_asserts rather than g_assert (foo && bar).Xavier Claessens2008-11-111-2/+4
| | | | svn path=/trunk/; revision=1704
* can_satisfy_mime_type_requirements: assume out params != NULLXavier Claessens2008-11-111-10/+2
| | | | | | (I never actually removed the assertion that they be non-NULL.) svn path=/trunk/; revision=1703
* Prefer png or jpeg if possible when converting avatarsXavier Claessens2008-11-111-20/+34
| | | | svn path=/trunk/; revision=1702
* Update avatar chooser's account from its own callback.Xavier Claessens2008-11-111-22/+19
| | | | | | | | 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
* ContactWidget: set up account widget before avatar widgetXavier Claessens2008-11-111-23/+24
| | | | svn path=/trunk/; revision=1700
* If setting an avatar from an EmpathyAvatar, just ref it.Xavier Claessens2008-11-111-25/+66
| | | | svn path=/trunk/; revision=1699
* AvatarChooser: clarify why _scale_down_if_necessary is cheap.Xavier Claessens2008-11-111-2/+7
| | | | svn path=/trunk/; revision=1698
* Make can_satisfy_mime_type_requirements accept NULL out params.Xavier Claessens2008-11-111-6/+24
| | | | svn path=/trunk/; revision=1697
* Flip iterating across format_mime_types and accepted_mime_types.Xavier Claessens2008-11-111-2/+2
| | | | | | | | 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
* Use l and strv for list and strv iterators, not i and jXavier Claessens2008-11-111-7/+7
| | | | svn path=/trunk/; revision=1695
* Use foo[1] rather than *(foo + 1)Xavier Claessens2008-11-111-1/+1
| | | | svn path=/trunk/; revision=1694
* Coding style: cuddle a braceXavier Claessens2008-11-111-2/+1
| | | | svn path=/trunk/; revision=1693
* AvatarChooser: don't set contact_factory to NULL after unreffing.Xavier Claessens2008-11-111-3/+2
| | | | | | The object is being destroyed anyway. svn path=/trunk/; revision=1692
* AvatarChooser: Remove empathy_ prefix from static functions.Xavier Claessens2008-11-111-10/+10
| | | | svn path=/trunk/; revision=1691
* AvatarChooser needs no ContactFactory property; it's a singleton.Xavier Claessens2008-11-113-32/+6
| | | | svn path=/trunk/; revision=1690
* Coding style: no blank lines in local variable declarationsXavier Claessens2008-11-111-4/+0
| | | | svn path=/trunk/; revision=1689
* Coding style: use FIXME rather than TODO.Xavier Claessens2008-11-111-5/+5
| | | | svn path=/trunk/; revision=1688
* Coding style: only one blank line between functions.Xavier Claessens2008-11-113-10/+0
| | | | svn path=/trunk/; revision=1687
* Coding style: use braces for one-statement blocks in AvatarChooserXavier Claessens2008-11-111-9/+19
| | | | svn path=/trunk/; revision=1686
* Check the contact factory is still ready when avatar picker is OKed.Xavier Claessens2008-11-111-0/+13
| | | | svn path=/trunk/; revision=1685
* Don't explicitly check for the new avatar being zero bytesXavier Claessens2008-11-111-1/+1
| | | | | | | 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
* Don't clear user's avatar if a file can't be read.Xavier Claessens2008-11-111-2/+0
| | | | svn path=/trunk/; revision=1683
* Implement scaling and converting avatars before sending.Xavier Claessens2008-11-111-65/+265
| | | | svn path=/trunk/; revision=1682
* Make empathy_pixbuf_scale_down_if_necessary treat 0 as "no limit"Xavier Claessens2008-11-111-1/+1
| | | | svn path=/trunk/; revision=1681
* Track whether avatar is being set locally, or received from elsewhere.Xavier Claessens2008-11-111-12/+17
| | | | svn path=/trunk/; revision=1680
* Use e_avatar_chooser_clear_image() helper.Xavier Claessens2008-11-111-1/+1
| | | | svn path=/trunk/; revision=1679
* Ref result of empathy_contact_factory_get_tp_factoryXavier Claessens2008-11-111-2/+2
| | | | svn path=/trunk/; revision=1678
* Make avatar chooser (in)sensitive when the TpContactFactory becomes (not) readyXavier Claessens2008-11-111-10/+62
| | | | svn path=/trunk/; revision=1677
* Update AvatarChooser::account when changed in ContactWidgetXavier Claessens2008-11-111-0/+24
| | | | svn path=/trunk/; revision=1676
* AvatarChooser: Add McAccount and EmpathyContactFactory propertiesXavier Claessens2008-11-113-4/+100
| | | | svn path=/trunk/; revision=1675
* Add G_PARAM_STATIC_STRINGS to TpContactFactory propertiesXavier Claessens2008-11-111-8/+16
| | | | svn path=/trunk/; revision=1674
* EmpathyTpContactFactory: add properties for avatar requirementsXavier Claessens2008-11-111-3/+91
| | | | svn path=/trunk/; revision=1673
* EmpathyTpContactFactory: get avatar requirements before becoming ready.Xavier Claessens2008-11-111-9/+54
| | | | svn path=/trunk/; revision=1672
* EmpathyTpContactFactory: split on-ready code out of got_self_handle_cbXavier Claessens2008-11-111-4/+22
| | | | svn path=/trunk/; revision=1671
* EmpathyTpContactFactoryPriv: add fields for avatar requirementsXavier Claessens2008-11-111-0/+9
| | | | svn path=/trunk/; revision=1670
* Don't automatically resize and png-ify avatars.Xavier Claessens2008-11-114-44/+62
| | | | svn path=/trunk/; revision=1669
* Consolidate hardcoding avatars to PNG to one function.Xavier Claessens2008-11-111-1/+7
| | | | | | | (Incidentally, return "image/png" rather than "png" for the mime type, as the latter is not a mime type.) svn path=/trunk/; revision=1668
* Updated Spansih translationJorge Gonzalez Gonzalez2008-11-081-179/+218
| | | | svn path=/trunk/; revision=1667
* Updated es translation (Jorge Gonzalez)Jorge Gonzalez Gonzalez2008-11-081-47/+60
| | | | svn path=/trunk/; revision=1666
* Add ru to gitignoreXavier Claessens2008-11-041-1/+3
| | | | svn path=/trunk/; revision=1665
* Update Ukrainian translation.Maxim Dziumanenko2008-11-031-1522/+1345
| | | | | | | | | 2008-11-3 Maxim Dziumanenko <dziumanenko@gmail.com> * Update Ukrainian translation. svn path=/trunk/; revision=1663
* Added Russian translation by Nikita Belobrov <qvzqvz@gmail.com>.Nickolay V. Shmyrev2008-10-271-0/+775
| | | | | | | | | 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
* Remove session information from Ekiga registration URL. (closes: #554938)Frederic Peters2008-10-241-2/+1
| | | | svn path=/trunk/; revision=1660
* Updated Greek translation (Nick Agianniotis).Simos Xenitellis2008-10-231-164/+477
| | | | svn path=/trunk/; revision=1658
* Updated th translation (Theppitak Karoonboonyanan)Theppitak Karoonboonyanan2008-10-181-9/+6
| | | | svn path=/trunk/; revision=1650
* Updated th translation (Theppitak Karoonboonyanan)Theppitak Karoonboonyanan2008-10-181-70/+103
| | | | svn path=/trunk/; revision=1649
* Updated es translation (Jorge Gonzalez)Jorge Gonzalez Gonzalez2008-10-171-7/+15
| | | | svn path=/trunk/; revision=1647
* Use l to iterate a GList, less confusing naming.Xavier Claessens2008-10-171-3/+3
| | | | svn path=/trunk/; revision=1646
* It is a map from pidgin to CM, not MC.Xavier Claessens2008-10-171-10/+10
| | | | svn path=/trunk/; revision=1645
* Split pidgin import code into its own module. It makes easier to add other ↵Xavier Claessens2008-10-175-283/+375
| | | | | | 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-172-59/+59
| | | | | | 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
* Remove useless include in main windowXavier Claessens2008-10-171-1/+0
| | | | svn path=/trunk/; revision=1637
* rename import boolean to import_asked.Xavier Claessens2008-10-171-4/+3
| | | | svn path=/trunk/; revision=1636
* 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-173-57/+27
| | | | | | | | 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
* Removed tabs from GConf schema. (Jonny Lamb)Jonny Lamb2008-10-171-45/+45
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1628
* 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
* Ask whether to import if there are accounts to import on loading the account ↵Jonny Lamb2008-10-171-0/+34
| | | | | | | | editor, but only once. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1626
* Added GConf key EMPATHY_PREFS_IMPORT_ASKED. (Jonny Lamb)Jonny Lamb2008-10-172-0/+15
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1625
* Added empathy_import_dialog_accounts_to_import. (Jonny Lamb)Jonny Lamb2008-10-172-0/+16
| | | | | | 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