aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a map in the Contact Information dialogPierre-Luc Beaudoin2009-05-281-0/+48
| | | | | For now, the map in the tool tip is disabled as Clutter-gtk does like at all this type of window/initialisation
* empathy-contact-widget: fix coding styleGuillaume Desmottes2009-05-181-5/+5
|
* empathy-contact-widget: call contact_widget_change_contact after widget's ↵Guillaume Desmottes2009-04-231-2/+5
| | | | setup. Fixes #579971
* Add documentation for EmpathyContactWidget.Jonny Lamb2009-04-231-0/+52
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Add G_PARAM_STATIC_STRINGS to EmpathyContact propertiesXavier Claessens2009-04-221-1/+0
|
* Use tp_connection_get_self_handle where neededXavier Claessens2009-04-221-29/+7
|
* Change EmpathyTpContactFactory API to look more like TpConnection. Add ↵Xavier Claessens2009-04-221-4/+11
| | | | | | function to get only one contact from id/handle.
* Remove useless conditionXavier Claessens2009-04-221-12/+9
|
* Remove dead codeXavier Claessens2009-04-221-2/+0
|
* - Split info/edit/personal dialogs into different functions.Xavier Claessens2009-04-221-15/+9
| | | | - Make sure empathy_contact_widget_new works with a NULL contact.
* Port EmpathyContactWidget to new API.Xavier Claessens2009-04-221-42/+62
|
* Fix memleak in contact_widget_model_populate_columns. Since it not used anywhereLars-Peter Clausen2009-04-211-6/+0
| | | | else it does not make sense to add a ref to the renderer, or does it?
* Refactor the floating ref hack into a new functionXavier Claessens2009-04-161-5/+2
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2871
* Port EmpathyContactWidget to new APIXavier Claessens2009-04-161-11/+7
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2847
* Use empathy_contact_call_when_ready instead of _run_ API. Fixes bug #561247 andXavier Claessens2009-03-291-4/+21
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2748
* Renamed G_STR_EMPTY to EMP_STR_EMPTY.Jonny Lamb2009-01-231-3/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2249
* Port EmpathyContactManager to the new singleton policy.Xavier Claessens2009-01-091-1/+1
| | | | svn path=/trunk/; revision=2121
* Port EmpathyContactFactory to the new singleton policy.Xavier Claessens2009-01-091-1/+1
| | | | svn path=/trunk/; revision=2113
* Use gi18n-lib.h instead of gi18n.h for libraries.Xavier Claessens2008-12-121-1/+1
| | | | svn path=/trunk/; revision=1967
* 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
* AvatarChooser needs no ContactFactory property; it's a singleton.Xavier Claessens2008-11-111-2/+1
| | | | svn path=/trunk/; revision=1690
* Coding style: only one blank line between functions.Xavier Claessens2008-11-111-2/+0
| | | | svn path=/trunk/; revision=1687
* 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-111-1/+2
| | | | svn path=/trunk/; revision=1675
* Fix condition to set labels selectable.Xavier Claessens2008-09-191-3/+3
| | | | svn path=/trunk/; revision=1472
* EmpathyContactWidget: correct typo, "hbow" -> "hbox"Xavier Claessens2008-08-251-2/+2
| | | | svn path=/trunk/; revision=1377
* don't let label text be selected in contact tooltip (closes: #546568)Frederic Peters2008-08-201-3/+12
| | | | svn path=/trunk/; revision=1360
* Do not popup the Save As menu if the contact has no avatar.Xavier Claessens2008-07-091-0/+4
| | | | svn path=/trunk/; revision=1219
* Fix some coding styleXavier Claessens2008-07-091-59/+33
| | | | svn path=/trunk/; revision=1218
* empathy-contact-widget: remove tabs (Guillaume Desmottes)Xavier Claessens2008-07-091-364/+376
| | | | svn path=/trunk/; revision=1216
* empathy-contact-widget: use gtk_image_menu_item_new_from_stock (Guillaume ↵Xavier Claessens2008-07-091-4/+2
| | | | | | Desmottes) svn path=/trunk/; revision=1215
* switch empathy-contact-widget to Collabora coding style (Guillaume Desmottes)Xavier Claessens2008-07-091-428/+458
| | | | svn path=/trunk/; revision=1213
* use SAVE_AS stock icon when saving the avatar (Guillaume Desmottes)Xavier Claessens2008-07-091-1/+1
| | | | svn path=/trunk/; revision=1212
* Add an option to save avatar to disk. Fixes bug #541431 (Guillaume Desmottes)Xavier Claessens2008-07-091-0/+152
| | | | svn path=/trunk/; revision=1211
* Made the Close button the default widget in the contact edit dialog. (Jonny ↵Jonny Lamb2008-07-081-0/+2
| | | | | | | | | | | | | Lamb) Having this Close button the default widget in the contact edit dialog allows one to enter/edit a contact's alias, and press return when finished, instead of TABing one's to Close, or worse, having to use the mouse! Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1207
* Use empathy_file_lookup for glade files since some are in libempathy-gtk/ ↵Xavier Claessens2008-03-171-1/+5
| | | | | | and others in src/ svn path=/trunk/; revision=813
* Make sure we don't expect contact id and handle to be directly ready. Add ↵Xavier Claessens2008-03-111-3/+5
| | | | | | some _run_until_ready. svn path=/trunk/; revision=755
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Remove EmpathyPresence object and have "presence" and "presence-message" ↵Xavier Claessens2008-01-251-0/+3
| | | | | | properties directly in EmpathyContact svn path=/trunk/; revision=601
* Add a public method to change the contact showed.Xavier Claessens2008-01-241-0/+23
| | | | svn path=/trunk/; revision=598
* Rename empathy_contact_factory_set_name() to _set_alias(). ImplementsXavier Claessens2007-11-041-11/+17
| | | | | | | | | | | | | | | | | 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
* Cleanup licences and copyrights, Modules with 100% collabora code are nowXavier Claessens2007-10-251-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-account-chooser.c: * libempathy-gtk/empathy-profile-chooser.c: * libempathy-gtk/empathy-account-chooser.h: * libempathy-gtk/empathy-profile-chooser.h: * libempathy-gtk/empathy-images.h: * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-main-window.h: * libempathy-gtk/empathy-cell-renderer-activatable.c: * libempathy-gtk/empathy-account-widget-salut.c: * libempathy-gtk/empathy-presence-chooser.c: * libempathy-gtk/empathy-cell-renderer-activatable.h: * libempathy-gtk/empathy-account-widget-salut.h: * libempathy-gtk/empathy-account-widget-msn.c: * libempathy-gtk/empathy-presence-chooser.h: * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-account-widget-msn.h: * libempathy-gtk/empathy-status-icon.h: * libempathy-gtk/empathy-contact-dialogs.h: * libempathy-gtk/empathy-account-widget-jabber.c: * libempathy-gtk/empathy-account-widget-jabber.h: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/empathy-smiley-manager.c: * libempathy-gtk/empathy-about-dialog.h: * libempathy-gtk/empathy-smiley-manager.h: * libempathy-gtk/empathy-accounts-dialog.h: * libempathy/empathy-avatar.h: * libempathy/empathy-debug.h: Cleanup licences and copyrights, Modules with 100% collabora code are now relicenced to LGPL. * doc/libempathy-gtk/tmpl/empathy-contact-list-store.sgml: Updated. svn path=/trunk/; revision=392
* To know if an account is connected, useXavier Claessens2007-10-211-36/+21
| | | | | | | | | | | | | | | | | | 2007-10-21 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-account-chooser.c: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/empathy-accounts-dialog.c: To know if an account is connected, use mission_control_get_connection_status() instead of mission_control_get_connection(). Update account chooser if an account's status changes or if it get removed. Move account chooser filter func for add-contact's window from EmpathyContactWidget to EmpathyContactDialogs. svn path=/trunk/; revision=384
* Use g_timeout_add_seconds when appropriated to avoid weaking the processXavier Claessens2007-10-131-5/+5
| | | | | | | | | | | | | | | | | | 2007-10-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-presence-chooser.c: * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-chat.c: * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-chat-window.c: * libempathy/empathy-idle.c: * tests/contact-manager.c: Use g_timeout_add_seconds when appropriated to avoid weaking the process too much. svn path=/trunk/; revision=370
* More flexible API for EmpathyContactWidget, we now have flags to setXavier Claessens2007-10-101-35/+42
| | | | | | | | | | | | | | | | | | 2007-10-09 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-dialogs.h: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/empathy-chat-window.c: * megaphone/src/megaphone-applet.c: More flexible API for EmpathyContactWidget, we now have flags to set editable each fields. Implement personal information menu item in main window. svn path=/trunk/; revision=365
* Makes avatar looks better in information and edit dialogs.Xavier Claessens2007-10-091-6/+6
| | | | | | | | | | | | | 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 themXavier Claessens2007-10-091-18/+46
| | | | | | | | | | | | | | | | | | | | | 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
* Completely reworked ContactList API. Fixes bug #471611, bug #467280, bug ↵Xavier Claessens2007-08-311-48/+66
| | | | | | #459540 and bug #462907. svn path=/trunk/; revision=280
* Salut's protocol name is going to change to local-xmpp. Fixes bug #469638Xavier Claessens2007-08-251-3/+2
| | | | | | | | | | | | | | 2007-08-24 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-accounts-dialog.c: * libempathy/empathy-tp-contact-list.c: * data/salut.profile: Salut's protocol name is going to change to local-xmpp. Fixes bug #469638 (Sjoerd Simons) svn path=/trunk/; revision=270
* Do not show salut accounts in the add contact dialog. Rework a bitXavier Claessens2007-07-261-28/+94
| | | | | | | | | | | | | | | | | | | 2007-07-26 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-account-chooser.c: * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy-gtk/empathy-account-chooser.h: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-chatrooms-window.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/empathy-log-window.c: * doc/*: Do not show salut accounts in the add contact dialog. Rework a bit EmpathyContactWidget. Fixes bug #459100 (Guillaume Desmottes, Xavier Claessens). svn path=/trunk/; revision=197
* Remove unused nickname entry and use a GtkTable for room information. MoreXavier Claessens2007-07-131-0/+3
| | | | | | | | | | | | | | | | | | | | | 2007-07-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy-gtk/empathy-new-chatroom-dialog.glade: Remove unused nickname entry and use a GtkTable for room information. More work is needed here. * libempathy-gtk/empathy-contact-widget.glade: Change padding to 6. * libempathy-gtk/empathy-contact-dialogs.c: Set a window title. * libempathy-gtk/empathy-contact-widget.c: Fix alignment of widgets. * libempathy/empathy-tp-contact-list.c: Add more debug msg for avatar handling. svn path=/trunk/; revision=184
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-27/+27
| | | | | | | | | | | | | 2007-06-22 Xavier Claessens <xclaesse@gmail.com> * libempathy/*.[ch]: * libempathy-gtk/*.[ch]: * src/*.[ch]: Rename all filenames starting with "gossip" by "empathy", change namespace of all gossip_*() functions to empathy_*(). Fixes bug #444490 (Mario Danic, Xavier Claessens). svn path=/trunk/; revision=170
* New window for viewing logs.Xavier Claessens2007-06-141-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/Makefile.am: * libempathy-gtk/gossip-log-window.glade: * libempathy-gtk/gossip-log-window.h: * libempathy-gtk/gossip-log-window.c: * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: * libempathy-gtk/gossip-chat.c: * libempathy-gtk/empathy-main-window.c: New window for viewing logs. * libempathy-gtk/gossip-chat-view.c: Do not use smooth scroll when resizing the view. * libempathy-gtk/gossip-contact-list-store.c: Do not set active contacts when creating the store, and when contact groups changed. * src/empathy-main.c: Fix warning when using command-line options. * libempathy/empathy-tp-contact-list.c: Check if we have an aliasing iface before setting the alias of a contact. * TODO: Updated. * data/jabber.profile: Ignore ssl errors by default. This is a security vulnerability but we don't really have the choice. * libempathy/gossip-contact.h: * libempathy/gossip-contact.c: Add a "is-user" property to know if it's our self contact. * libempathy/gossip-message.h: * libempathy/gossip-message.c: Add a "receiver" property like that we have our self contact for nick highlight. svn path=/trunk/; revision=148
* Fix a warning.Xavier Claessens2007-06-091-2/+4
| | | | | | | | | 2007-06-09 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-widget.c: Fix a warning. svn path=/trunk/; revision=135
* We can now add a new contact. EmpathyContactWidget can change the contactXavier Claessens2007-06-091-85/+289
| | | | | | | | | | | | | | | | | | 2007-06-09 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-contact-dialogs.h: * libempathy-gtk/empathy-contact-widget.c: We can now add a new contact. EmpathyContactWidget can change the contact it's displaying on-the-fly, like that we can display info when typing the contact ID we want to add to our contact list. * libempathy/empathy-tp-contact-list.c: Fix a refcount bug. svn path=/trunk/; revision=134
* Do not save when closing the dialog. Update information in real-time andXavier Claessens2007-06-091-117/+29
| | | | | | | | | | | | | | | | | | 2007-06-08 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: Do not save when closing the dialog. Update information in real-time and just provides a "Close" button. That's more GNOME spirite. * libempathy/empathy-tp-contact-list.c: * libempathy/gossip-contact.h: * libempathy/gossip-contact.c: New methods: gossip_contact_add/remove_group(). This fixes leaks when a contact is added/removed from a group. svn path=/trunk/; revision=132
* Implement editing and viewing contact information with right click on theXavier Claessens2007-06-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | 2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-dialogs.glade: * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-contact-dialogs.h: * libempathy-gtk/gossip-ui-utils.c: * libempathy-gtk/empathy-subscription-dialog.glade: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/gossip-ui-utils.h: * libempathy-gtk/gossip-contact-list-view.c: * libempathy-gtk/empathy-subscription-dialog.c: * libempathy-gtk/Makefile.am: * libempathy-gtk/empathy-subscription-dialog.h: Implement editing and viewing contact information with right click on the roster. svn path=/trunk/; revision=128
* EmpatchContactWidget has 2 modes: editable or not.Xavier Claessens2007-06-071-14/+53
| | | | | | | | | | | | | 2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/empathy-subscription-dialog.c: EmpatchContactWidget has 2 modes: editable or not. svn path=/trunk/; revision=127
* New dialog: EmpathySubscriptionDialog. It uses EmpathyContactWidget toXavier Claessens2007-06-071-0/+14
| | | | | | | | | | | | | | | | | | | | 2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-subscription-dialog.glade: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/gossip-contact-list-view.c: * libempathy-gtk/empathy-subscription-dialog.c: * libempathy-gtk/Makefile.am: * libempathy-gtk/empathy-subscription-dialog.h: * libempathy/empathy-tp-contact-list.c: New dialog: EmpathySubscriptionDialog. It uses EmpathyContactWidget to display information about the contact who wants to get your presence. This dialog appears when clicking on the status icon when it blinks. You can also remove contacts when right-click on it in the roster. svn path=/trunk/; revision=125
* New widget: EmpathyContactWidget. It displays information about a contact,Xavier Claessens2007-06-061-0/+637
2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/Makefile.am: New widget: EmpathyContactWidget. It displays information about a contact, it can be used in any kind of dialog which needs to display contact information like alias, groups, avatar, etc. If the contact is the selfcontact information are editable. * libempathy/empathy-tp-contact-list.c: Do not take care of subscription changes. * libempathy/gossip-contact.c: Use gossip_presence_state_get_default_status (MC_PRESENCE_OFFLINE) when there is no presence. svn path=/trunk/; revision=124