aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
Commit message (Collapse)AuthorAgeFilesLines
* tpaw-utils: move EMP_STR_EMPTY to tp-aw and rename itMarco Barisione2013-08-201-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699492
* string-parser: move everything except for _match_smiley(), to tp-awMarco Barisione2013-08-201-2/+2
| | | | | | | empathy_string_match_smiley() depends on other files and it's not needed by tp-account-widgets, so we can leave it in libempathy-gtk. https://bugzilla.gnome.org/show_bug.cgi?id=699492
* builder: move empathy_builder_* from Empathy to tp-account-widgetsMarco Barisione2013-08-201-1/+2
| | | | | | | This commit also changes the licence of the moved code from GPL to LGPL. See GOSSIP-RELICENSING.txt for details. https://bugzilla.gnome.org/show_bug.cgi?id=699492
* Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-5/+4
| | | | | | | | | | | | Sort by: • "config.h" • API declarations, if any • public libraries • internal headers, alphabetically sorted (mostly) http://telepathy.freedesktop.org/wiki/Style#A.23includes https://bugzilla.gnome.org/show_bug.cgi?id=697076
* Use a flat namespace for internal includesEmanuele Aina2013-04-011-3/+3
| | | | | | | | Directly add the libempathy, libempathy-gtk and extensions directories to the include search path. This decouples header inclusions from their location and helps when reorganizing the source files layout. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* Use double quotes for all internal headersEmanuele Aina2013-04-011-3/+3
| | | | | | | This makes a bit more obvious which headers come from public libraries and which ones come from uninstalled utility libraries. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* Drop unused/redundant header inclusionsEmanuele Aina2013-03-281-11/+0
| | | | | | | With the help of the script posted at http://stackoverflow.com/a/7135530 and some manual fixes, drop the unused or redundant #include directives. https://bugzilla.gnome.org/show_bug.cgi?id=696718
* Consistently use `#include "config.h"` everywhereEmanuele Aina2013-03-281-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=696718
* include telepathy-glib.hGuillaume Desmottes2012-09-171-3/+1
| | | | | tp-glib 1.0 will enforce to only include telepathy-glib.h so best doing it to reduce the delta with the future stable branch.
* EmpathyContactWidget: remove all remaining flagsXavier Claessens2012-07-301-108/+50
| | | | | | It can now be used only in one scenario: add a new contact dialog https://bugzilla.gnome.org/show_bug.cgi?id=680449
* EmpathyContactWidget: remove unused flags and dead codeXavier Claessens2012-07-301-954/+10
| | | | | | | This widget is used only to add a new contact, all its flexibility isn't needed anymore. https://bugzilla.gnome.org/show_bug.cgi?id=680449
* EmpathyCalendarButton: Make it work without gtk_widget_show_allXavier Claessens2012-07-301-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680449
* EmpathyContactWidget: Stop using EmpathyAvatarChooserXavier Claessens2012-07-301-108/+1
| | | | | | | | | | Changing avatar is only used for editing user's information, and it will soon be replaced by a dedicated widget. This is done to make easier to change EmpathyAvatarChooser's API before introducing the new widget. https://bugzilla.gnome.org/show_bug.cgi?id=680449
* contact-widget: remove colons and dim labels, move avatar to LHSDanielle Madeley2012-05-291-62/+54
| | | | | | Make widget look like mockup. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=672043
* contact-widget: use empathy_client_factory_dup_contact_by_id_async()Guillaume Desmottes2012-05-151-11/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675597
* turn EmpathyContactWidget to be a proper GtkWidgetGuillaume Desmottes2012-05-151-406/+402
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675803
* contact-widget: stop using tp_connection_get_self_handle()Guillaume Desmottes2012-05-031-4/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* remove useless empathy-contact-list.h includesGuillaume Desmottes2012-04-101-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673821
* contact_widget_contact_update: check if widget_avatar is a chooserGuillaume Desmottes2012-03-261-2/+5
| | | | | | | information->widget_avatar can actually be a EmpathyAvatarImage when displaying a read only widget. https://bugzilla.gnome.org/show_bug.cgi?id=672828
* Update avatar chooser's account if EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT is ↵Guillaume Desmottes2012-03-261-0/+3
| | | | | | | | not set We can't rely on the account chooser to do it so we have to do it manually. https://bugzilla.gnome.org/show_bug.cgi?id=672633
* contact_widget_contact_update: change 'if else' block to a 'if' block inside ↵Guillaume Desmottes2012-03-261-8/+13
| | | | | | | | the 'else' No semantic change. https://bugzilla.gnome.org/show_bug.cgi?id=672633
* contact-widget: right align contact info fieldsGuillaume Desmottes2012-03-161-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672037
* contact-widget: don't display the account when editing our infoGuillaume Desmottes2012-03-161-5/+15
| | | | | | | All these flags are making this code pretty messy. Hopefully we'll move and clean it when implementing the new design next cycle. https://bugzilla.gnome.org/show_bug.cgi?id=672036
* Don't display parameters if Parameters_Exact is not SetGuillaume Desmottes2012-03-161-2/+6
| | | | | | | There is no point cluttering the UI with it as we don't allow user to choose which param he wants to set. https://bugzilla.gnome.org/show_bug.cgi?id=671983
* contact-widget: use EmpathyCalendarButtonGuillaume Desmottes2012-03-161-24/+17
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671981
* contact-widget: use 'Personal Details' when editing our own infoGuillaume Desmottes2012-02-081-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669655
* contact-widget: stop storing hbox_contactGuillaume Desmottes2012-01-231-2/+0
| | | | | | It's not used. https://bugzilla.gnome.org/show_bug.cgi?id=666714
* Don't show the presence twiceDanielle Madeley2011-12-221-1/+3
|
* remove EMPATHY_CONTACT_WIDGET_EDIT_FAVOURITEGuillaume Desmottes2011-12-141-69/+0
| | | | | | | It's not used any more and this code was the last one using the contact manager. https://bugzilla.gnome.org/show_bug.cgi?id=660547
* use gtk_box_new() instead of gtk_[h,v]box_new()Guillaume Desmottes2011-11-211-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662903
* factor out empathy_contact_info_create_channel_list_label()Guillaume Desmottes2011-11-161-81/+33
| | | | | | | Move it to empathy-contactinfo-utils so we'll be able to re-use it in empathy-individual-widget as well. https://bugzilla.gnome.org/show_bug.cgi?id=663763
* contact-widget: port to GtkGridGuillaume Desmottes2011-11-011-46/+52
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662903
* Port contact-widget to contactinfo-utilsDanielle Madeley2011-10-211-128/+28
| | | | | This is a reworking, rather than rebasing of the original patch because of large changes in the codebase.
* contact-widget: left align status labelGuillaume Desmottes2011-09-261-0/+1
| | | | | | It's already done that way in individual-widget. https://bugzilla.gnome.org/show_bug.cgi?id=659816
* contact-widget: use the day-selected sig to update birthdayGuillaume Desmottes2011-08-291-1/+1
| | | | | Having to double click on a day to update it was really confusing and most people (including me!) were just thinking that was not working.
* contact-widget: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-10/+6
| | | | | | TP_CONNECTION_FEATURE_CONTACT_INFO https://bugzilla.gnome.org/show_bug.cgi?id=656831
* ContactWidget: expose IRC presence informationWill Thompson2011-05-161-0/+14
| | | | | This is basically just a temporary hack until Idle implements SimplePresence.
* ContactWidget: support IRC server and host infoWill Thompson2011-05-161-0/+14
|
* ContactWidget: support Idle's x-idle-time field.Will Thompson2011-05-161-0/+19
|
* ContactWidget: generalize linkifying valuesWill Thompson2011-05-161-11/+29
| | | | | | | Many of the new fields exposed by Idle need more processing than just bunging the first string into a label. Let's start by generalizing linkifying the first string. I speculatively allow the format functions to fail.
* ContactWidget: show IRC channel list.Will Thompson2011-05-161-0/+74
| | | | | | | | | | Very recent versions of Idle expose the list of channels provided in WHOIS replies. The data is provided as a bunch of x-irc-channel fields with a single value, namely the name of the channel. Here we expose that data to the user as a comma-separated list of links; clicking a link ensures that channel. https://bugzilla.gnome.org/show_bug.cgi?id=592795
* fix unused-but-set-variable warningsMarc Plano-Lesay2011-05-051-12/+2
|
* Port all timestamps from time_t to gint64 (#648188)Guillaume Desmottes2011-04-191-4/+2
|
* Adjust for Folks Groupable -> GroupDetails renameTravis Reitter2011-03-151-3/+3
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Adjust for Folks Favouritable -> FavouriteDetails renameTravis Reitter2011-03-151-5/+6
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Update our local fields having Overwritten_By_Nickname when updating our ↵Guillaume Desmottes2011-03-101-0/+43
| | | | nickname (#644298)
* don't update Alias.Nickname if not neededGuillaume Desmottes2011-03-101-2/+9
|
* inline set_alias_on_account()Guillaume Desmottes2011-03-101-10/+3
|
* contact-widget: don't allow edit fields having the Overwritten_By_Nickname ↵Guillaume Desmottes2011-03-091-0/+13
| | | | flag (#644296)
* contact-widget: only call SetContactInfo() is details changed (#644295)Guillaume Desmottes2011-03-091-7/+32
|
* use champlain_marker_layer_new()Guillaume Desmottes2011-02-211-1/+1
|
* Port to champlain 0.10 (#642010)Guillaume Desmottes2011-02-211-8/+7
|
* contact-widget: use empathy_context_menu_new()Guillaume Desmottes2011-02-161-3/+1
|
* Add calendar to the contact widget in order to simplify birthday selection ↵Vitaly Minko2011-01-241-9/+63
| | | | (#631101).
* Bug 637097 — Port to latest folks API changesPhilip Withnall2010-12-141-5/+5
| | | | | Catch up with three interface renamings which have happened in folks master. This bumps Empathy's folks dependency to 0.3.3. Closes: bgo#637097
* Add fields which are supported but not in the vCardGuillaume Desmottes2010-11-031-0/+58
|
* split filling of details_to_set and adding the widgetsGuillaume Desmottes2010-11-031-13/+20
| | | | This will allow us to add supported fields which are not set in the vCard.
* contact_widget_details_update_edit: iterate over the fields returned by ↵Guillaume Desmottes2010-11-031-62/+11
| | | | tp_contact_get_contact_info()
* log an error if SetContactInfo() failsGuillaume Desmottes2010-11-031-1/+19
|
* field_value_is_empty: check that all the values are emptyGuillaume Desmottes2010-11-031-1/+10
|
* field_spec_match_field: check that parameters are matching as well (#630421)Guillaume Desmottes2010-11-031-1/+15
|
* factor out field_spec_match_field()Guillaume Desmottes2010-11-031-1/+8
|
* Port Empathy to use FolksAliasable and FolksGroupablePhilip Withnall2010-10-051-2/+2
| | | | | FolksAliasable is the new name for FolksAlias, and FolksGroupable is the new name for FolksGroups.
* remove EmpathyKludgeLabelGuillaume Desmottes2010-10-041-3/+1
| | | | It shouldn't be needed any more with GTK-3.
* fix typoGuillaume Desmottes2010-09-291-1/+1
|
* field_value_is_empty: if the first element is not NULL field is not emptyGuillaume Desmottes2010-09-291-1/+1
|
* factor out field_value_is_empty()Guillaume Desmottes2010-09-291-1/+10
|
* add debug outputGuillaume Desmottes2010-09-291-0/+3
|
* Add unsupported contact fields to details_to_set (#630427)Guillaume Desmottes2010-09-291-6/+17
| | | | This avoid to loss unsupported fields when closing the dialog.
* Use tp_contact_info_field_copy() instead of creating a new field if foundGuillaume Desmottes2010-09-291-6/+12
|
* contact_widget_details_update_edit: free the list returned by ↵Guillaume Desmottes2010-09-291-0/+1
| | | | tp_contact_get_contact_info()
* contact_widget_details_update_edit: no need to call ↵Guillaume Desmottes2010-09-291-2/+3
| | | | tp_contact_get_contact_info() each iteration
* contact-widget: unref the cancellable once we have cancelled the operation ↵Guillaume Desmottes2010-09-201-2/+1
| | | | | | | | (#629957) The comment was a lie, contact_widget_details_request_cb early returns when the operation has been cancelled so it wasn't unset. There is no point waiting any way so we can unref it right away.
* use tp_clear_object to unref the cancellableGuillaume Desmottes2010-09-201-2/+1
|
* remove markups around 'Location'Guillaume Desmottes2010-08-271-1/+5
|
* Split the group editing widgets out of EmpathyContactWidgetPhilip Withnall2010-08-201-289/+18
| | | | | They can be shared between EmpathyContactWidget and a new EmpathyIndividualWidget, once it's written.
* Use #ifdef instead of #if to avoid warnings of undefined symbolsPhilip Withnall2010-08-051-5/+5
|
* Re-enable setting of groups for newly-added contactsPhilip Withnall2010-07-221-11/+2
| | | | | | Changes to groups made while adding a contact need to be cached up until the contact's FolksPersona is set, when they can be flushed to the libfolks backend.
* Merge EmpathyContact:name and *_set_alias() to EmpathyContact:aliasPhilip Withnall2010-07-221-3/+3
| | | | The "name" API was a relic of Gossip.
* Remove folks_individual_dup_from_empathy_contact()Philip Withnall2010-07-221-33/+15
| | | | | As EmpathyContact is now a wrapper around FolksPersona, we can mutate the persona instead of acquiring an individual and mutating that instead.
* Merge remote branch 'pwith/folks-integ-rebase1-fixes-rebase1' into folks-fixesTravis Reitter2010-07-221-2/+2
|
* Add 'dup' to the names of empathy_contact_from_folks_individual() and ↵Travis Reitter2010-07-211-7/+7
| | | | folks_individual_from_empathy_contact() to make it clear that the return value has been referenced.
* Clarify that toggling a group in the EmpathyContactWidget actually toggles it.Travis Reitter2010-07-211-4/+5
|
* Use explicit boolean expressions for if-conditionals, according to Telepathy ↵Travis Reitter2010-07-211-6/+6
| | | | style.
* Fix setting favourites from the contact editing dialoguePhilip Withnall2010-07-211-17/+16
|
* Allow changing of individuals' aliasesPhilip Withnall2010-07-211-1/+8
|
* Re-enable changing individuals' groupsPhilip Withnall2010-07-211-13/+15
| | | | | | This introduces a hacky function to return the individual for a given EmpathyContact, which should go away once we break the assumption that individuals are 1:1 with contacts.
* contact_widget_location_update: fix string leakGuillaume Desmottes2010-07-021-0/+1
|
* Now that we depend on the logger always enable favourite contact supportSjoerd Simons2010-06-201-8/+0
|
* Add a GtkSpinner to notify the RequestContactInfo progressXavier Claessens2010-06-151-0/+8
|
* Display contact vCard in information dialog, add basic vCard editor for self ↵Xavier Claessens2010-06-151-3/+390
| | | | | | contact Fixes bug #588922
* Move empathy_tp_contact_factory_set_alias() to EmpathyContactXavier Claessens2010-05-261-1/+1
|
* Port to new EmpathyTpContactFactory APIXavier Claessens2010-05-261-19/+5
|
* contact-widget: use empathy_account_chooser_get_accountGuillaume Desmottes2010-04-121-2/+1
|
* change empathy_avatar_chooser_set_connection to ↵Guillaume Desmottes2010-04-121-3/+7
| | | | | | | empathy_avatar_chooser_set_account This is a first step in having a more account centric Empathy. This will be used once we'll have Protocol objects to set avatar on offline accounts.
* contact-widget: use empathy_avatar_chooser_set_connectionGuillaume Desmottes2010-04-121-1/+1
|
* Use Account.Avatar to set our own avatar (#613043)Guillaume Desmottes2010-04-061-2/+30
|
* Use Account.Nickname to set our own alias (#613044)Guillaume Desmottes2010-04-051-2/+36
|
* contact_widget_contact_update: don't call ↵Guillaume Desmottes2010-03-151-0/+2
| | | | contact_widget_favourites_changed_cb if favorite support is disabled
* add 'favorite' checkbox to the edit dialogGuillaume Desmottes2010-03-151-5/+79
|
* Revert "Revert "Make links clickable in presence message and topics""Xavier Claessens2010-03-101-2/+10
| | | | This reverts commit efb42513359f4db545e3312e3c583d07c6306418.
* Revert "Make links clickable in presence message and topics"Xavier Claessens2010-03-081-10/+2
| | | | | | | | This reverts commit 00ab069a55f05f0203bf58f071fa7adc54b6e9ac. Conflicts: libempathy-gtk/empathy-contact-widget.c
* empathy_add_link_markup() is not NULL-safeXavier Claessens2010-03-051-2/+3
| | | | | Add a g_return_val_if_fail() to avoid crash, and avoid calling that func with NULL text.
* Also make links clickable in tooltipXavier Claessens2010-03-041-11/+4
| | | | It is not clickable, but still nice looking
* Make links clickable in presence message and topicsXavier Claessens2010-03-031-2/+16
| | | | Fixes bug #525576
* show map licenseGuillaume Desmottes2010-02-261-1/+1
|
* contact-widget: increase zoom on mapGuillaume Desmottes2010-02-261-1/+3
|
* contact-widget: display map even if contact only published his lat/lonGuillaume Desmottes2010-02-251-8/+19
| | | | | | | We used to hide the whole location vbox if no field was displayed in the location table (such as street, city, etc). But if contact only publishes it's lat and lon, we can at least display the map widget. (#611062)
* Fix leaked GtkMenuXavier Claessens2010-02-111-1/+2
| | | | | | | | | | GtkMenu is initially unowned, which means ref_count is 1 and floating flag is set. gtk_menu_popup temporarily adds a ref, that will be dropped when the menu is popped down. So once the menu is popped up, we call g_object_ref_sink() to clear the floating flag, and g_object_unref() to drop the initial ref. Only the ref from gtk_menu_popup stay, and the menu will be finalized when it is popped down. Fixes bug #609567
* Don't call SetAlias for subscription requests until the request has been ↵Danielle Madeley2010-02-081-3/+20
| | | | acked (#608975)
* Remove the "Contact" alignment from contat widgetXavier Claessens2010-01-131-3/+2
|
* Reorder functions to not declare them on topXavier Claessens2010-01-121-909/+864
|
* Add the protocol icon in EmpathyContactWidget. That's displayed for contact ↵Xavier Claessens2010-01-061-4/+22
| | | | list tooltip too.
* rename 'location' to 'loc' to fix shadow declarationGuillaume Desmottes2010-01-061-3/+3
|
* Remove Pango markup from translatable strings where possiblePhilip Withnall2010-01-061-1/+5
| | | | | Use GtkBuilder attributes on labels instead, and change one instance of code to automatically add markup to the translated string.
* Hide state image in contact widget until the presense state is notified. ↵Brian Pepple2009-12-021-0/+1
| | | | (#603545)
* Make location labels selectablePierre-Luc Beaudoin2009-11-121-0/+3
|
* Add missing location field in orderingPierre-Luc Beaudoin2009-11-121-0/+6
|
* Order location fieldsFrederic Peters2009-11-121-7/+21
|
* contact-widget: port to new tp-glib account APIJonny Lamb2009-10-241-3/+3
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* empathy-contact-widget.c: fix shadow declarationsGuillaume Desmottes2009-10-221-11/+11
|
* Fixed styleJonathan Tellier2009-08-061-2/+2
|
* Set selectable status informationalinrus2009-08-061-0/+4
|
* Wrap text in contact label status (#589846)Nicolò Chieffo2009-07-291-0/+4
|
* have EmpathyContactWidget set the account on the account chooserDavyd Madeley2009-07-151-0/+7
|
* Make EmpathyContactWidget use EmpathyKludgeLabelDavyd Madeley2009-07-071-1/+7
|
* Port libempathy-gtk to EmpathyAccountSjoerd Simons2009-07-011-3/+3
|
* Use libchamplain 0.3.3 new Gtk embed APIPierre-Luc Beaudoin2009-06-151-6/+6
|
* Fix ‘lat’, ‘lon’ may be used uninitialized in this functionPierre-Luc Beaudoin2009-05-291-1/+1
|
* Fix English label for Location's datePierre-Luc Beaudoin2009-05-281-1/+1
|
* Display relative time to userPierre-Luc Beaudoin2009-05-281-4/+9
| | | | | | | | The time of the geolocation update is displayed relatively to current time (1 min ago, 3 hours ago). The function just prints ("in the future") for debugging purpuses for time in the future.
* Simplifly the logic on when to display the locationPierre-Luc Beaudoin2009-05-281-55/+58
| | | | By verifying earlier on
* Use empathy_time_to_string_localPierre-Luc Beaudoin2009-05-281-14/+8
|
* Don't list timestamp in the location fields as it is already included in the ↵Pierre-Luc Beaudoin2009-05-281-0/+3
| | | | header
* Use tp_strdiff instead of strcmpPierre-Luc Beaudoin2009-05-281-24/+24
|
* Have better user labels for location valuesPierre-Luc Beaudoin2009-05-281-4/+65
| | | | And have them better placed (with labels on left not expand).
* Display user textual location even if it doesn't include a lat,lonPierre-Luc Beaudoin2009-05-281-12/+12
|
* Fix coding style issues found by make checkPierre-Luc Beaudoin2009-05-281-1/+1
|
* Make map visible!Pierre-Luc Beaudoin2009-05-281-0/+1
|
* Make buildable and visible if libchamplain not availablePierre-Luc Beaudoin2009-05-281-0/+2
|
* Update to use libchamplain 0.3's APIPierre-Luc Beaudoin2009-05-281-3/+4
|
* List geolocation information in TooltipPierre-Luc Beaudoin2009-05-281-11/+76
|
* Expect the timestamp to be a int64Pierre-Luc Beaudoin2009-05-281-17/+18
|
* Don't init vars with a functionPierre-Luc Beaudoin2009-05-281-1/+2
|
* Add marker on mapPierre-Luc Beaudoin2009-05-281-0/+10
|
* Display timestamp and locationPierre-Luc Beaudoin2009-05-281-29/+76
|
* 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