Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add the filename in EmpathyAvatar and fallback to stock_person | Xavier Claessens | 2009-06-12 | 1 | -2/+2 |
| | |||||
* | empathy-avatar-chooser: fix coding style and update FSF address | Guillaume Desmottes | 2009-05-18 | 1 | -4/+4 |
| | |||||
* | Add documentation for EmpathyAvatarChooser. | Jonny Lamb | 2009-04-23 | 1 | -0/+53 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Base EmpathyAvatarChooser on connection instead of account. | Xavier Claessens | 2009-04-22 | 1 | -83/+29 |
| | |||||
* | Fix memleak in avatar_chooser_maybe_convert_and_scale. Unref the scaled buffer | Lars-Peter Clausen | 2009-04-21 | 1 | -1/+2 |
| | | | | after it has been saved and is not needed anymore. | ||||
* | Fix memleak in avatar_chooser_update_preview_cb. Free string returned by | Lars-Peter Clausen | 2009-04-21 | 1 | -0/+2 |
| | | | | gtk_file_chooser_get_preview_filename. | ||||
* | Set the default image when clearing the avatar, even if there were no avatar ↵ | Xavier Claessens | 2009-04-13 | 1 | -5/+3 |
| | | | | | | | | previously. That happens when the widget is created. Fixe bug #566905 From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2817 | ||||
* | Reuse, and properly destroy, the avatar file chooser dialog. | Frederic Peters | 2009-01-12 | 1 | -1/+12 |
| | | | | | | Fixes bug #548768 (Frederic Peters) svn path=/trunk/; revision=2225 | ||||
* | Port EmpathyContactFactory to the new singleton policy. | Xavier Claessens | 2009-01-09 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2113 | ||||
* | Use gi18n-lib.h instead of gi18n.h for libraries. | Xavier Claessens | 2008-12-12 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=1967 | ||||
* | max_width, max_height and max_size are defined as guint in ↵ | Xavier Claessens | 2008-11-28 | 1 | -1/+1 |
| | | | | | | EmpathyTpContactFactory and telepathy spec. svn path=/trunk/; revision=1923 | ||||
* | Use proper format string for max-size property | Mathias Hasselmann | 2008-11-14 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=1718 | ||||
* | Trivial simplification of the math | Xavier Claessens | 2008-11-11 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=1714 | ||||
* | Try to keep the original image format in avatar chooser. This avoid droping ↵ | Xavier Claessens | 2008-11-11 | 1 | -58/+69 |
| | | | | | | alpha layer when converting from PNG to JPEG. svn path=/trunk/; revision=1713 | ||||
* | Improve error message. | Xavier Claessens | 2008-11-11 | 1 | -2/+3 |
| | | | | svn path=/trunk/; revision=1712 | ||||
* | Report error to the user when converting the avatar fails. | Xavier Claessens | 2008-11-11 | 1 | -4/+37 |
| | | | | svn path=/trunk/; revision=1711 | ||||
* | Cleanup code and add some comments | Xavier Claessens | 2008-11-11 | 1 | -6/+17 |
| | | | | svn path=/trunk/; revision=1710 | ||||
* | Make a dichotomic search for the optimal image size. Cleanup some code | Xavier Claessens | 2008-11-11 | 1 | -112/+121 |
| | | | | svn path=/trunk/; revision=1708 | ||||
* | Correctly resize the image to fit required max width/height | Xavier Claessens | 2008-11-11 | 1 | -13/+33 |
| | | | | svn path=/trunk/; revision=1707 | ||||
* | Add empathy_pixbuf_from_data_and_mime instead of breaking API. | Xavier Claessens | 2008-11-11 | 1 | -2/+4 |
| | | | | svn path=/trunk/; revision=1706 | ||||
* | Don't modify EmpathyAvatar::format if gdkpixbuf disagrees | Xavier Claessens | 2008-11-11 | 1 | -4/+4 |
| | | | | svn path=/trunk/; revision=1705 | ||||
* | Use two g_asserts rather than g_assert (foo && bar). | Xavier Claessens | 2008-11-11 | 1 | -2/+4 |
| | | | | svn path=/trunk/; revision=1704 | ||||
* | can_satisfy_mime_type_requirements: assume out params != NULL | Xavier Claessens | 2008-11-11 | 1 | -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 avatars | Xavier Claessens | 2008-11-11 | 1 | -20/+34 |
| | | | | svn path=/trunk/; revision=1702 | ||||
* | If setting an avatar from an EmpathyAvatar, just ref it. | Xavier Claessens | 2008-11-11 | 1 | -25/+66 |
| | | | | svn path=/trunk/; revision=1699 | ||||
* | AvatarChooser: clarify why _scale_down_if_necessary is cheap. | Xavier Claessens | 2008-11-11 | 1 | -2/+7 |
| | | | | svn path=/trunk/; revision=1698 | ||||
* | Make can_satisfy_mime_type_requirements accept NULL out params. | Xavier Claessens | 2008-11-11 | 1 | -6/+24 |
| | | | | svn path=/trunk/; revision=1697 | ||||
* | Flip iterating across format_mime_types and accepted_mime_types. | Xavier Claessens | 2008-11-11 | 1 | -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 j | Xavier Claessens | 2008-11-11 | 1 | -7/+7 |
| | | | | svn path=/trunk/; revision=1695 | ||||
* | Coding style: cuddle a brace | Xavier Claessens | 2008-11-11 | 1 | -2/+1 |
| | | | | svn path=/trunk/; revision=1693 | ||||
* | AvatarChooser: don't set contact_factory to NULL after unreffing. | Xavier Claessens | 2008-11-11 | 1 | -3/+2 |
| | | | | | | The object is being destroyed anyway. svn path=/trunk/; revision=1692 | ||||
* | AvatarChooser: Remove empathy_ prefix from static functions. | Xavier Claessens | 2008-11-11 | 1 | -10/+10 |
| | | | | svn path=/trunk/; revision=1691 | ||||
* | AvatarChooser needs no ContactFactory property; it's a singleton. | Xavier Claessens | 2008-11-11 | 1 | -29/+4 |
| | | | | svn path=/trunk/; revision=1690 | ||||
* | Coding style: no blank lines in local variable declarations | Xavier Claessens | 2008-11-11 | 1 | -4/+0 |
| | | | | svn path=/trunk/; revision=1689 | ||||
* | Coding style: use FIXME rather than TODO. | Xavier Claessens | 2008-11-11 | 1 | -5/+5 |
| | | | | svn path=/trunk/; revision=1688 | ||||
* | Coding style: only one blank line between functions. | Xavier Claessens | 2008-11-11 | 1 | -5/+0 |
| | | | | svn path=/trunk/; revision=1687 | ||||
* | Coding style: use braces for one-statement blocks in AvatarChooser | Xavier Claessens | 2008-11-11 | 1 | -9/+19 |
| | | | | svn path=/trunk/; revision=1686 | ||||
* | Check the contact factory is still ready when avatar picker is OKed. | Xavier Claessens | 2008-11-11 | 1 | -0/+13 |
| | | | | svn path=/trunk/; revision=1685 | ||||
* | Don't explicitly check for the new avatar being zero bytes | Xavier Claessens | 2008-11-11 | 1 | -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 Claessens | 2008-11-11 | 1 | -2/+0 |
| | | | | svn path=/trunk/; revision=1683 | ||||
* | Implement scaling and converting avatars before sending. | Xavier Claessens | 2008-11-11 | 1 | -65/+265 |
| | | | | svn path=/trunk/; revision=1682 | ||||
* | Track whether avatar is being set locally, or received from elsewhere. | Xavier Claessens | 2008-11-11 | 1 | -12/+17 |
| | | | | svn path=/trunk/; revision=1680 | ||||
* | Use e_avatar_chooser_clear_image() helper. | Xavier Claessens | 2008-11-11 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=1679 | ||||
* | Ref result of empathy_contact_factory_get_tp_factory | Xavier Claessens | 2008-11-11 | 1 | -2/+2 |
| | | | | svn path=/trunk/; revision=1678 | ||||
* | Make avatar chooser (in)sensitive when the TpContactFactory becomes (not) ready | Xavier Claessens | 2008-11-11 | 1 | -10/+62 |
| | | | | svn path=/trunk/; revision=1677 | ||||
* | AvatarChooser: Add McAccount and EmpathyContactFactory properties | Xavier Claessens | 2008-11-11 | 1 | -2/+96 |
| | | | | svn path=/trunk/; revision=1675 | ||||
* | Don't automatically resize and png-ify avatars. | Xavier Claessens | 2008-11-11 | 1 | -34/+37 |
| | | | | svn path=/trunk/; revision=1669 | ||||
* | Consolidate hardcoding avatars to PNG to one function. | Xavier Claessens | 2008-11-11 | 1 | -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 | ||||
* | Keep a priv pointer in the object struct instead of using ↵ | Xavier Claessens | 2008-05-06 | 1 | -5/+5 |
| | | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082 | ||||
* | Make use of tp-glib debug system. | Xavier Claessens | 2008-05-01 | 1 | -7/+6 |
| | | | | svn path=/trunk/; revision=1066 | ||||
* | Move modules that make no sense to be used in other applicaton from ↵ | Xavier Claessens | 2008-03-14 | 1 | -1/+0 |
| | | | | | | libempathy-gtk/ to src/ svn path=/trunk/; revision=789 | ||||
* | Fix leaks | Xavier Claessens | 2008-03-11 | 1 | -10/+11 |
| | | | | svn path=/trunk/; revision=739 | ||||
* | Drop gnome-vfs dependency and use gio instead. Fixes bug #514380 (Cosimo ↵ | Xavier Claessens | 2008-03-11 | 1 | -20/+29 |
| | | | | | | Cecchi). svn path=/trunk/; revision=737 | ||||
* | Update collabora copyright to 2008 | Xavier Claessens | 2008-03-03 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=688 | ||||
* | Move empathy-conf to libempathy-gtk. libempathy do not depend directly on ↵ | Xavier Claessens | 2008-01-23 | 1 | -1/+2 |
| | | | | | | gconf anymore. svn path=/trunk/; revision=597 | ||||
* | Change EMPATHY_AVATAR_CHOOSER_TYPE to EMPATHY_TYPE_AVATAR_CHOOSER | Xavier Claessens | 2008-01-16 | 1 | -2/+2 |
| | | | | svn path=/trunk/; revision=562 | ||||
* | Fix setting avatar. (Sjoerd Simons) | Xavier Claessens | 2008-01-05 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=530 | ||||
* | Rename empathy_contact_factory_set_name() to _set_alias(). Implements | Xavier Claessens | 2007-11-04 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | 2007-11-03 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-avatar-chooser.c: * libempathy-gtk/empathy-avatar-chooser.h: * python/pyempathy/pyempathy.defs: * libempathy/empathy-contact-factory.c: * libempathy/empathy-contact-factory.h: Rename empathy_contact_factory_set_name() to _set_alias(). Implements empathy_contact_factory_set_avatar(). Return the mime_type in empathy_avatar_chooser_get_image_data(). svn path=/trunk/; revision=417 | ||||
* | Makes avatar looks better in information and edit dialogs. | Xavier Claessens | 2007-10-09 | 1 | -23/+15 |
| | | | | | | | | | | | | | 2007-10-09 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-avatar-chooser.c: * libempathy-gtk/empathy-avatar-image.c: Makes avatar looks better in information and edit dialogs. svn path=/trunk/; revision=364 | ||||
* | Implement EmpathyAvatarChooser and EmpathyAvatarImage and make use of them | Xavier Claessens | 2007-10-09 | 1 | -0/+572 |
2007-10-08 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-ui-utils.c: * libempathy-gtk/empathy-ui-utils.h: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/empathy-avatar-chooser.c: * libempathy-gtk/empathy-avatar-chooser.h: * libempathy-gtk/empathy-avatar-image.c: * libempathy-gtk/empathy-avatar-image.h: * libempathy-gtk/Makefile.am: * src/empathy.c: Implement EmpathyAvatarChooser and EmpathyAvatarImage and make use of them in contact information windows. That means we can now enlarge avatars when clicking on it and we can set our own avatar if we edit our own contact. svn path=/trunk/; revision=363 |