aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
Commit message (Collapse)AuthorAgeFilesLines
* When finding a better element to use for volume, reset the current one and ↵Sjoerd Simons2009-02-171-2/+18
| | | | | | | | transfer the volume changes to the new one Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2492
* Add API to get and set the volumeSjoerd Simons2009-02-172-5/+99
| | | | | | From: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2484
* Minor string fixes. Fixes bug #571635Bruce Cowan2009-02-171-1/+1
| | | | | | From: Bruce Cowan <bugs@bcowan.fastmail.co.uk> svn path=/trunk/; revision=2473
* set some border in contact info dialog. Fixes bug #562109 (Frédéric Peters)Guillaume Desmottes2009-02-141-0/+1
| | | | | | From: Guillaume Desmottes <gdesmott@gnome.org> svn path=/trunk/; revision=2463
* Fix type punned pointers warningsOlivier Crête2009-02-121-1/+1
| | | | | | | | | Remove senseless (void **) From: Olivier Crête <olivier.crete@collabora.co.uk> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2440
* Hookup the contact menu item cb correctlySjoerd Simons2009-02-121-2/+10
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2436
* Fix naming of macros to be consistent with the class nameXavier Claessens2009-02-032-11/+11
| | | | svn path=/trunk/; revision=2418
* Add a space between the function name and the (void)Xavier Claessens2009-02-034-4/+4
| | | | svn path=/trunk/; revision=2416
* Add minimum width and height propertiesSjoerd Simons2009-02-032-1/+50
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2403
* sink the videosink so we can hold a ref to itSjoerd Simons2009-02-031-0/+9
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2397
* Add a empathy_sound_play_full functionSjoerd Simons2009-02-032-14/+69
| | | | | | | | | add a empathy_sound_play_full function, which adds a callback which is called after the sound has been played. Just like in ca_context_play_full Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2392
* Don't start the call from the message dialog, the handler will take care of itSjoerd Simons2009-02-031-1/+0
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2385
* Add audio/video sink and source abstractionsSjoerd Simons2009-02-039-0/+945
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2384
* Switch to calling CallFactory to make callsSjoerd Simons2009-02-033-4/+24
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2382
* Use contact-list property and create the store in the constructor.Jonny Lamb2009-01-311-13/+19
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2358
* Rename _get_selected to _dup_selected and make sure the contact is unrefed.Jonny Lamb2009-01-312-5/+4
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2357
* Pass an EmpathyContactList to _new and create the store from that.Jonny Lamb2009-01-312-3/+7
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2355
* Removed old FIXME.Jonny Lamb2009-01-311-4/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2354
* Don't call a function in a variable declaration.Jonny Lamb2009-01-311-1/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2353
* Use g_signal_connect_swapped and remove useless functions.Jonny Lamb2009-01-311-35/+12
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2351
* Unref the temp contact appropriately.Jonny Lamb2009-01-311-0/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2350
* Simplified loops inJonny Lamb2009-01-311-21/+19
| | | | | | | | Simplified loops in contact_selector_get_{number_online_contacts,iter_for_blank_contact}. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2349
* Use gtk_tree_store_insert_with_values.Jonny Lamb2009-01-311-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2348
* Make empathy_contact_selector_new return a GtkWidget* to conform to GTK+.Jonny Lamb2009-01-312-3/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2347
* Explicit check.Xavier Claessens2009-01-311-1/+1
| | | | svn path=/trunk/; revision=2345
* Move public methods at the bottom.Xavier Claessens2009-01-311-18/+20
| | | | svn path=/trunk/; revision=2344
* Reorganize the constructor to avoid some casts and to avoid complex inline ↵Xavier Claessens2009-01-311-12/+14
| | | | | | initializations. svn path=/trunk/; revision=2343
* Don't get a cast to EmpathyContactSelector when it's not needed.Jonny Lamb2009-01-311-4/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2342
* Use gtk_tree_model_get_iter_first instead of going through GtkTreePath.Jonny Lamb2009-01-311-12/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2341
* Use dispose_run in EmpathyContactSelector.Jonny Lamb2009-01-311-0/+8
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2340
* Remove unnecessary casts and macros.Jonny Lamb2009-01-311-14/+9
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2339
* Small coding style and name changes.Jonny Lamb2009-01-311-73/+59
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2336
* Added argument checking to non-static functions.Jonny Lamb2009-01-311-0/+4
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2334
* remove redundant flagXavier Claessens2009-01-311-6/+6
| | | | svn path=/trunk/; revision=2333
* add translation function callXavier Claessens2009-01-311-1/+1
| | | | svn path=/trunk/; revision=2332
* rename set and unset functionsXavier Claessens2009-01-311-5/+5
| | | | svn path=/trunk/; revision=2331
* conform to GET_PRIV styleXavier Claessens2009-01-312-7/+11
| | | | svn path=/trunk/; revision=2329
* unref store once onlyXavier Claessens2009-01-311-1/+5
| | | | svn path=/trunk/; revision=2328
* remove finalize functionXavier Claessens2009-01-311-11/+0
| | | | svn path=/trunk/; revision=2327
* unref contact list store on disposeXavier Claessens2009-01-311-0/+4
| | | | svn path=/trunk/; revision=2326
* tidyXavier Claessens2009-01-311-3/+0
| | | | svn path=/trunk/; revision=2325
* add function to find number of online contacts; fix sensitivity managementXavier Claessens2009-01-311-7/+35
| | | | svn path=/trunk/; revision=2324
* consolidate sensitivity managementXavier Claessens2009-01-311-15/+24
| | | | svn path=/trunk/; revision=2323
* consolidate blank contact managementXavier Claessens2009-01-311-24/+19
| | | | svn path=/trunk/; revision=2322
* move get blank iter functionXavier Claessens2009-01-311-34/+32
| | | | svn path=/trunk/; revision=2321
* add unset blank contact functionXavier Claessens2009-01-311-18/+22
| | | | svn path=/trunk/; revision=2320
* improve function to find iter for blank contactXavier Claessens2009-01-311-15/+13
| | | | svn path=/trunk/; revision=2319
* fix contact list store sortingXavier Claessens2009-01-311-6/+2
| | | | svn path=/trunk/; revision=2318
* include config.hXavier Claessens2009-01-311-0/+2
| | | | svn path=/trunk/; revision=2317
* include empathy-contact-list-store.h in empathy-contact-selector.hXavier Claessens2009-01-311-0/+1
| | | | svn path=/trunk/; revision=2316
* use EmpathyContactListStore directlyXavier Claessens2009-01-311-73/+27
| | | | svn path=/trunk/; revision=2315
* do not add blank when popup showing; add blank when popup becomes hidden and ↵Xavier Claessens2009-01-311-6/+22
| | | | | | nothing active svn path=/trunk/; revision=2314
* fix widget sensitivityXavier Claessens2009-01-311-6/+18
| | | | svn path=/trunk/; revision=2313
* fix initial active contact problem; add blank contact, hide on popup, remove ↵Xavier Claessens2009-01-311-46/+78
| | | | | | on selection and re-add on removal of active; generalise get_iter_for_contact svn path=/trunk/; revision=2312
* update authorsXavier Claessens2009-01-312-4/+4
| | | | svn path=/trunk/; revision=2311
* update copyright and authorsXavier Claessens2009-01-312-0/+4
| | | | svn path=/trunk/; revision=2310
* add selector .c and .h filesXavier Claessens2009-01-312-0/+398
| | | | svn path=/trunk/; revision=2309
* update Makefile.amXavier Claessens2009-01-311-0/+2
| | | | svn path=/trunk/; revision=2308
* Move empathy_notification_is_enabled () to src/Xavier Claessens2009-01-312-54/+1
| | | | svn path=/trunk/; revision=2294
* Fix coding style.Xavier Claessens2009-01-311-3/+3
| | | | svn path=/trunk/; revision=2293
* Initialize GError to NULL before using it.Xavier Claessens2009-01-311-1/+1
| | | | svn path=/trunk/; revision=2290
* Fix indentation.Xavier Claessens2009-01-311-1/+1
| | | | svn path=/trunk/; revision=2289
* Add a convenience function to avoid hacks when getting the pixbuf from the ↵Xavier Claessens2009-01-312-11/+25
| | | | | | icon name. svn path=/trunk/; revision=2288
* W.I.P. for notifications on chat window.Xavier Claessens2009-01-312-3/+9
| | | | svn path=/trunk/; revision=2285
* Implement a logic for disabling notifications when away.Xavier Claessens2009-01-312-8/+50
| | | | svn path=/trunk/; revision=2282
* Modify code to handle new preferences.Xavier Claessens2009-01-311-0/+3
| | | | svn path=/trunk/; revision=2281
* Also accept sftp as URL scheme.Xavier Claessens2009-01-291-1/+1
| | | | svn path=/trunk/; revision=2261
* \n is also a delimiter for URLs.Xavier Claessens2009-01-291-2/+2
| | | | svn path=/trunk/; revision=2260
* Removed unused G_STR_EMPTY from empathy-ui-utils.h.Jonny Lamb2009-01-231-2/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2250
* Renamed G_STR_EMPTY to EMP_STR_EMPTY.Jonny Lamb2009-01-2310-26/+26
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2249
* Removed trailing space. Fixes bug #566549 (Leonardo Ferreira Fontenelle)Xavier Claessens2009-01-231-1/+1
| | | | svn path=/trunk/; revision=2246
* empathy_mission_control_new -> dup_singleton.Xavier Claessens2009-01-161-1/+1
| | | | svn path=/trunk/; revision=2233
* Reuse, and properly destroy, the avatar file chooser dialog.Frederic Peters2009-01-121-1/+12
| | | | | | Fixes bug #548768 (Frederic Peters) svn path=/trunk/; revision=2225
* Fix some errors made when rebasing on masterXavier Claessens2009-01-101-1/+1
| | | | svn path=/trunk/; revision=2211
* Only show pending messages after the log and explain why ↵Sjoerd Simons2009-01-101-3/+5
| | | | | | | | show_pending_messages is there when tp-chat gets set Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2201
* Let a chatroom keep a reference to a its TpChat if applicableSjoerd Simons2009-01-101-9/+5
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2189
* Make the dispatch operation _get_ functions not return a refSjoerd Simons2009-01-101-1/+0
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2188
* Convert EmpathyChatroomManager to the new singleton conventionSjoerd Simons2009-01-101-1/+1
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2185
* Make coding style consistent with the rest of the fileXavier Claessens2009-01-101-15/+14
| | | | svn path=/trunk/; revision=2171
* Fix coding style, user the right unique nameSjoerd Simons2009-01-101-26/+24
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2170
* Use the new call utility function to start callsSjoerd Simons2009-01-103-3/+11
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2167
* Use new dispatcher API to get muc channelsSjoerd Simons2009-01-101-13/+14
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2145
* Use new API to request file transfersSjoerd Simons2009-01-101-2/+52
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2136
* Use the new dispatcher api to request text channelsSjoerd Simons2009-01-102-6/+5
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2131
* Port to the new EmpathyTpChat APISjoerd Simons2009-01-101-9/+40
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2129
* Set the right weak pointer.Xavier Claessens2009-01-091-1/+1
| | | | svn path=/trunk/; revision=2122
* Port EmpathyContactManager to the new singleton policy.Xavier Claessens2009-01-093-5/+5
| | | | svn path=/trunk/; revision=2121
* Port to the new singleton API.Xavier Claessens2009-01-091-1/+1
| | | | svn path=/trunk/; revision=2120
* Port EmpathySmileyManager to the new singleton policy.Xavier Claessens2009-01-095-16/+31
| | | | svn path=/trunk/; revision=2116
* Port EmpathyLogManager to the new singleton policy.Xavier Claessens2009-01-093-3/+3
| | | | svn path=/trunk/; revision=2115
* Port EmpathyIdle to the new singleton policy.Xavier Claessens2009-01-091-2/+2
| | | | svn path=/trunk/; revision=2114
* Port EmpathyContactFactory to the new singleton policy.Xavier Claessens2009-01-093-3/+3
| | | | svn path=/trunk/; revision=2113
* Add a comment that tells to keep EmpathySound enum sync with sound_entries ↵Xavier Claessens2009-01-072-1/+2
| | | | | | array. svn path=/trunk/; revision=2109
* Assert that sound_id is OK before getting sound_entries[sound_id], to avoid ↵Xavier Claessens2009-01-071-3/+5
| | | | | | crash. svn path=/trunk/; revision=2103
* Sanity checks for empathy_play_sounds.Xavier Claessens2009-01-071-1/+2
| | | | svn path=/trunk/; revision=2102
* Add a debug message when playing sound.Xavier Claessens2009-01-071-0/+4
| | | | svn path=/trunk/; revision=2087
* Back out changes in EmpathyContactListStore. They could go in a laterXavier Claessens2009-01-071-229/+192
| | | | | | branch. svn path=/trunk/; revision=2086
* Propperly mark event descriptions for translation.Xavier Claessens2009-01-071-1/+4
| | | | | | | Add a comment about the order of the sound entries array, and assert if the order isn't correct. svn path=/trunk/; revision=2085
* Update empathy_sound_play () to be nicer to use and centralize the listXavier Claessens2009-01-072-9/+56
| | | | | | of sounds we support. svn path=/trunk/; revision=2082
* Turn empathy_sound_pref_is_enabled into empathy_sound_play thatXavier Claessens2009-01-072-2/+21
| | | | | | automatically plays the sound if the pref is enabled. svn path=/trunk/; revision=2078
* Disconnect all signals from the EmpathyAccountChooser when finalizing.Xavier Claessens2009-01-071-0/+6
| | | | svn path=/trunk/; revision=2077
* Use new singleton policy for EmpathyAccountManager.Xavier Claessens2009-01-072-2/+2
| | | | svn path=/trunk/; revision=2074
* Don't initialize private stuff in _new ().Xavier Claessens2009-01-071-17/+14
| | | | svn path=/trunk/; revision=2067
* Always disconnect signals for safety on _finalize ().Xavier Claessens2009-01-072-0/+30
| | | | svn path=/trunk/; revision=2062
* Port EmpathyContactListStore to the new API.Xavier Claessens2009-01-071-193/+203
| | | | svn path=/trunk/; revision=2053
* Disconnect signals when finalizing.Xavier Claessens2009-01-071-5/+4
| | | | svn path=/trunk/; revision=2047
* Unref the object.Xavier Claessens2009-01-071-0/+1
| | | | svn path=/trunk/; revision=2035
* Port EmpathyChat to the new API.Xavier Claessens2009-01-071-21/+18
| | | | svn path=/trunk/; revision=2034
* Port the account chooser to the new API.Xavier Claessens2009-01-071-52/+28
| | | | svn path=/trunk/; revision=2031
* Only play logout sound if switching to Offline from Available.Xavier Claessens2009-01-071-1/+0
| | | | svn path=/trunk/; revision=2028
* Don't emit sound when changing state and properly play login sound.Xavier Claessens2009-01-071-2/+4
| | | | svn path=/trunk/; revision=2027
* Adapt the libcanberra calls to use the new functions.Xavier Claessens2009-01-071-1/+0
| | | | svn path=/trunk/; revision=2025
* Add empathy_sound_pref_is_enabled ().Xavier Claessens2009-01-072-0/+37
| | | | svn path=/trunk/; revision=2024
* Adapt Patryk's patch to trunk.Xavier Claessens2009-01-071-0/+1
| | | | svn path=/trunk/; revision=2022
* Create an UI for sound configuration.Xavier Claessens2009-01-071-3/+9
| | | | svn path=/trunk/; revision=2021
* More coding style fixes in empathy-contact-menu.cXavier Claessens2008-12-291-97/+81
| | | | svn path=/trunk/; revision=2018
* Homogenize coding style in empathy_contact_menu_newWill Thompson2008-12-291-2/+2
| | | | | | Signed-off-by: Will Thompson <will.thompson@collabora.co.uk> svn path=/trunk/; revision=2015
* Remove finalize, it is not used.Xavier Claessens2008-12-161-7/+0
| | | | svn path=/trunk/; revision=2007
* Do not assert the tab exists in empathy_chat_text_view_tag_set(), simply ↵Xavier Claessens2008-12-161-2/+1
| | | | | | return silently. svn path=/trunk/; revision=2006
* Fallback to use "classic" theme if the gconf key is invalidXavier Claessens2008-12-161-0/+4
| | | | svn path=/trunk/; revision=2003
* Update boxes views when theme changes to another boxes one.Xavier Claessens2008-12-161-63/+89
| | | | svn path=/trunk/; revision=2002
* Update color when using the simple theme and GTK color changes.Xavier Claessens2008-12-161-56/+27
| | | | svn path=/trunk/; revision=2001
* Don't forget to call g_object_weak_unref in finalise on each viewsXavier Claessens2008-12-161-162/+170
| | | | svn path=/trunk/; revision=1998
* Remove useless commented codeXavier Claessens2008-12-161-118/+0
| | | | svn path=/trunk/; revision=1997
* Keep a list of boxes views so we can update colors when themes changeXavier Claessens2008-12-161-46/+68
| | | | svn path=/trunk/; revision=1996
* Remove a FIXME which was not a problem and add one for bug #542523Xavier Claessens2008-12-161-5/+5
| | | | svn path=/trunk/; revision=1995
* Create the simple theme using system colorsXavier Claessens2008-12-161-31/+32
| | | | svn path=/trunk/; revision=1994
* Completely rework the theming system to make easy implementing themes based ↵Xavier Claessens2008-12-1610-1335/+976
| | | | | | on other classes like webkit. svn path=/trunk/; revision=1993
* Remove EmpathyTheme, code will be merged into EmpathyChatTextViewXavier Claessens2008-12-162-100/+0
| | | | svn path=/trunk/; revision=1992
* Remove unused empathy-theme.h includeXavier Claessens2008-12-161-2/+0
| | | | svn path=/trunk/; revision=1991
* Remove useless empathy_text_buffer_tag_setXavier Claessens2008-12-162-52/+1
| | | | svn path=/trunk/; revision=1990
* Remove useless virtual methodsXavier Claessens2008-12-162-94/+10
| | | | svn path=/trunk/; revision=1988
* Rename EmpathyChatSimpleView to EmpathyChatTextViewXavier Claessens2008-12-165-189/+190
| | | | svn path=/trunk/; revision=1987
* Move the smiley menu code from EmpathyChatView to EmpathyChatManager.Xavier Claessens2008-12-165-72/+114
| | | | svn path=/trunk/; revision=1986
* EmpathyChatView interface can only be implemented by a GtkWidget subclassXavier Claessens2008-12-161-1/+1
| | | | svn path=/trunk/; revision=1985
* Replace _get_selection_bounds by _get_has_selectionXavier Claessens2008-12-164-21/+11
| | | | svn path=/trunk/; revision=1984
* Remove _append_button since it's not usedXavier Claessens2008-12-163-98/+0
| | | | svn path=/trunk/; revision=1983
* Move chat_view_get_avatar_pixbuf_with_cache to EmpathyThemeBoxes where it ↵Xavier Claessens2008-12-163-98/+95
| | | | | | makes more sense. svn path=/trunk/; revision=1982
* Fix licence and clean up a bit the interfaceXavier Claessens2008-12-165-193/+179
| | | | svn path=/trunk/; revision=1981
* Reorder functions to not declare them in the top of the file.Xavier Claessens2008-12-161-273/+232
| | | | svn path=/trunk/; revision=1980
* Fix compilation problemsXavier Claessens2008-12-161-133/+94
| | | | svn path=/trunk/; revision=1979
* EmpathyChatView as GInterfaceXavier Claessens2008-12-165-1169/+1630
| | | | svn path=/trunk/; revision=1978
* gtk_init and g_thread_init shouldn't be called by libraries. Let ↵Xavier Claessens2008-12-122-44/+4
| | | | | | applications do it. svn path=/trunk/; revision=1971
* Refactor empathy_gtk_init* to share common code.Xavier Claessens2008-12-121-19/+26
| | | | svn path=/trunk/; revision=1969
* Use gi18n-lib.h instead of gi18n.h for libraries.Xavier Claessens2008-12-1224-24/+24
| | | | svn path=/trunk/; revision=1967
* Add empathy_init(), empathy_gtk_init() and empathy_gtk_init_with_args(). ↵Xavier Claessens2008-12-123-0/+50
| | | | | | They have to be called by any process using libempathy. svn path=/trunk/; revision=1966
* Fix coding styleXavier Claessens2008-12-121-6/+6
| | | | svn path=/trunk/; revision=1964
* can_add_contact_to_account: use empathy_contact_manager_can_add (Guillaume ↵Xavier Claessens2008-12-121-23/+6
| | | | | | Desmottes) svn path=/trunk/; revision=1963
* Make hitting enter in New Conversation activate Chat (Will Thompson).Xavier Claessens2008-12-121-0/+1
| | | | svn path=/trunk/; revision=1959
* Clarify URI regexXavier Claessens2008-12-101-4/+4
| | | | svn path=/trunk/; revision=1957
* Improve URI regex.Xavier Claessens2008-12-101-4/+4
| | | | svn path=/trunk/; revision=1956
* Correct typo: SHEME -> SCHEMEXavier Claessens2008-12-101-2/+2
| | | | svn path=/trunk/; revision=1955
* Match literal dot rather than any char in email domainXavier Claessens2008-12-101-1/+1
| | | | | | | This fixes half of #563713: previously, "foo@bar baz" was matched as an email address. svn path=/trunk/; revision=1954
* Explicitly depend on telepathy-glib in .pc files (Simon McVittie)Xavier Claessens2008-12-081-1/+1
| | | | | | | | If backporting this patch, if any file in libempathy/ or libempathy-gtk/ uses #include <libtelepathy/anything>, then a libtelepathy dependency is needed too. svn path=/trunk/; revision=1953
* Autocompletion on contact names for "new message" dialog box. Fixes bug ↵Xavier Claessens2008-12-081-4/+145
| | | | | | #552296 (Emmanuel Bretelle, Xavier Claessens). svn path=/trunk/; revision=1951
* Use GTK+ 2.14.0 and gtk_show_uri (Cosimo Cecchi).Xavier Claessens2008-12-023-20/+24
| | | | svn path=/trunk/; revision=1942
* Use GRegex instead of custom code and use a new regex to detect URIsXavier Claessens2008-12-011-53/+51
| | | | svn path=/trunk/; revision=1932
* Fix previous commit. Oops.Xavier Claessens2008-11-281-5/+5
| | | | svn path=/trunk/; revision=1925
* Fix a crash in the log window when there is no account. Fixes bug #562071.Xavier Claessens2008-11-281-0/+5
| | | | svn path=/trunk/; revision=1924
* max_width, max_height and max_size are defined as guint in ↵Xavier Claessens2008-11-281-1/+1
| | | | | | EmpathyTpContactFactory and telepathy spec. svn path=/trunk/; revision=1923
* Move the ft manager to src/ other programs do not need it.Xavier Claessens2008-11-224-1294/+1
| | | | svn path=/trunk/; revision=1884
* rename empathy_tp_file_get_incoming to empathy_tp_file_is_incomingXavier Claessens2008-11-221-6/+6
| | | | svn path=/trunk/; revision=1882
* empathy_tp_file_accept/offer takes the GFile in param and return a GError if ↵Xavier Claessens2008-11-221-3/+1
| | | | | | the file can't be opened. svn path=/trunk/; revision=1881
* 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
* 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
* 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-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
* Implement latest ft draftXavier Claessens2008-11-221-9/+8
| | | | svn path=/trunk/; revision=1849
* fix FT client side code as the generated code changedXavier Claessens2008-11-221-5/+5
| | | | svn path=/trunk/; revision=1843
* Don't expose streams in EmpathyTpFile, but use the GFile. (Jonny Lamb)Jonny Lamb2008-11-221-12/+1
| | | | | | 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-222-3/+3
| | | | | | 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-221-15/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1834
* 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
* 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
* Updated parameter checks to return appropriate values. (Jonny Lamb)Jonny Lamb2008-11-221-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1799
* Add parameter checks to public functions. (Jonny Lamb)Jonny Lamb2008-11-222-0/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1797
* 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 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-221-1/+1
| | | | | | 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-221-1/+1
| | | | | | 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-224-0/+11
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1790
* Added empathy_offer_file function and updated accept_file. (Jonny Lamb)Jonny Lamb2008-11-221-2/+5
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1788
* Updated yet more places to use s/direction/incoming/ (Jonny Lamb)Jonny Lamb2008-11-221-2/+1
| | | | | | 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-221-9/+7
| | | | | | | | 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
* Renamed EmpathyFile to EmpathyTpFile. (Jonny Lamb)Jonny Lamb2008-11-224-110/+109
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1776
* Fixed function declaration style. (Jonny Lamb)Jonny Lamb2008-11-221-24/+41
| | | | | | 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-222-913/+913
| | | | | | 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
* 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
* 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
* 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
* 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
* 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-221-1/+1
| | | | | | 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
* 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 "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
* 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-141-2/+12
| | | | | | "Conversation". Fixes bug #560611. svn path=/trunk/; revision=1717
* 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
* 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