aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-chooser.c
Commit message (Collapse)AuthorAgeFilesLines
* Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-1/+1
| | | | | | | | | | | | 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-1/+1
| | | | | | | | 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-1/+1
| | | | | | | 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-5/+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
* include telepathy-glib.hGuillaume Desmottes2012-09-171-3/+0
| | | | | 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.
* 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.
* filter_result_callback_data_new: add some checksGuillaume Desmottes2012-01-161-0/+4
|
* coding style fixGuillaume Desmottes2011-11-011-2/+2
|
* empathy_account_chooser_set_account: select account later if not ready yetGuillaume Desmottes2011-10-281-1/+23
| | | | | | It's stupid to have to ask to any user of this widget to do this itself. https://bugzilla.gnome.org/show_bug.cgi?id=662604
* account-chooser: factor out select_account()Guillaume Desmottes2011-10-281-11/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662604
* refilter if the TpConnection of a TpAccount is changedGuillaume Desmottes2011-10-271-0/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* factor out update_account()Guillaume Desmottes2011-10-271-3/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* account-chooser: make sure that TP_ACCOUNT_FEATURE_CONNECTION and ↵Guillaume Desmottes2011-10-271-0/+10
| | | | | | | | TP_CONNECTION_FEATURE_CAPABILITIES are prepared Most filter will need those. https://bugzilla.gnome.org/show_bug.cgi?id=662609
* factor out empathy_account_chooser_refilter()Guillaume Desmottes2011-10-271-5/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* move pre-defined filter at the end of the filesGuillaume Desmottes2011-10-271-26/+28
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* account-chooser: replace finalize by disposeGuillaume Desmottes2011-10-271-5/+5
| | | | | | It just unref one object so dispose is the best place. https://bugzilla.gnome.org/show_bug.cgi?id=662609
* account-chooser: use tp_g_signal_connect_object()Guillaume Desmottes2011-10-271-12/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* account-chooser: use self->priv patternGuillaume Desmottes2011-10-271-74/+37
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* inline account_chooser_setup()Guillaume Desmottes2011-10-271-136/+129
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* move down empathy_account_chooser_class_init()Guillaume Desmottes2011-10-271-46/+36
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* account-chooser: port to new coding styleGuillaume Desmottes2011-10-271-674/+684
| | | | | | | | | | I wanted to clean the account chooser a bit but the old coding style makes me cry... It's good to do anyway, especially if we move this widget to a telepathy-gtk lib at some point. https://bugzilla.gnome.org/show_bug.cgi?id=662609
* Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-281-1/+1
| | | | No more ugly marshallers \o/
* Use tp_proxy_prepare_async instead of tp_account_manager_prepare_asyncGuillaume Desmottes2011-09-191-2/+2
|
* AccountChooser: don't return garbage from _set_accountWill Thompson2011-09-131-0/+1
| | | | | | | | | Previously, the 'set' field of the stack-allocated 'data' structure was not initialized. It's explicitly set to TRUE if the account is found, but never otherwise set; so if the account is not found, this function returned random garbage. Reviewed-by: Xavier Claessens <xclaesse@gmail.com>
* account-chooser: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-44/+11
| | | | | | | | | TP_CONNECTION_FEATURE_CAPABILITIES, Also simplify empathy_account_chooser_filter_supports_chatrooms in the process. https://bugzilla.gnome.org/show_bug.cgi?id=656831
* Add empathy_account_chooser_set_allEmilio Pozuelo Monfort2011-06-091-0/+24
|
* account_chooser_find_account_foreach: check the col typeEmilio Pozuelo Monfort2011-06-091-1/+8
| | | | As non ROW_ACCOUNT rows don't have an account.
* AccountChooser: add empathy_account_chooser_get_account_manager()Emilio Pozuelo Monfort2011-06-091-0/+8
|
* AccountChooser: All -> All accountsEmilio Pozuelo Monfort2011-06-091-1/+1
|
* Add a empathy_account_chooser_has_all_selectedEmilio Pozuelo Monfort2011-06-091-0/+24
| | | | So we can know if 'All' is selected in the accounts chooser.
* Use pixbuf for PixbufCellRenderer in protocol chooserSjoerd Simons2011-05-301-4/+9
| | | | | | | | | | If an icon-name is given to a PixbufCellRenderer it will re-load the image from the icon theme every time the size gets requested for a different cell. Which happens a *LOT*. Instead load the icon the row is added to the model, such that the cell renderer can simply request the size of the pixbuf. This massive speeds up the performance of the protocol chooser combobox.
* account_chooser_filter_ready_cb: don't unref the accountGuillaume Desmottes2011-03-241-1/+0
| | | | Our ref is already released in filter_result_callback_data_free (#645672).
* account_chooser_update_iter: don't leak the TpAccountGuillaume Desmottes2011-03-221-0/+2
|
* Fix warnings from GCC 4.6 about variables that are set but not used.Kjartan Maraas2011-03-171-10/+0
|
* account-chooser: setup the combobox once the object has been constructed ↵Guillaume Desmottes2011-01-111-1/+9
| | | | | | | (#639214) See bgo #639139 for details, but basically that's because the cell_area is now created in a constructor instead of an init function.
* Skip accounts which don't support rooms in "Manage Favorites" dialogChandni Verma2011-01-031-0/+71
| | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=603027
* Make AccountChooser-related code simpler and clearer (re #633481).Vitaly Minko2010-11-121-6/+26
|
* Make AccountChooser filters asynchronous to let them handle newly connected ↵Vitaly Minko2010-11-111-22/+65
| | | | accounts properly (#633481).
* add empathy_account_chooser_get_accountGuillaume Desmottes2010-04-121-0/+14
|
* libempathy-gtk/empathy-account-chooser.c: use tp_g_signal_connect_object ↵Guillaume Desmottes2010-04-091-2/+3
| | | | instead of empathy_signal_connect_weak
* account-chooser: check if account is NULL before trying to use it (#614874)Guillaume Desmottes2010-04-051-0/+4
|
* Ensure "All" is at the top of account selector.Will Thompson2010-02-121-16/+32
| | | | Fixes: #609737
* Remove weird maybe-null account special case.Will Thompson2010-02-121-7/+1
| | | | | | | | | | | | | | | | I'm pretty sure this is unnecessary. Consider the four cases: value of data->account | 0 | x | value of account | 0 | y | 0 | y | a. data->account == NULL | t | f | t | f | b. account == NULL | t | t | f | f | c. a != b | f | t | t | f | d. data->account == account | t | f | f | x == y | e. equal | t | f | f | x == y | In all cases, the value of equal is identical to what it would have been if the else branch were always taken. So... let's just always take the else branch.
* account-chooser: display enabled accounts first (#604166)Guillaume Desmottes2009-12-091-0/+40
|
* add empathy_account_chooser_is_readyGuillaume Desmottes2009-11-161-0/+10
|
* account-chooser.c: add a 'ready' signalGuillaume Desmottes2009-11-161-0/+19
| | | | | This can be useful to know when the combobox has been populated by the accounts.
* account-chooser: allow for a non-prepared account manager (fixes bug #600537)Jonny Lamb2009-11-031-0/+8
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* all: log error messages if preparing the account manager failsJonny Lamb2009-10-301-1/+7
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* account-chooser: port to new tp-glib account APIJonny Lamb2009-10-241-74/+97
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* remove usage of empathy_account_equalSjoerd Simons2009-07-301-5/+3
|
* Merge commit 'upstream/master' into mc5Sjoerd Simons2009-07-281-1/+9
|\ | | | | | | | | | | Conflicts: libempathy-gtk/empathy-account-widget.c src/empathy.c
| * Don't override empathy_account_chooser_set_account when setting filteringDavyd Madeley2009-07-151-1/+9
| |
* | Get the connection status, not the presence status stringSjoerd Simons2009-07-221-1/+1
| |
* | Remove useless mission-control includesSjoerd Simons2009-07-061-2/+0
| |
* | Get the icon name from the account object directlySjoerd Simons2009-07-051-1/+1
|/
* Port libempathy-gtk to EmpathyAccountSjoerd Simons2009-07-011-37/+34
|
* empathy-account-chooser: remove trailing tabsGuillaume Desmottes2009-06-251-3/+3
|
* empathy-account-chooser: fix coding style and update FSF addressGuillaume Desmottes2009-05-181-10/+10
|
* Misc. gtk-doc updates, including being more explicit about refs.Jonny Lamb2009-04-231-3/+6
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Add documentation for EmpathyAccountChooser.Jonny Lamb2009-04-231-0/+103
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Renamed empathy_account_chooser_get_account to ↵Jonny Lamb2009-04-221-2/+2
| | | | | | empathy_account_chooser_dup_account and fixed leaks. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Add empathy_account_chooser_get_connection()Xavier Claessens2009-04-221-0/+18
|
* Remove useless glade includeXavier Claessens2009-04-161-1/+0
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2843
* empathy_mission_control_new -> dup_singleton.Xavier Claessens2009-01-161-1/+1
| | | | svn path=/trunk/; revision=2233
* 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-071-1/+1
| | | | svn path=/trunk/; revision=2074
* Don't initialize private stuff in _new ().Xavier Claessens2009-01-071-17/+14
| | | | svn path=/trunk/; revision=2067
* Disconnect signals when finalizing.Xavier Claessens2009-01-071-5/+4
| | | | svn path=/trunk/; revision=2047
* Port the account chooser to the new API.Xavier Claessens2009-01-071-52/+28
| | | | svn path=/trunk/; revision=2031
* Use gi18n-lib.h instead of gi18n.h for libraries.Xavier Claessens2008-12-121-1/+1
| | | | svn path=/trunk/; revision=1967
* check there is an account before accessing it; prevents a segfault when callingFrederic Peters2008-08-201-1/+3
| | | | | | up the 'previous conversations' dialog and there is no account configured. svn path=/trunk/; revision=1359
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-061-3/+4
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* Fix disconnection of AccountStatusChanged signal.Xavier Claessens2008-04-131-5/+3
| | | | svn path=/trunk/; revision=932
* We can't use *_run_* API from dbus signal cb or method implementation. To ↵Xavier Claessens2008-04-111-3/+3
| | | | | | avoid problems move the code to a g_idle cb. svn path=/trunk/; revision=922
* Remove unused includesXavier Claessens2008-04-111-1/+0
| | | | svn path=/trunk/; revision=909
* Fix a leak and simplify account_chooser_set_account_foreach.Xavier Claessens2008-03-111-4/+7
| | | | svn path=/trunk/; revision=736
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Conflicts:Xavier Claessens2007-12-031-44/+44
| | | | | | ChangeLog svn path=/trunk/; revision=455
* Cleanup licences and copyrights, Modules with 100% collabora code are nowXavier Claessens2007-10-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-57/+102
| | | | | | | | | | | | | | | | | | 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
* Do not show salut accounts in the add contact dialog. Rework a bitXavier Claessens2007-07-261-88/+81
| | | | | | | | | | | | | | | | | | | 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
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-0/+637
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