aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-menu.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Go back to libgee 0.6.x"Guillaume Desmottes2013-02-191-2/+2
| | | | | | This reverts commit 670aec4ba8b16fbf35afdf65b65c1904872286dc. https://bugzilla.gnome.org/show_bug.cgi?id=680152
* individual-menu: fix another GeeIterator leakPavel Vasin2012-10-081-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=685652
* individual_menu_add_personas(): restore the persona.individual after ↵Guillaume Desmottes2012-09-281-0/+5
| | | | | | creating single_individual https://bugzilla.gnome.org/show_bug.cgi?id=684971
* include telepathy-glib.hGuillaume Desmottes2012-09-171-1/+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.
* individual-menu: fix GeeIterator leakGuillaume Desmottes2012-09-131-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683864
* use tp_account_manager_dup_valid_accounts()Guillaume Desmottes2012-09-111-2/+2
| | | | | | tp_account_manager_get_valid_accounts() has been deprecated. Fix an accounts list leak in empathy-sanity-cleaning.
* Go back to libgee 0.6.xGuillaume Desmottes2012-07-231-2/+2
| | | | | | | | | | | | | | It's not clear if 0.8 will be released for GNOME 3.6 so the release team prefers to stick with 0.6 for now. And yeah, gee-1.0 is the 0.6.x series and gee-0.8 the 0.7.x, nice work guys... Revert "gee_iterator_first is no more in libgee 0.8" This reverts commit 24d30e15b34b654eff96f4a358801290ebe09ec0. Revert "libempathy: Port empathy to libgee 0.8." This reverts commit d563fa078b2a13b3c06b1de626105e0510568e57.
* gee_iterator_first is no more in libgee 0.8Alban Browaeys2012-07-191-2/+2
| | | | | | | With folks depending upon libgee-0.8 brealage in empathy arise, that is gee_iterator_first is not available. https://bugzilla.gnome.org/show_bug.cgi?id=680152
* individual-menu: use the individual version of the add dialogGuillaume Desmottes2012-07-111-6/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679111
* factor out empathy_display_individual_info()Guillaume Desmottes2012-07-111-127/+1
| | | | | | It didn't want to put more misc stuffs to ui-utils so used this file. https://bugzilla.gnome.org/show_bug.cgi?id=679111
* don't display 'Send file' menu item in empathy-chatGuillaume Desmottes2012-06-261-7/+13
| | | | | | We only support requesting FT channel in the same process as the FT handler. https://bugzilla.gnome.org/show_bug.cgi?id=678331
* move 'Remove' item code to individual-menuGuillaume Desmottes2012-06-081-0/+205
| | | | | | | There is no reason to not have it implemented like all the other menu items. Furtermore, having the logic in individual-menu.c will make it easier to use from the new roster view.
* remove useless empathy-contact-list.h includesGuillaume Desmottes2012-04-101-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673821
* implement empathy_tp_chat_add as a method on TpChatGuillaume Desmottes2012-04-101-2/+1
| | | | | | We want to get rid of the EmpathyContactList interface. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* individual-menu: only use 'gnome-contacts' with individuals from FolksGuillaume Desmottes2012-03-131-1/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671884
* start_gnome_contacts: make sure individual is validGuillaume Desmottes2012-02-101-0/+2
|
* fix individual_info_menu_item_activate_cb signatureGuillaume Desmottes2012-02-101-1/+2
|
* individual-menu: remove link-contacts-activated signalGuillaume Desmottes2012-02-081-14/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669482
* Remove 'Link Contact' menu itemGuillaume Desmottes2012-02-081-51/+1
| | | | | | | We want to use gnome-contacts and the 'Informations' menu item already starts it. https://bugzilla.gnome.org/show_bug.cgi?id=669482
* Try installing gnome-contacts using PackageKitGuillaume Desmottes2012-02-081-5/+47
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669578
* factor out start_gnome_contacts()Guillaume Desmottes2012-02-081-1/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669578
* Factor out show_gnome_contacts_error_dialog()Guillaume Desmottes2012-02-081-14/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669578
* Use gnome-contacts instead of the information dialogGuillaume Desmottes2012-02-071-2/+56
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669559
* individual_menu_add_personas: remove useless variableGuillaume Desmottes2012-02-061-1/+0
|
* Stop passing an EmpathyContact to menu_item_new() fonctionsGuillaume Desmottes2011-12-141-146/+60
| | | | | | Best to always use an individual so we don't have 2 code paths to maintain. https://bugzilla.gnome.org/show_bug.cgi?id=666163
* individual-menu: export only the methods we needGuillaume Desmottes2011-12-141-11/+40
| | | | | | | No need to export everything. I added prototypes in the C file to not have to move everything upside down. https://bugzilla.gnome.org/show_bug.cgi?id=666163
* Show a contact as blocked if *all* is personas are blockedGuillaume Desmottes2011-12-141-4/+7
| | | | | | It's clearer that way. https://bugzilla.gnome.org/show_bug.cgi?id=665038
* individual_menu_add_personas: add the block menu item, if neededGuillaume Desmottes2011-12-141-0/+22
| | | | | | | | | | | | | This allow user to select the personas he wants to block. Note that I didn't pass an EmpathyContact as second argument to empathy_individiual_block_menu_item_new() as we currently do with most item_new() methods. Instead I just craft a new individual containing only the persona we care about. This approach is much cleaner as we don't have to deal with 2 different code paths. I filed bug #666163 to do the same with the existing functions. https://bugzilla.gnome.org/show_bug.cgi?id=665038
* add EMPATHY_INDIVIDUAL_FEATURE_BLOCKGuillaume Desmottes2011-12-141-0/+215
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=665038
* individual-menu: allow priv->store to be NULLGuillaume Desmottes2011-12-141-2/+3
| | | | | | | We already checks if it's a IndividualStoreChannel before using it so that's safe. https://bugzilla.gnome.org/show_bug.cgi?id=665038
* add missing empathy-contact-list.h includeGuillaume Desmottes2011-11-281-0/+1
| | | | | | | | For some reason, gcc starts complaining about this as soon as I remove EmpathyContactListFlags from empathy-contact-list.h ?! If you have an explanation for this please let me know... https://bugzilla.gnome.org/show_bug.cgi?id=663328
* add EMPATHY_INDIVIDUAL_FEATURE_ADD_CONTACTGuillaume Desmottes2011-11-241-1/+139
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663387
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-1/+1
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* Merge remote-tracking branch 'pochu/error-dialog'Danielle Madeley2011-10-141-1/+2
|\
| * empathy_dispatcher_chat_with_contact_id(): add optional cbEmilio Pozuelo Monfort2011-09-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | Conflicts: libempathy-gtk/empathy-individual-menu.c libempathy-gtk/empathy-new-message-dialog.c libempathy/empathy-dispatcher.c libempathy/empathy-dispatcher.h src/empathy-chat-manager.c src/empathy-chat-window.c
* | Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-281-1/+1
| | | | | | | | No more ugly marshallers \o/
* | Use always-writeable and writeable-properties for alias and groupsRaul Gutierrez Segales2011-09-191-2/+3
|/ | | | | | | | Folks is in the way of deprecating the folks_persona_store_get_can_{alias,group}_personas methods in favour of directly checking alias and groups properties via folks_persona_store_get_always_writeable_properties and folks_persona_get_writeable_properties.
* Allow to call phone number of contactsGuillaume Desmottes2011-08-291-0/+207
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=650112
* Move the 'Show previous conversation' menu entryGuillaume Desmottes2011-08-261-8/+8
| | | | It used to be right in the middle of actions on the contact.
* Don't assume that all TpfPersonas contain valid TpContactsTravis Reitter2011-08-221-12/+22
| | | | | | | Helps: bgo#653599 - Empathy shouldn't assume all TpfPersonas contain a valid TpContact Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Only follow available cameras if the contact can do Video callsEmilio Pozuelo Monfort2011-07-121-4/+9
|
* Bind 'Video call' menu items to available camerasEmilio Pozuelo Monfort2011-07-121-0/+7
|
* Don't require EmpathyContacts to start a callEmilio Pozuelo Monfort2011-06-091-2/+6
| | | | | | | | Conflicts: libempathy-gtk/empathy-contact-menu.c libempathy-gtk/empathy-individual-menu.c libempathy-gtk/empathy-new-call-dialog.c
* Move empathy_call_* util functions to libempathy-gtkEmilio Pozuelo Monfort2011-06-091-0/+1
| | | | | | | | Since we want to pop up a dialog when starting a call fails. Conflicts: libempathy/empathy-utils.c
* Adapt to API break in folks_individual_get_personas.Travis Reitter2011-06-071-36/+57
| | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* Properly convert timestamps received from X11 (#650015)Guillaume Desmottes2011-05-121-4/+4
| | | | | X11 timestamps are guint32 while Telepathy uses gint64 timestamps. We should always use tp_user_action_time_from_x11() to do the conversion.
* Move the code ensuring a requested sms channel to empathy-request-utilChandni Verma2011-05-051-1/+1
| | | | as empathy-dispatcher has been deleted in master
* Add SMS entry to empathy-individual-menuDanielle Madeley2011-05-051-0/+65
|
* rename empathy-dispatcher to empathy-request-utilGuillaume Desmottes2011-03-171-2/+2
| | | | | We don't have EmpathyDispatcher any more so this file just contains some utility functions now.
* Adjust for Folks Favouritable -> FavouriteDetails renameTravis Reitter2011-03-151-2/+4
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Bug 637151 — Hide the user Individual from the contact listPhilip Withnall2011-02-181-4/+4
| | | | | | | | | | Generalise the mechanism used to determine whether a persona is to be displayed by Empathy to also take into account whether the persona is the user and, if so, whether they're in the contact list. This bumps the libfolks dependency to 0.3.5. Closes: bgo#637151
* Move a couple of call-related functions to empathy-utils.hEmilio Pozuelo Monfort2011-02-101-5/+4
| | | | | Since the rest of the call stuff will only be compiled for empathy-av so we don't link every binary against farsight.
* EmpathyCallFactory -> EmpathyStreamedMediaFactoryEmilio Pozuelo Monfort2011-02-101-3/+3
|
* individual-menu: ensure that the contact stays alive while the activate ↵Guillaume Desmottes2011-02-031-2/+4
| | | | signal is connected (#641119)
* Bug 637097 — Port to latest folks API changesPhilip Withnall2010-12-141-2/+2
| | | | | 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
* Use Folks to check if a TpConnection can alias and group personas.Travis Reitter2010-10-161-5/+2
| | | | Helps bgo#625969.
* Always show icons for meta-contacts in context menuVincent Untz2010-10-041-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=631098
* Change “Link…” to “Link Contacts…” in the individual menuPhilip Withnall2010-09-061-1/+1
| | | | | This makes it clearer what the menu entry does, making linking more discoverable. Closes: bgo#628377
* Port EmpathyIndividualMenu to use empathy_contact_dup_best_for_action()Philip Withnall2010-09-031-89/+36
| | | | | This improves the menu code so that it no longer prefers personas with a higher presence, but which can't do the given action. Helps: bgo#628338
* Remove the “Add Contact…” menu entry from EmpathyIndividualMenuPhilip Withnall2010-09-021-91/+0
| | | | It's never used, but is a CPU drain and can sometimes appear uninvited.
* Add an EmpathyIndividualMenu::link-contacts-activated signalPhilip Withnall2010-09-021-9/+27
| | | | | This is emitted each time the “Link Contacts…” menu entry is activated. Helps: bgo#628133
* Make EmpathyIndividualMenu a proper GObject, derived from GtkMenuPhilip Withnall2010-09-021-13/+142
|
* Choose an best_contact even if it isn't sensitive in the EmpathyIndividualMenuPhilip Withnall2010-08-301-1/+1
| | | | This fixes the "Send File" entry not working.
* Bug 628121 — Should pick an online persona when starting a chatPhilip Withnall2010-08-301-13/+35
| | | | | | Change the EmpathyIndividualMenu and EmpathyIndividualView code for starting chats with Individuals to choose the most available Persona to chat to, rather than just the first available one. Helps: bgo#628121
* Bug 628062 — Add translator commentsPhilip Withnall2010-08-271-0/+6
|
* Desensitise the "Link…" menu entry for untrusted IndividualsPhilip Withnall2010-08-271-0/+5
| | | | | | | This prevents the linking dialogue from being opened for local-xmpp contacts, who cannot be trusted. This bumps Empathy's dependency on libfolks to 0.1.15. Helps: bgo#627930
* Add EmpathyIndividualEditDialogPhilip Withnall2010-08-201-6/+2
| | | | | This replaces the edit dialogue from empathy-contact-dialogs.c, and is now used from the EmpathyIndividualMenu. Closes: bgo#626544
* Support previous conversations in the Personas menu.Travis Reitter2010-08-161-24/+31
|
* Support chat room invites in the Personas menu.Travis Reitter2010-08-161-41/+66
|
* Support desktop sharing in the Personas menu.Travis Reitter2010-08-161-6/+18
|
* Also support file transfer in the Personas menu.Travis Reitter2010-08-161-6/+18
|
* Support calls in the Personas menu.Travis Reitter2010-08-161-12/+36
|
* Add Personas entries to the contact menu.Travis Reitter2010-08-161-6/+139
| | | | | This lets us specifically select which contact to chat and perform other actions with.
* Make the Share my Desktop item map to the first capable contact.Travis Reitter2010-08-161-19/+5
|
* Make the Invite to Chat Room list all possible rooms for all subcontacts.Travis Reitter2010-08-161-16/+99
|
* Make Send File context menu choose the first capable contact.Travis Reitter2010-08-161-18/+6
|
* Make the individual menu items map to the first capable contact.Philip Withnall2010-08-161-42/+79
| | | | Previously, they assumed every Individual contained exactly one TpContact.
* Show information for all an individual's personas in the information dialoguePhilip Withnall2010-08-161-6/+2
|
* Fix linking menu entry mnemonicPhilip Withnall2010-08-121-1/+1
| | | | Closes: bgo#626130
* Add EmpathyLinkingDialogPhilip Withnall2010-08-121-1/+38
| | | | | A dialogue which uses EmpathyIndividualLinker to allow linking of Individuals, accessible by a "Link" entry in the contacts' context menu.
* re-implement empathy_dispatcher_chat_with_contact using ↵Guillaume Desmottes2010-08-111-2/+1
| | | | | | empathy_dispatcher_chat_with_contact_id We don't use the callback arg anyway.
* empathy_call_factory_new_call_with_streams: remove callback argGuillaume Desmottes2010-08-111-2/+2
| | | | If you want to handle the channel yourself then use TpAccountChannelRequest.
* empathy-individual-menu: no need to get the call factoryGuillaume Desmottes2010-08-091-4/+0
|
* Merge remote branch 'pwith/folks-integ-rebase1-fixes-rebase1' into folks-fixesTravis Reitter2010-07-221-4/+2
|
* Cut obsolete comment.Travis Reitter2010-07-211-1/+0
|
* Simplify validation.Travis Reitter2010-07-211-1/+1
|
* Take advantage of tp_clear_object().Travis Reitter2010-07-211-2/+1
|
* Don't leak references to the contacts returned from ↵Travis Reitter2010-07-211-0/+6
| | | | empathy_contact_dup_from_folks_individual().
* Add 'dup' to the names of empathy_contact_from_folks_individual() and ↵Travis Reitter2010-07-211-17/+17
| | | | folks_individual_from_empathy_contact() to make it clear that the return value has been referenced.
* Remove unused EmpathyIndividualManager instances from the individual menuPhilip Withnall2010-07-211-9/+0
|
* Take advantage of favourites being a hard requirement and add stubs for ↵Travis Reitter2010-07-211-4/+0
| | | | adding/removing individuals as favourites.
* Support contact addingTravis Reitter2010-07-211-7/+3
|
* Use the new FolksFavourite interface for favourites supportPhilip Withnall2010-07-211-6/+3
|
* Avoid potential segfaults if there are no contacts on the first pass.Travis Reitter2010-07-211-18/+5
|
* Re-implement the context menu for IndividualsTravis Reitter2010-07-211-0/+769