aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* empathy_pixbuf_avatar_from_individual_scaled_async: set an error if no avatarGuillaume Desmottes2012-01-171-11/+10
| | | | | | | It's fair for the caller to expect the error the be set if the _finish() function returns NULL. https://bugzilla.gnome.org/show_bug.cgi?id=667037
* coding style fixEMPATHY_3_3_3Guillaume Desmottes2011-12-201-1/+1
|
* add empathy_move_to_window_desktopGuillaume Desmottes2011-12-191-0/+117
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=649208
* ui-utils: don't expect that cancellable is not NULLGuillaume Desmottes2011-11-301-2/+3
| | | | cancellable are always optional so this code should be NULL safe.
* doesn't allow to send socket filesGuillaume Desmottes2011-11-101-0/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663563
* Don't crash when the buffer has length 0Danielle Madeley2011-11-071-1/+4
| | | | | Unexpectedly, a 0 length buffer causes gdk_pixbuf_loader_write() to return FALSE without setting @error. Would then segv on error->message.
* use g_format_size instead of g_format_size_for_displayGuillaume Desmottes2011-10-251-2/+2
| | | | | The latter has been deprecated in GLib 2.31 but g_format_size() has been added in 2.30 so we can already use it without bumping the dep.
* Move dialpad into a widget of its ownDanielle Madeley2011-10-191-102/+0
| | | | | | Let's face it, the whole thing was getting a little unwieldly there in the UI utils, and if we're going to be using it in more places, let's start by abstracting it into a widget.
* Merge remote-tracking branch 'pochu/misc-fixes'Danielle Madeley2011-10-141-0/+3
|\
| * Cope with gtk_icon_theme_lookup_icon returning NULLSjoerd Simons2011-09-051-0/+3
| |
* | pass to proper user action time when requesting an outgoing FTGuillaume Desmottes2011-09-271-1/+2
|/ | | | https://bugzilla.gnome.org/show_bug.cgi?id=658245
* Don't leak FDs when loading avatars.Will Thompson2011-08-261-5/+5
| | | | Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* libempathy-gtk: Explicitly close the input stream used for reading avatarsPhilip Withnall2011-08-241-0/+20
| | | | | | | | | | | | Due to a missing unref in GIO, the input stream is leaked by GFileIcon, so if we rely on its FD being implicitly closed when the stream is finalised, we'll end up leaking (lots of) file descriptors. As well as fixing the unref in GIO (see: bgo#657206), we now explicitly close the input stream so that even if the stream object is leaked, the FD isn't. Closes: bgo#656682
* Bug 655212 — Update for libfolks API changes to AvatarDetailsPhilip Withnall2011-08-161-39/+101
| | | | | | | Folks' AvatarDetails.avatar is now a GLoadableIcon rather than a GFile. Closes: bgo#655212 https://bugzilla.gnome.org/show_bug.cgi?id=655212
* Factor out empathy_launch_program()Emilio Pozuelo Monfort2011-08-041-0/+52
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655884
* Dialpad: show an entry with the entered numbersEmilio Pozuelo Monfort2011-08-041-2/+31
|
* empathy_send_file_with_file_chooser: keep on the contact while the dialog is ↵Guillaume Desmottes2011-08-021-1/+2
| | | | | | running It's not safe to assume that the EmpathyContact stays alive.
* Add letters underneath the numbers on the dialpadDanielle Madeley2011-07-261-13/+39
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=632874
* Factor out dialpad into a utility functionDanielle Madeley2011-07-261-0/+47
| | | | | | | | | | | | | The dialpad is shared between empathy-call and empathy-av. Really it would be nice to make the dialpad its own little widget that emits signals with DTMF event ids, but I've got things to get done. Conflicts: libempathy-gtk/empathy-ui-utils.c src/empathy-call-window.c src/empathy-streamed-media-window.c
* empathy_individual_match_string: match if the string IS a prefixGuillaume Desmottes2011-06-091-1/+1
|
* Adapt to API break in folks_individual_get_personas.Travis Reitter2011-06-071-23/+34
| | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* allow user to search for contacts using their full identifierGuillaume Desmottes2011-06-011-1/+12
|
* factor out empathy_individual_match_words()Guillaume Desmottes2011-05-311-0/+42
|
* Stop dealing with iconification of main window, just hide/present itXavier Claessens2011-05-261-53/+0
| | | | | It does not work with gnome-shell, unity and indicators anyway, so it is just complex code for no benefit anymore.
* add empathy_get_current_action_time()Guillaume Desmottes2011-05-121-0/+6
|
* Fix warnings from GCC 4.6 about variables that are set but not used.Kjartan Maraas2011-03-171-2/+1
|
* rename empathy-dispatcher to empathy-request-utilGuillaume Desmottes2011-03-171-1/+0
| | | | | We don't have EmpathyDispatcher any more so this file just contains some utility functions now.
* Adjust for Folks PresenceOwner -> PresenceDetails renameTravis Reitter2011-03-151-2/+2
| | | | | Fixes bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Adjust for Folks AvatarOwner -> AvatarDetails renameTravis Reitter2011-03-151-1/+1
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Warn the user if she has insufficient disk space to receive a fileDanielle Madeley2011-03-071-3/+58
| | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=644062
* coding style fixesGuillaume Desmottes2011-02-211-1/+1
|
* disconnect the activate cb before detaching the menuGuillaume Desmottes2011-02-161-2/+2
|
* add empathy_context_menu_new()Guillaume Desmottes2011-02-161-0/+34
| | | | | | That's basically the same trick as we did in individual_view_popup_menu_idle_cb(). We can't unfortunatelly not use this function there as the popup may be reused in some cases.
* Adjust for FolksHasPresence -> FolksPresenceOwnerTravis Reitter2011-02-011-2/+2
| | | | Fixes bgo#637847.
* Adjust for FolksHasAvatar -> FolksAvatarOwnerTravis Reitter2011-02-011-1/+1
| | | | Helps bgo#637847.
* rename EmpathyIdle to EmpathyPresenceManager (#640532)Guillaume Desmottes2011-01-251-1/+0
| | | | It's doing more than idle management now.
* remove useless paranthesisGuillaume Desmottes2010-12-151-3/+3
|
* factor out empathy_make_color_whiter()Guillaume Desmottes2010-12-151-0/+10
|
* Bug 637097 — Port to latest folks API changesPhilip Withnall2010-12-141-2/+4
| | | | | 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
* gdk_x11_drawable_get_xdisplay() has been renamed, so let's use the specific ↵Guillaume Desmottes2010-12-031-1/+1
| | | | macro instead
* properly manage the reference of the pixbuf returned by ↵Guillaume Desmottes2010-11-241-2/+5
| | | | empathy_pixbuf_avatar_from_individual_scaled_finish
* Stop using removed Individual convenience methods from folksPhilip Withnall2010-11-131-1/+2
| | | | | | | They were removed from folks with commit def47dffa31a95ec6bd333f43c69822416098283. This doesn't require a dependency bump, since they're being replaced with calls to methods which exist in folks 0.3.1. See: bgo#629078. Closes: bgo#634754
* empathy_window_iconify: use gdk_window_get_display()Guillaume Desmottes2010-10-041-1/+1
|
* don't use gtk_window_present_with_time if timestamp == GDK_CURRENT_TIME ↵Guillaume Desmottes2010-09-271-1/+5
| | | | (#629922)
* empathy_window_present: use gtk_get_current_event_time() as default ↵Guillaume Desmottes2010-09-271-1/+1
| | | | timestamp (#629922)
* Allow cancellation of avatar load operationsPhilip Withnall2010-08-191-3/+4
| | | | | | | Automatically cancel all pending avatar load operations when disposing of an EmpathyIndividualStore. This prevents crashes when linking individuals in the case that the EmpathyIndividualStore in the linking dialogue gets notified of the new linked individual just before it's destroyed.
* Fix constness of various variables and parametersPhilip Withnall2010-08-051-3/+3
|
* Fix missing entries in switch statementsPhilip Withnall2010-08-051-0/+1
| | | | Added missing default cases and missing enum cases.
* Merge EmpathyContact:name and *_set_alias() to EmpathyContact:aliasPhilip Withnall2010-07-221-1/+1
| | | | The "name" API was a relic of Gossip.
* Use the proper source_tag in empathy_pixbuf_avatar_from_individual_scaled_*().Travis Reitter2010-07-211-2/+2
|
* Use the gio async pattern for fetching Individuals' avatarsTravis Reitter2010-07-211-24/+56
|
* Reduce line length.Travis Reitter2010-07-211-5/+6
|
* Take advantage of the tp_clear_* utility functions.Travis Reitter2010-07-211-2/+2
|
* Cut misinformed comment about a potential race condition.Travis Reitter2010-07-211-1/+0
|
* Create a constructor for PixbufAvatarFromIndividualClosure.Travis Reitter2010-07-211-11/+26
|
* Implement avatar support.Travis Reitter2010-07-211-21/+138
|
* Base the contact list around libfolks metacontacts. Not yet to feature-parityTravis Reitter2010-07-211-2/+18
| | | | with mainline Empathy.
* empathy_pixbuf_contact_status_icon_with_icon_name: don't use icon_filename ↵Guillaume Desmottes2010-07-081-2/+3
| | | | after freeing it
* Make incoming file chooser dialog's title more informativeGuillaume Desmottes2010-07-071-2/+10
| | | | This gives a bit more context when the dialog is displayed right away.
* Port Empathy code to GSettings, remove EmpathyConfDanielle Madeley2010-06-181-1/+0
|
* Remove empathy_link_button_new(), it's unusedXavier Claessens2010-05-211-22/+0
|
* Change names of variables that shadow libc symbolsDanielle Madeley2010-05-211-2/+2
|
* use user-extended-away status icon in favour of user-idleRobert McQueen2010-05-151-1/+7
| | | | | | | | | | | The freedesktop.org icon spec defines that the icon for the extended away status is called user-idle. However, some icon theme authors interpret this name as meaning mere idleness rather than the intended extended away semantic of away *and* idle, creating visual confusion (extended-away contacts appearing less away than contacts who are merely away). Some themes contain a non-standard user-extended-away icon with the correct semantic, so this patch makes Empathy use it in preference to user-idle if available. (Incidentally, at the moment Telepathy itself never actually shows remote contacts as idle.)
* ui-utils: Set translation domain on GtkBuilder UIsRob Bradford2010-05-101-0/+1
| | | | | | | This is necessary for when GtkBuilder UIs are used outside of the main Empathy process. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=617909
* No longer need to dig out the X time ourselvesSjoerd Simons2010-04-251-14/+0
|
* Pass the ChannelDispatcher timestamp onwards to window_presentSjoerd Simons2010-04-251-2/+8
|
* Fix X display connection leakSjoerd Simons2010-04-241-52/+12
| | | | | | Use gdk_x11_get_server_time instead our own function for getting the X server time. This also fixes a leak of one X connection each time empathy_window_present is used without a timestamp.
* empathy_icon_name_for_presence: use 'pending' icon if presence is unknownGuillaume Desmottes2010-03-311-1/+2
|
* use the 'user-invisible' icon if implementedGuillaume Desmottes2010-03-301-1/+7
|
* coding style fixesGuillaume Desmottes2010-03-291-2/+2
|
* empathy_window_present: use X server time if there is no eventGuillaume Desmottes2010-03-221-2/+51
|
* empathy_window_present: use _NET_WM_USER_TIME only has a fallbackGuillaume Desmottes2010-03-151-1/+5
|
* empathy_window_present: use gdk_x11_display_get_user_time as timestampGuillaume Desmottes2010-03-151-1/+3
| | | | | | | | | Using G_MAXINT32 is wrong because X clock wraps every few weeks so G_MAXINT32 is not garanteed to be in the past or future. Using gdk_x11_display_get_user_time should give us a good approximation of the actual time. Fixes bug #609001.
* empathy_window_present: remove useless 'steal_focus' argGuillaume Desmottes2010-03-151-2/+1
|
* set $HOME as default directory when sending a fileGuillaume Desmottes2010-03-121-0/+3
|
* Set XDG_DOWNLOAD_DIR as default directory when receiving a file (#612672)Guillaume Desmottes2010-03-121-0/+8
|
* Force windows to jump to the foreground if we present themSjoerd Simons2010-03-051-4/+3
|
* Remove unused function empathy_toggle_button_set_state_quietlyXavier Claessens2010-03-041-13/+0
|
* Reorganize code in empathy-ui-utils.ch to group related codeXavier Claessens2010-03-031-13/+13
|
* Move empathy_uri_regex_dup_singleton to be private inside ↵Xavier Claessens2010-03-031-23/+0
| | | | | | empathy-string-parser.c Now that our code is correctly factored, that regex can be made private
* Move empathy_string_parser API to its own fileXavier Claessens2010-03-031-104/+0
|
* empathy_pixbuf_contact_status_icon_with_icon_name: icon_name is not supposed ↵Guillaume Desmottes2010-01-121-0/+1
| | | | to be NULL
* contact_list: displays an icon showing the protocol by the contact (#603877)chantra2009-12-171-0/+112
|
* Use \s to match spaces, it is the same as [ \t\n\r\f\v]Xavier Claessens2009-12-011-1/+1
|
* Merge commit 'shaunm/dndfiles2'Guillaume Desmottes2009-11-301-13/+53
|\
| * Utilitiy function to send files from a URI list, for dnd implementationsShaun McCance2009-11-251-0/+30
| |
| * Implementing drag and drop file sending on chat windowsShaun McCance2009-11-251-13/+23
| |
* | Rework the link regex to have "(user@server.com)" case work.Xavier Claessens2009-11-251-7/+9
| |
* | Add more test cases and fix some found issues in link regex.Xavier Claessens2009-11-251-1/+1
| |
* | Replace GString param with a generic gpointer user_data, and port ↵Xavier Claessens2009-11-251-33/+30
| | | | | | | | EmpathyChatTextView to new parser API.
* | Make possible to define different replace function for parsersXavier Claessens2009-11-251-23/+56
| |
* | Accept any foo:// URL SchemesXavier Claessens2009-11-251-4/+4
| |
* | Extract empathy_string_parser_link and empathy_string_parser_escape from ↵Xavier Claessens2009-11-251-0/+62
| | | | | | | | empathy-theme-adium.c
* | Create API for generic string parserXavier Claessens2009-11-251-0/+14
| |
* | exclude " and ' from links.Xavier Claessens2009-11-251-2/+2
|/
* Make sure double quotes are not considered part of URIsGustavo Noronha Silva2009-11-251-2/+2
| | | | | | | | The fact that the URI regex we use to detect URIs in chat conversations does not exclude double quotes causes it to pick up more of the text than it should, in some cases. Bug #598381
* Create EMPATHY_RECT_IS_ON_SCREEN macro instead of duplicating its code.Xavier Claessens2009-11-241-3/+1
|
* Make empathy_present_window() also move to current desktop with compiz. ↵Xavier Claessens2009-11-241-3/+15
| | | | Fixes bug #602649
* Use accessor functions instead direct access.Javier Jardón2009-11-171-2/+2
| | | | | | | | | 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>
* empathy-ui-utils.c: fix shadow declarationGuillaume Desmottes2009-10-221-4/+4
|
* Fix previous patch.Steve Frécinaux2009-09-151-4/+4
| | | | Sometimes, reworking trivial patches goes bad...
* Ensure the Contact List is moved to the current workspace when shown.Steve Frécinaux2009-09-151-8/+6
| | | | | | | | | | The new metacity/mutter 2.27 only moves windows to current workspace on present() when the window is a dialog. The Contact List isn't one, so we try to be smart and move explicitely the window's toplevel GdkWindow on the current workspace before trying to present it. This has been tested successfully with mutter 2.27 and metacity 2.26. This fixes Bug 593883 - Empathy misbehaviour within gnome-shell.
* [empathy_builder_get_file] NULL out passed GObj ptrs if GtkBuilder file brokenDavyd Madeley2009-09-011-1/+11
| | | | | | | | | | | If the GtkBuilder file passed to empathy_builder_get_file is broken, it returns NULL, but doesn't touch the contents of any pointers passed to retrieve GObjects. In several places we start using these pointers without checking whether the file was actually setup, which causes Empathy to crash. Ideally callers of empathy_builder_get_file() should check whether or not the function returned correctly before using any of the passed pointers, but in case they don't, make sure we're not passing pointers to random memory.
* Add empathy_make_absolute_url_len to limit the lenght of url stringPierre-Luc Beaudoin2009-08-291-12/+25
| | | | Related to http://bugzilla.gnome.org/show_bug.cgi?id=593207
* Merge back from masterSjoerd Simons2009-08-221-9/+14
|\
| * Make empathy_make_absolute_url visiblePierre-Luc Beaudoin2009-08-191-9/+12
| |
| * empathy_send_file_with_file_chooser: allow to send files from network ↵Guillaume Desmottes2009-08-071-0/+2
| | | | | | | | | | | | | | locations (#591058) Empathy can send file from network locations so there is no reason to not allow users to.
* | Merge branch 'master' into mc5Cosimo Cecchi2009-08-011-2/+2
|\|
| * Accept gibing NULL widget to empathy_url_show()Xavier Claessens2009-07-291-2/+2
| |
* | Merge commit 'upstream/master' into mc5Sjoerd Simons2009-07-281-2/+7
|\| | | | | | | | | | | Conflicts: libempathy-gtk/empathy-account-widget.c src/empathy.c
| * Validate parameters to fixup_url() and empathy_url_show()Nicolò Chieffo2009-07-181-1/+6
| | | | | | | | Using g_return{_val,}_if_fail(). Extra validation added by Davyd Madeley.
| * Use accessor functions instead direct access (Fixes #586476)Jonny Lamb2009-07-101-2/+2
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | Remove useless mission-control includesSjoerd Simons2009-07-061-2/+0
| |
* | Get the icon name from the account object directlySjoerd Simons2009-07-051-10/+0
| |
* | Add missing newlineSjoerd Simons2009-07-051-1/+1
|/
* Port libempathy-gtk to EmpathyAccountSjoerd Simons2009-07-011-2/+2
|
* Move sound related functions to its own module.Jonathan Tellier2009-06-261-138/+1
|
* Workaround for the "Contact list doesn't appear in windows list" bug (#572759)Nicolo Chieffo2009-06-231-1/+1
|
* Add path in EmpathySmileyXavier Claessens2009-06-121-0/+23
|
* Remove use_hash when using the file chooserCosimo Cecchi2009-06-011-12/+2
|
* Add a comment.Cosimo Cecchi2009-06-011-0/+3
|
* Fix a stupid mistakeCosimo Cecchi2009-06-011-4/+2
|
* Add use_hash params for incoming transfersCosimo Cecchi2009-06-011-1/+7
| | | | | Add use_hash params for incoming transfers to the FT Factory and Handler, so that we will use them to check hash for received files.
* Add a new preference in the UICosimo Cecchi2009-06-011-1/+8
|
* Close the handler when rejecting a transferCosimo Cecchi2009-06-011-0/+2
|
* Set the overwrite confermation when receivingCosimo Cecchi2009-06-011-0/+3
|
* Rethink a bit the logic for an incoming transfer.Cosimo Cecchi2009-06-011-1/+45
| | | | | | | | | | | Now, a client should have to do the following, in order to receive a file transfer: - let the EmpathyFTFactory claim the EmpathyDispatchOperation - the factory will emit "new-incoming-transfer" when the handler is filled with the relevant properties - now you can choose a destination file, and then you should call _set_destination on EmpathyFTFactory passing the handler. - the factory will emit "new-ft-handler" as you're now ready to start the actual transfer.
* Use the new API to send a file with the file chooser.Cosimo Cecchi2009-06-011-89/+14
|
* W.I.P. for heavy lifting on EmpathyTpFile.Cosimo Cecchi2009-06-011-3/+21
|
* Remove usage of McPresence as much as possibleSjoerd Simons2009-05-311-11/+12
|
* empathy-ui-utils: fix coding style and update FSF addressGuillaume Desmottes2009-05-181-14/+14
|
* Output GtkBuilder errors as g_critical() not DEBUG()Davyd Madeley2009-04-221-1/+1
|
* Refactor the floating ref hack into a new functionXavier Claessens2009-04-161-0/+17
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2871
* Port glade helpers to GtkBuilberXavier Claessens2009-04-161-117/+48
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2841
* Move URI regex to empathy-ui-utilsXavier Claessens2009-03-031-0/+21
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2549
* Add a empathy_sound_play_full functionSjoerd Simons2009-02-031-12/+59
| | | | | | | | | add a empathy_sound_play_full function, which adds a callback which is called after the sound has been played. Just like in ca_context_play_full Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2392
* Move empathy_notification_is_enabled () to src/Xavier Claessens2009-01-311-51/+1
| | | | svn path=/trunk/; revision=2294
* Fix coding style.Xavier Claessens2009-01-311-3/+3
| | | | svn path=/trunk/; revision=2293
* Initialize GError to NULL before using it.Xavier Claessens2009-01-311-1/+1
| | | | svn path=/trunk/; revision=2290
* Add a convenience function to avoid hacks when getting the pixbuf from the ↵Xavier Claessens2009-01-311-11/+23
| | | | | | icon name. svn path=/trunk/; revision=2288
* W.I.P. for notifications on chat window.Xavier Claessens2009-01-311-2/+8
| | | | svn path=/trunk/; revision=2285
* Implement a logic for disabling notifications when away.Xavier Claessens2009-01-311-8/+47
| | | | svn path=/trunk/; revision=2282
* Make the dispatch operation _get_ functions not return a refSjoerd Simons2009-01-101-1/+0
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2188
* Make coding style consistent with the rest of the fileXavier Claessens2009-01-101-15/+14
| | | | svn path=/trunk/; revision=2171
* Use new API to request file transfersSjoerd Simons2009-01-101-2/+52
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2136
* Port to the new singleton API.Xavier Claessens2009-01-091-1/+1
| | | | svn path=/trunk/; revision=2120
* Add a comment that tells to keep EmpathySound enum sync with sound_entries ↵Xavier Claessens2009-01-071-1/+1
| | | | | | array. svn path=/trunk/; revision=2109
* Assert that sound_id is OK before getting sound_entries[sound_id], to avoid ↵Xavier Claessens2009-01-071-3/+5
| | | | | | crash. svn path=/trunk/; revision=2103
* Sanity checks for empathy_play_sounds.Xavier Claessens2009-01-071-1/+2
| | | | svn path=/trunk/; revision=2102
* Add a debug message when playing sound.Xavier Claessens2009-01-071-0/+4
| | | | svn path=/trunk/; revision=2087
* Propperly mark event descriptions for translation.Xavier Claessens2009-01-071-1/+4
| | | | | | | Add a comment about the order of the sound entries array, and assert if the order isn't correct. svn path=/trunk/; revision=2085
* Update empathy_sound_play () to be nicer to use and centralize the listXavier Claessens2009-01-071-6/+41
| | | | | | of sounds we support. svn path=/trunk/; revision=2082
* Turn empathy_sound_pref_is_enabled into empathy_sound_play thatXavier Claessens2009-01-071-1/+16
| | | | | | automatically plays the sound if the pref is enabled. svn path=/trunk/; revision=2078
* Only play logout sound if switching to Offline from Available.Xavier Claessens2009-01-071-1/+0
| | | | svn path=/trunk/; revision=2028
* Don't emit sound when changing state and properly play login sound.Xavier Claessens2009-01-071-2/+4
| | | | svn path=/trunk/; revision=2027
* Add empathy_sound_pref_is_enabled ().Xavier Claessens2009-01-071-0/+35
| | | | svn path=/trunk/; revision=2024
* Remove useless empathy_text_buffer_tag_setXavier Claessens2008-12-161-48/+1
| | | | svn path=/trunk/; revision=1990
* gtk_init and g_thread_init shouldn't be called by libraries. Let ↵Xavier Claessens2008-12-121-36/+3
| | | | | | applications do it. svn path=/trunk/; revision=1971
* Refactor empathy_gtk_init* to share common code.Xavier Claessens2008-12-121-19/+26
| | | | svn path=/trunk/; revision=1969
* Use gi18n-lib.h instead of gi18n.h for libraries.Xavier Claessens2008-12-121-1/+1
| | | | svn path=/trunk/; revision=1967
* Add empathy_init(), empathy_gtk_init() and empathy_gtk_init_with_args(). ↵Xavier Claessens2008-12-121-0/+41
| | | | | | They have to be called by any process using libempathy. svn path=/trunk/; revision=1966
* Use GTK+ 2.14.0 and gtk_show_uri (Cosimo Cecchi).Xavier Claessens2008-12-021-6/+6
| | | | svn path=/trunk/; revision=1942
* Fix a little coding styleXavier Claessens2008-11-221-2/+1
| | | | svn path=/trunk/; revision=1873
* Moved empathy_send_file to EmpathyDispatcher and renamed it. (Jonny Lamb)Jonny Lamb2008-11-221-1/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1835
* Handle new file channels regardless of direction in the dispatcher. (Jonny Lamb)Jonny Lamb2008-11-221-15/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1834
* Removed empathy_send_file_with_file_chooser_and_manager and made file ↵Jonny Lamb2008-11-221-46/+11
| | | | | | | | transfers always use the manager. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1832
* Removed useless test to check whether a GList has items. (Jonny Lamb)Jonny Lamb2008-11-221-38/+34
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1828
* Use gtk_file_chooser_dialog_new and the document-send icon. (Jonny Lamb)Jonny Lamb2008-11-221-20/+8
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1827
* Add parameter checks to public functions. (Jonny Lamb)Jonny Lamb2008-11-221-0/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1797
* Use FIXME instead of TODO in comments. (Jonny Lamb)Jonny Lamb2008-11-221-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1792
* Fixed copyright and author headers. (Jonny Lamb)Jonny Lamb2008-11-221-0/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1790
* Renamed EmpathyFile to EmpathyTpFile. (Jonny Lamb)Jonny Lamb2008-11-221-7/+7
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1776
* Added empathy_send_file_with_file_chooser_and_manager to make use of the ↵Jonny Lamb2008-11-221-0/+14
| | | | | | | | file transfer manager. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1747
* Added some more file sending functions to libempathy-gtk. (Jonny Lamb)Jonny Lamb2008-11-221-0/+124
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1740
* Add empathy_pixbuf_from_data_and_mime instead of breaking API.Xavier Claessens2008-11-111-3/+10
| | | | svn path=/trunk/; revision=1706
* Use foo[1] rather than *(foo + 1)Xavier Claessens2008-11-111-1/+1
| | | | svn path=/trunk/; revision=1694
* Make empathy_pixbuf_scale_down_if_necessary treat 0 as "no limit"Xavier Claessens2008-11-111-1/+1
| | | | svn path=/trunk/; revision=1681
* Don't automatically resize and png-ify avatars.Xavier Claessens2008-11-111-8/+22
| | | | svn path=/trunk/; revision=1669
* Prepend "mailto:" to urls containing a "@".Xavier Claessens2008-07-051-5/+9
| | | | svn path=/trunk/; revision=1196
* Add -Wformat and and fix some compile warnings with gcc 4.3. Fixes bug ↵Xavier Claessens2008-06-081-1/+1
| | | | | | #537129 (Cosimo Cecchi). svn path=/trunk/; revision=1152
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-9/+8
| | | | svn path=/trunk/; revision=1066
* Correct capitalisation. Fix bug #529439 (Baptiste Mille-Mathias).Baptiste Mille-Mathias2008-04-271-1/+1
| | | | svn path=/trunk/; revision=1052
* Make possible to show "ghelp:" URIs and display a dialog in case of error in ↵Xavier Claessens2008-04-201-9/+20
| | | | | | empathy_url_show. Use that to show empathy's doc. svn path=/trunk/; revision=996
* Use empathy_file_lookup for glade files since some are in libempathy-gtk/ ↵Xavier Claessens2008-03-171-10/+2
| | | | | | and others in src/ svn path=/trunk/; revision=813
* Fix compilation and usage of GErrorXavier Claessens2008-03-111-2/+2
| | | | svn path=/trunk/; revision=741
* Avoid dup the url string if not needed.Xavier Claessens2008-03-111-15/+11
| | | | svn path=/trunk/; revision=738
* Drop gnome-vfs dependency and use gio instead. Fixes bug #514380 (Cosimo ↵Xavier Claessens2008-03-111-5/+12
| | | | | | Cecchi). svn path=/trunk/; revision=737
* Don't hardcode path to uninstalled files, use EMPATHY_SRCDIR env var instead.Xavier Claessens2008-03-041-1/+2
| | | | svn path=/trunk/; revision=693
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Call gtk_window_deiconify() when presenting a window because in some cases ↵Xavier Claessens2008-02-151-0/+3
| | | | | | the WM doesn't it for us (Marco Barisione). svn path=/trunk/; revision=631
* Change a bit the generic account setting API.Xavier Claessens2008-02-111-22/+10
| | | | svn path=/trunk/; revision=622
* Add a generic UI to make easy building UI for protocol specific settings. ↵Xavier Claessens2008-02-111-15/+24
| | | | | | Port empathy-account-widget-*.[ch] to use that API. svn path=/trunk/; revision=621
* Remove EmpathyPresence object and have "presence" and "presence-message" ↵Xavier Claessens2008-01-251-21/+4
| | | | | | properties directly in EmpathyContact svn path=/trunk/; revision=601
* Try to load dtd and glade files from the srcdir first to aboid having to ↵Xavier Claessens2008-01-231-1/+9
| | | | | | install them each time we change them. svn path=/trunk/; revision=596
* Revert "merge git work"Xavier Claessens2007-12-291-0/+48
| | | | | | This reverts commit 0cfd80847f0d66967f56c7d6b3eb46793f725859. svn path=/trunk/; revision=519
* merge git workXavier Claessens2007-12-291-48/+0
| | | | svn path=/trunk/; revision=518
* Simplify chat theme systemXavier Claessens2007-12-291-0/+48
| | | | svn path=/trunk/; revision=507
* Simplify empaty_window_present, empathy_window_iconify and ↵Xavier Claessens2007-12-201-30/+18
| | | | | | empathy_window_is_visible stuff svn path=/trunk/; revision=491
* set unsensitive the add button if there is no profile installed and tellXavier Claessens2007-10-191-1/+1
| | | | | | | | | | | | | | | 2007-10-19 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-profile-chooser.c: * libempathy-gtk/empathy-profile-chooser.h: * libempathy-gtk/empathy-accounts-dialog.c: set unsensitive the add button if there is no profile installed and tell the user to install some connection managers. * libempathy-gtk/empathy-ui-utils.c: Fix indentation. svn path=/trunk/; revision=381
* Don't warning if we try to load a NULL icon.Xavier Claessens2007-10-151-0/+4
| | | | | | | | | | | | | | | 2007-10-15 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-ui-utils.c: Don't warning if we try to load a NULL icon. * data/Makefile.am: * data/aim.profile: * data/sofiasip.profile: Add AIM and SIP profiles. Fixes bug #457740 (Jamey Hicks). svn path=/trunk/; revision=376
* Implement EmpathyAvatarChooser and EmpathyAvatarImage and make use of themXavier Claessens2007-10-091-29/+90
| | | | | | | | | | | | | | | | | | | | | 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
* More dynamic smiley managment and more efficient algorithm to detectXavier Claessens2007-09-081-98/+0
| | | | | | | | | | | | | | | | | | | | 2007-09-08 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-chat-view.h: * libempathy-gtk/empathy-ui-utils.c: * libempathy-gtk/empathy-ui-utils.h: * libempathy-gtk/empathy-chat.c: * libempathy-gtk/empathy-smiley-manager.c: * libempathy-gtk/empathy-smiley-manager.h: * libempathy-gtk/Makefile.am: * libempathy-gtk/empathy-chat-window.c: * libempathy-gtk/empathy-chat-view.c: More dynamic smiley managment and more efficient algorithm to detect smileys in messages. * doc/: Updated svn path=/trunk/; revision=285
* Completely reworked ContactList API. Fixes bug #471611, bug #467280, bug ↵Xavier Claessens2007-08-311-8/+2
| | | | | | #459540 and bug #462907. svn path=/trunk/; revision=280
* Add hidden supprot. Fixes bug #455510 (Cosimo Cecchi).Xavier Claessens2007-08-101-0/+1
| | | | | | | | | | | | | | | | | | | 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-1/+2
| | | | | | | | | | | | | | | | | | 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
* Initial room list support. It does not works yet.Xavier Claessens2007-07-201-49/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-20 Xavier Claessens <xclaesse@gmail.com> * libempathy/Makefile.am: * libempathy/empathy-tp-roomlist.h: * libempathy/empathy-tp-roomlist.c: * libempathy-gtk/empathy-chatrooms-window.c: * libempathy-gtk/empathy-new-chatroom-dialog.c: Initial room list support. It does not works yet. * libempathy-gtk/empathy-account-widget-generic.c: Add support for all types of integer and float. Fixes bug #457740 (Jamey Hicks). * libempathy/empathy-tp-chat.c: * libempathy-gtk/empathy-chat.c: If there is an error sending a message, show an error message to the user. * libempathy-gtk/empathy-accounts-dialog.c: Fix a leak, profile should be unrefed after mc_account_get_profile. * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-group.h: * libempathy/empathy-tp-group.c: * src/empathy.c: Rename empathy_get_channel_id() to empathy_inspect_channel(). We now have empathy_inspect_handle(). * po/POTFILES.in: * libempathy/empathy-tp-contact-list.c: Set all contacts from salut protocol to the "Local Network" group. * libempathy/empathy-idle.c: Fix NetworkManager support. * libempathy/empathy-chatroom.h: Fix indentation. * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-ui-utils.c: * libempathy-gtk/empathy-ui-utils.h: - Iconify main window to the status icon like in rhythmbox. Fixes bug #458106 (Jaap A. Haitsma). - Rounded avatars. Fixes bug #457992 (Raphael Slinckx) * Makefile.am: Fix distcheck for gtkdoc (Vincent Untz) * data/empathy.desktop.in.in: Change application description (Jaap A. Haitsma). svn path=/trunk/; revision=190
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-0/+1341
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