aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-presence-chooser.c
Commit message (Collapse)AuthorAgeFilesLines
* rename EmpathyIdle to EmpathyPresenceManager (#640532)Guillaume Desmottes2011-01-251-11/+11
| | | | It's doing more than idle management now.
* coding style fixesEMPATHY_2_91_2Guillaume Desmottes2010-11-081-1/+1
|
* Port empathy-presence-chooser to GtkComboBoxDanielle Madeley2010-10-181-6/+18
|
* GDK keys are now GDK_KEY_*Guillaume Desmottes2010-10-041-2/+2
|
* simplify empathy_presence_chooser_newGuillaume Desmottes2010-07-081-5/+1
|
* libempathy-gtk/empathy-presence-chooser.c: use tp_g_signal_connect_object ↵Guillaume Desmottes2010-04-091-12/+12
| | | | instead of empathy_signal_connect_weak
* Cope with the favorite pixbuf not being availableSjoerd Simons2010-03-051-4/+8
| | | | | Not all icon themes have the favorite icon, so don't rely on it existing (if it's not there, just don't display a bookmark icon) Fixes: #611794
* update the not-favorite icon when the theme is changedGuillaume Desmottes2010-02-281-0/+18
|
* presence-chooser: Grey the 'favorite' icon when the status is not a favoriteGuillaume Desmottes2010-02-281-2/+25
| | | | | This is more coherent as the favorite icon is now theme dependent and fix the problem that the old unstarred icon was not really visible (#584629).
* presence-chooser: use 'emblem-favorite' instead of our own iconGuillaume Desmottes2010-02-281-1/+1
| | | | | gnome-icon-theme has an icon for favorites; we should use it instead of re-inventing our own.
* Punctuation fixes in translatable stringsPhilip Withnall2010-01-011-5/+5
| | | | | | | Fix punctuation in the IRC command help messages. Use proper Unicode ellipses throughout Empathy, and proper em-dashes where appropriate. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* presence-chooser: Ellipsize long status messages (#576434)Pascal Potvin2009-12-211-0/+1
|
* presence-chooser: use the account-manager directly to get our state and statusGuillaume Desmottes2009-11-191-17/+48
| | | | | Also wait that the AM is ready before trying to get the status. Partially fix bug #601235.
* presence-chooser: remove icon blinking supportGuillaume Desmottes2009-11-181-88/+4
| | | | This code is broken and unused since a while.
* Use accessor functions instead direct access.Javier Jardón2009-11-171-3/+3
| | | | | | | | | Some functions still remaining because there is not API in GTK+ 2.19.0 yet. http://bugzilla.gnome.org/show_bug.cgi?id=586476 Reviewed-By: Danielle Madeley <danielle.madeley@collabora.co.uk>
* Force an unset presence type to appear as offline in the presence chooser ↵Jonny Lamb2009-11-121-0/+6
| | | | | | | | | | and status icon. An unset presence type *does* make sense, but not in these contexts. As an aside, there is no icon for an unset presence, so nothing is displayed, which is bad. Fixes bug #597819
* all: log error messages if preparing the account manager failsJonny Lamb2009-10-301-1/+4
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* presence-chooser: port to new tp-glib account APIJonny Lamb2009-10-241-14/+42
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* presence-chooser: remove "\n"s from DEBUG callsJonny Lamb2009-10-161-5/+5
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* presence-chooser: make the entry not editable when we are offlineJonny Lamb2009-10-161-0/+5
| | | | | | | The idea behind this is that you can't set a custom status when you are offline. It just doesn't make sense. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Use a nicer callback nameSjoerd Simons2009-10-151-5/+6
|
* Use empathy_signal_connect_weakSjoerd Simons2009-10-151-16/+10
|
* make the presence chooser insensitive no accounts are enabledSjoerd Simons2009-10-151-3/+58
| | | | | | | | When there are no accounts enabled, there isn't really any point in setting a presence and it's a bit confusing to the user as their action doesn't actually have a result Fixes #598354
* presence-chooser: only listen to EmpathyIdle::notify::stateJonny Lamb2009-09-181-1/+1
| | | | | | | | Previously, when the global presence changed in EmpathyIdle, it would notify for "state" and "status", so the state change callback would be called twice. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* all: save the signal id and use that to disconnect from the signalJonny Lamb2009-08-201-4/+7
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* empathy-connectivity: only send the new state in the state-change signalJonny Lamb2009-08-191-2/+1
| | | | | | | | It can be assumed that the old state was always the opposite to the new state, because the signal is only ever fired if the new state differs from the old state. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* empathy-presence-chooser: make chooser insensitive when there's no connectionJonny Lamb2009-08-191-0/+24
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Always show icons in presence chooser (GNOME bug 591247)Frédéric Péters2009-08-111-0/+1
|
* Set status text first in presence chooser widget model.Frédéric Péters2009-07-281-6/+6
| | | | | | | ATK will take the first column of the model to get the textual value of a row, so make it something useful (instead of icon-name); also fill that cell with a value for "custom message" commands, so they are also known to ATK. (GNOME bug 589830)
* Don't add invalid presence type as favorite (#585053)Guillaume Desmottes2009-06-181-0/+4
|
* empathy-presence-chooser: use tp_strdiff instead of strcmpGuillaume Desmottes2009-06-181-1/+1
|
* Fix silly mistake where I passed the struct pointer and not the first memberDavyd Madeley2009-06-061-2/+2
|
* Cope with status being NULLSjoerd Simons2009-05-311-2/+2
|
* Remove usage of McPresence as much as possibleSjoerd Simons2009-05-311-48/+47
|
* Force update of GtkEntry primary icon for ENTRY_TYPE_BUILTINDavyd Madeley2009-05-221-0/+3
| | | | Fixes 583430
* empathy-presence-chooser: fix coding style and update FSF addressGuillaume Desmottes2009-05-181-4/+4
|
* Merge branch 'presets-dialog'Davyd Madeley2009-04-231-229/+11
|\
| * Sort presets alphabetically in the listDavyd Madeley2009-04-231-1/+2
| |
| * Connect new dialog into presence chooser, remove old dialogDavyd Madeley2009-04-221-228/+9
| |
* | Add documentation for EmpathyPresenceChooser.Jonny Lamb2009-04-231-0/+31
|/ | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Coding style fixDavyd Madeley2009-04-211-2/+1
|
* s/favourite/favorite/Davyd Madeley2009-04-211-9/+9
|
* Reliably set favourite-starDavyd Madeley2009-04-211-28/+50
|
* Update the preset listDavyd Madeley2009-04-211-1/+21
|
* Add a favourite icon to custom/saved messagesDavyd Madeley2009-04-211-8/+81
|
* Port EmpathyPresenceChooser to new APIXavier Claessens2009-04-161-10/+6
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2852
* Fix more coding styleXavier Claessens2009-04-111-191/+186
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2804
* Don't blat message if it updates whilst in editing modeDavyd Madeley2009-04-111-1/+3
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2802
* make the type enum a named typeDavyd Madeley2009-04-111-12/+13
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2800
* Coding style fixesDavyd Madeley2009-04-111-99/+90
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2799
* Don't get stuck in editing mode when you load up the old dialogDavyd Madeley2009-04-111-0/+1
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2798
* Drop this, it breaks something subtlyDavyd Madeley2009-04-111-8/+1
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2797
* Fix focus-out autocommit using an idle handlerDavyd Madeley2009-04-111-3/+67
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2796
* Don't set editing mode on click, just select the textDavyd Madeley2009-04-111-2/+3
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2795
* Fix regression where going offline was overwriting the saved status messageDavyd Madeley2009-04-111-1/+2
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2794
* Clean up function namesDavyd Madeley2009-04-111-37/+50
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2793
* Ignore up/down arrow keypressesDavyd Madeley2009-04-111-0/+5
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2792
* Editing mode on clickDavyd Madeley2009-04-111-1/+22
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2791
* Refactor some code, cleans some things upDavyd Madeley2009-04-111-16/+29
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2790
* Fix reset status on EscDavyd Madeley2009-04-111-11/+13
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2789
* Commit the changed status message on focus-out.Davyd Madeley2009-04-111-0/+16
| | | | | | | | | | I'm dubious if this is the right behaviour, but there was no obvious consensus. So I propose we find out with actual users. It can always be changed. From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2788
* Don't make Hidden/Offline have customisable textDavyd Madeley2009-04-111-0/+17
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2787
* Ensure ::changed is connected on both the entry and the comboDavyd Madeley2009-04-111-0/+2
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2786
* When editing custom messages, preseed the entry with the current statusDavyd Madeley2009-04-111-0/+7
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2785
* Only check model rows that will have valid statesDavyd Madeley2009-04-111-1/+3
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2783
* Update comment headers/copyrights/etc.Davyd Madeley2009-04-111-0/+2
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2782
* Unset focus from GtkEntry when editing is stoppedDavyd Madeley2009-04-111-1/+7
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2781
* Add Custom Messages dialog back in (this dialog needs some work ASAP)Davyd Madeley2009-04-111-5/+60
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2780
* Make custom messages dialog a transient of the window containing the ↵Davyd Madeley2009-04-111-4/+9
| | | | | | | | presence selector (if possible) From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2779
* Add a tooltip, mark user visible strings for translationDavyd Madeley2009-04-111-1/+6
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2778
* Fix bug where priv->state might be unsetDavyd Madeley2009-04-111-1/+9
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2777
* Escape to cancel from status editingDavyd Madeley2009-04-111-0/+23
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2776
* Separate out mc_set_custom_state from set_status_editingDavyd Madeley2009-04-111-22/+24
| | | | | | | | Also remove a bunch of debugging From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2775
* Reimplement flashing (untested). Prevent a possible recursive signal loop.Davyd Madeley2009-04-111-11/+16
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2774
* Reenable warning flags.. clean up messDavyd Madeley2009-04-111-32/+4
| | | | | | | | Need to fix flashing state From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2773
* Use EmpathyIdle to push MC aroundDavyd Madeley2009-04-111-195/+43
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2772
* Initial work on reimplementing presence_chooser_presence_changed_cbDavyd Madeley2009-04-111-6/+61
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2771
* Fix some type warningsDavyd Madeley2009-04-111-3/+3
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2770
* Set the chooser in "editing mode" when you start editing itDavyd Madeley2009-04-111-1/+34
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2769
* Initial work on reworking the presence selectorDavyd Madeley2009-04-111-189/+216
| | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2768
* Port EmpathyIdle to the new singleton policy.Xavier Claessens2009-01-091-2/+2
| | | | svn path=/trunk/; revision=2114
* Use gi18n-lib.h instead of gi18n.h for libraries.Xavier Claessens2008-12-121-1/+1
| | | | svn path=/trunk/; revision=1967
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-061-9/+6
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-3/+0
| | | | svn path=/trunk/; revision=1066
* Use empathy_file_lookup for glade files since some are in libempathy-gtk/ ↵Xavier Claessens2008-03-171-1/+7
| | | | | | and others in src/ svn path=/trunk/; revision=813
* Do not export symbols outside the empathy_ namespace.Xavier Claessens2008-02-101-1/+0
| | | | svn path=/trunk/; revision=613
* Remove EmpathyPresence object and have "presence" and "presence-message" ↵Xavier Claessens2008-01-251-8/+8
| | | | | | properties directly in EmpathyContact svn path=/trunk/; revision=601
* Move empathy-status-presets to libempathy, nothing to do with GTKXavier Claessens2008-01-211-1/+1
| | | | svn path=/trunk/; revision=591
* Add a cancel button on the custom message diaogXavier Claessens2008-01-201-8/+19
| | | | svn path=/trunk/; revision=583
* Fix a leak: unref the GtkListStore for presets messagesXavier Claessens2008-01-201-0/+2
| | | | svn path=/trunk/; revision=582
* Conflicts:Xavier Claessens2007-12-031-1/+2
| | | | | | ChangeLog svn path=/trunk/; revision=455
* Cleanup licences and copyrights, Modules with 100% collabora code are nowXavier Claessens2007-10-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use g_timeout_add_seconds when appropriated to avoid weaking the processXavier Claessens2007-10-131-3/+3
| | | | | | | | | | | | | | | | | | 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
* Add hidden supprot. Fixes bug #455510 (Cosimo Cecchi).Xavier Claessens2007-08-101-4/+6
| | | | | | | | | | | | | | | | | | | 2007-08-10 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-images.h: * libempathy-gtk/empathy-presence-chooser.c: * libempathy-gtk/empathy-ui-utils.c: * libempathy/empathy-presence.c: Add hidden supprot. Fixes bug #455510 (Cosimo Cecchi). * data/gtalk.profile: * data/jabber.profile: * data/salut.profile: * data/irc.profile: * data/msn.profile: Updated to use SupportedPresences field. svn path=/trunk/; revision=243
* Remove per-state "Custom message..." item and add one on the bottom of theXavier Claessens2007-08-101-245/+224
| | | | | | | | | | | | | | | | | | 2007-08-09 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-presence-chooser.glade: * libempathy-gtk/empathy-presence-chooser.c: * libempathy-gtk/empathy-status-presets.c: * libempathy-gtk/empathy-status-presets.h: * libempathy-gtk/empathy-ui-utils.c: Remove per-state "Custom message..." item and add one on the bottom of the menu. Add a combobox on the custom message dialog to select the state and change the action of the checkbox, now it add/remove the message from saved messages. Make easier to add other states to the list if needed. Fixes bug #460678. svn path=/trunk/; revision=241
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-0/+979
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