aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
Commit message (Collapse)AuthorAgeFilesLines
* Insert smileys at the cursor positionVeena Katiyar2013-11-181-5/+2
| | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=685899
* stop using gtk_style_context_get_fontGuillaume Desmottes2013-09-051-3/+6
| | | | | | It's been deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=707538
* tpaw-utils: move EMP_STR_EMPTY to tp-aw and rename itMarco Barisione2013-08-201-3/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699492
* tpaw-utils: move empathy_window_present* to tp-aw and rename itMarco Barisione2013-08-201-1/+1
| | | | | | | 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
* builder: move empathy_builder_* from Empathy to tp-account-widgetsMarco Barisione2013-08-201-2/+3
| | | | | | | 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
* Fix assertion failure on opening conversation menu in 1-1 chatsChandni Verma2013-08-031-8/+17
|
* "Join Chat" and "Leave Chat" menu items for Conversation menu in MUCsChandni Verma2013-07-181-0/+57
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=643755
* Clean up #include directives in source filesEmanuele Aina2013-04-021-2/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=697076
* Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-12/+10
| | | | | | | | | | | | 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-14/+14
| | | | | | | | 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-14/+14
| | | | | | | 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-8/+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
* Recognize both handheld and phone clienttypes as mobile devicesSjoerd Simons2013-01-031-2/+2
| | | | | | | | | | Empathy currently displays a phone icon for clients which indicate that they're phones. However some mobile clients use the "handheld" client type instead (e.g. Xabber on android devices). While changing things around, i've also refactored the code a bit to ensure that the determination will stay consistent in the various location if it's changed in future.
* factor out empathy_notify_manager_create_notification()Guillaume Desmottes2013-01-031-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=691043
* notifications: no need to set NOTIFY_EXPIRES_DEFAULTGuillaume Desmottes2013-01-031-2/+0
| | | | | | That's the default value. https://bugzilla.gnome.org/show_bug.cgi?id=691043
* turn EmpathyChatWindow to a GtkWindow subclassGuillaume Desmottes2012-10-101-36/+40
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=685793
* chat-window: expose the individual mgr as a propertyGuillaume Desmottes2012-10-031-0/+39
|
* chat-window: update the contact menu when folks is loadedGuillaume Desmottes2012-10-031-0/+16
|
* chat-window: load the individual mgr when the chat window is focused outGuillaume Desmottes2012-10-031-11/+35
| | | | | Dirty hack to cope with Folks being slow as hell and blocking the main loop while preparing.
* move the individual mgr reference to empathy-chat-windowGuillaume Desmottes2012-10-031-5/+15
| | | | | | The chat window is the one actually using the manager so it makes sense to move it there. It's a singleton so the same instance will be shared between windows anyway.
* empathy_chat_window_present_chat: return the window presenting the chatGuillaume Desmottes2012-09-281-4/+5
|
* No need to pass twice the same param to chat_window_contact_menu_update()Guillaume Desmottes2012-09-281-4/+3
|
* make sure that chat_window_contact_menu_update is not called recursivelyGuillaume Desmottes2012-09-281-0/+8
| | | | | | | Calling empathy_chat_get_contact_menu() may have as a side effect to call empathy_contact_set_persona() which will fire a 'notify' signal and so trigger another mennu update. There is no point doing a second one, and creating a second menu, so best to avoid recursive calls.
* include telepathy-glib.hGuillaume Desmottes2012-09-171-2/+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_channel_get_connection()Guillaume Desmottes2012-09-111-2/+2
| | | | tp_channel_get_connection() has been deprecated.
* Don't show "Topic: " in tooltips if there is noneWill Thompson2012-09-061-1/+1
| | | | | | | I think I made this regress when I made Empathy understand the new Subject interface. https://bugzilla.gnome.org/show_bug.cgi?id=683453
* chat_window_new_message_cb: early return when handling outgoing msgGuillaume Desmottes2012-09-031-0/+1
| | | | | | | | There is no need to continue processing a message (unread count, play incoming message sound) if it's an outgoing one. Fix a bug where we use to play to ougoing sound *and* the incoming sound when sending a message.
* chat-window: use self->priv patternGuillaume Desmottes2012-07-111-506/+371
|
* chat-window: port to new coding stylesGuillaume Desmottes2012-07-111-2137/+2227
|
* remove useless includesGuillaume Desmottes2012-07-111-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679111
* Stop using EmpathyChatViewGuillaume Desmottes2012-07-021-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679255
* chat-window: disable file transfer DnDGuillaume Desmottes2012-06-261-0/+2
| | | | | | It's not supported at the moment. https://bugzilla.gnome.org/show_bug.cgi?id=678331
* use the symbolic close icon in the tab close buttonGuillaume Desmottes2012-05-251-2/+2
|
* Define a style class for the tab close buttonGuillaume Desmottes2012-05-251-1/+3
| | | | Seems that's the proper way to do it.
* chat-window: stop using GeditCloseButtonGuillaume Desmottes2012-05-241-8/+28
| | | | The CSS magic is done automatically now.
* gedit-close-button: move CSS bits to empathy.cssGuillaume Desmottes2012-05-241-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669473
* Load the CSS in all empathy-* binariesGuillaume Desmottes2012-05-241-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669473
* remove unused tp-contact-factory includesGuillaume Desmottes2012-05-151-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675597
* 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-3/+2
| | | | | | We want to get rid of the EmpathyContactList interface. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* Move category name constants to #definesWill Thompson2012-03-281-2/+2
| | | | | This is kind of overkill to avoid me typoing the two names used in empathy-chat-window.c, but, hey.
* Show MUC highlight notifications in Gnome ShellWill Thompson2012-03-281-3/+8
| | | | | | | | | | | | | | | | | | | | Gnome Shell filters out notifications from Empathy whose category is something the Shell shows its own notification for. However, we previously used the im.received category for notifications about being highlighted in a MUC, as well as for incoming 1-1 IM notifications. The Shell filters these out these notifications, because it shows its own 1-1 notifications, but it doesn't show MUC highlight notifications. So this patch sets a different category on notifications from chat rooms, which makes them show up in Gnome Shell. I'm prefixing the category with x-empathy, following the comment above get_category_for_event_type in empathy-notifications-approver.c. This shouldn't confuse other notification daemons, unless they were also filtering out im.received but also showed their own highlight notifications (which I find unlikely). https://bugzilla.gnome.org/show_bug.cgi?id=652800
* Use help:empathy to open the helpGuillaume Desmottes2012-03-221-1/+1
| | | | | | Looks like the new doc infra uses "help" rather than "ghelp". https://bugzilla.gnome.org/show_bug.cgi?id=672596
* drag_data_received_individual_id: make sure manager is initializedGuillaume Desmottes2012-02-211-1/+1
|
* chat-window: invite contacts using DnDGuillaume Desmottes2012-02-171-0/+72
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655101
* chat-window: display a phone icon in the tab labelGuillaume Desmottes2012-02-171-0/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=664045
* Don't unhighlight chat tabs when more messages are receivedWill Thompson2012-02-111-28/+11
| | | | | | | | | | | | | | | | Travis noticed that if you receive a message in which you are not mentioned after one in which you are, the highlight on the chat tab is cleared. This turned out to be because the text of the chat tab label was set in two different places in empathy-chat-window.c: one which takes should_highlight into account, and one which does not. This patch makes EmpathyChat keep track of whether it should be highlighted (reusing empathy_chat_messages_read(), which is called to acknowledge messages as having been seen by the user, to clear the flag), and then uses that from one of the label-updating code paths and deletes the other. https://bugzilla.gnome.org/show_bug.cgi?id=669823
* Don't warn before leaving disconnected chatroomsWill Thompson2012-01-301-2/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=591756
* Shorten "Leave chat room" to "Leave room"Will Thompson2012-01-301-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=591756
* Special-case closing a window with exactly one tabWill Thompson2012-01-301-0/+13
| | | | | | | | The confirmation message when closing a window containing one tab, which is a chat room, should be identical to the confirmation message when closing that tab with ^W. https://bugzilla.gnome.org/show_bug.cgi?id=591756
* Confirm closing windows containing chat rooms.Will Thompson2012-01-301-31/+115
| | | | | | | | | Getting the messages to feel right took quite a few iterations. Maybe we need one more case: when you only have one chat room in a window, and nothing else, the message from closing the window should probably be the same as it would have been if you'd hit ^W. https://bugzilla.gnome.org/show_bug.cgi?id=591756
* Confirm closing chat room tabsWill Thompson2012-01-301-2/+59
| | | | | | | | | I often accidentally close tabs with Control-W, and more occasionally by clicking the [X] by mistake. This is okay for 1-1 conversations (I can just reopen them) but is destructive for chat rooms. So let's make the user confirm. https://bugzilla.gnome.org/show_bug.cgi?id=591756
* EmpathyChat: include should_highlight in ::new-messageWill Thompson2012-01-191-1/+2
| | | | | This allows EmpathyChatWindow to use this rather than calling empathy_message_should_highlight() itself.
* empathy_chat_window_present_chat: move to the chat window desktopGuillaume Desmottes2011-12-191-2/+6
| | | | | | | This is more coherent with Shell's 'app is ready' notication which moves the view to the app desktop rather than moving the app itself. https://bugzilla.gnome.org/show_bug.cgi?id=649208
* use gtk_box_new() instead of gtk_[h,v]box_new()Guillaume Desmottes2011-11-211-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662903
* Merge remote-tracking branch 'pochu/error-dialog'Danielle Madeley2011-10-141-1/+3
|\
| * empathy_dispatcher_chat_with_contact_id(): add optional cbEmilio Pozuelo Monfort2011-09-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* | all: remove butterfly workarounds (bgo#612555)Jonny Lamb2011-09-261-2/+1
|/ | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* EmpathyChatWindow: Set "im.received" on notification so gnome-shell can ↵Xavier Claessens2011-08-221-0/+4
| | | | ignore it
* Port to new tp-glib client factoryGuillaume Desmottes2011-08-181-6/+8
| | | | | | | | | | | | | | | | | - EmpathyChannelFactory has been changed to EmpathyClientFactory and inherit from TpAutomaticClientFactory. - We now always use the _with_am variant of TpSimple* constructors - We define our own factory as default. - Replace empathy_get_account_for_connection() by tp_connection_get_account() - The factory is passed to EmpathyTpChat and TpyCallChannel - Use tp_simple_client_factory_ensure_account() instead of tp_account_manager_ensure_account(). - Rely on the factory to prepare connection features. This should ensure that all the TpProxy and TpContact objects created in Empathy are shared and use EmpathyClientFactory. https://bugzilla.gnome.org/show_bug.cgi?id=655799
* Do not present chat window from empathy_chat_window_get_default()Xavier Claessens2011-05-261-18/+0
| | | | It is already handled in empathy_chat_window_present_chat()
* remove empathy_tp_chat_get_connection and priv->connectionGuillaume Desmottes2011-05-251-1/+1
|
* Squash some set-but-unused variablesColin Walters2011-05-191-4/+0
|
* Merge branch 'LOLOOOLOLOLOLLLOLLLOLOLLL'Jonny Lamb2011-05-181-1/+2
|\
| * chat-manager: pass user action time of DBus to show the closed tabJonny Lamb2011-05-181-1/+2
| | | | | | | | | | | | This was making undo closing tabs in the background, aww. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | invite-dialog: display a individual view rather than forcing user to type ↵Guillaume Desmottes2011-05-181-27/+12
|/ | | | the full ID of the contact (#646705)
* Merge branch 'ack'Jonny Lamb2011-05-171-0/+9
|\
| * chat-window: also update chat window title when the chat updatesJonny Lamb2011-05-131-0/+6
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * chat-window: update tab when nb-unread-messages changesJonny Lamb2011-05-131-0/+3
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | Fix call to empathy_chat_window_find_chat in /part commandWill Thompson2011-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | 0fda594 changed empathy_chat_window_find_chat() to take a third parameter indicating whether we're looking for an SMS channel or not, but the /part branch wasn't updated for this change before being merged. I think it's a reasonable assumption that someone will not try to /part an SMS channel. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | Merge remote-tracking branch ↵Guillaume Desmottes2011-05-131-0/+45
|\ \ | | | | | | | | | 'glassrose/moving-part-functionality-to-empathy-chat-window-643295'
| * | Leave chatroom only if tp_chat existsChandni Verma2011-05-111-4/+12
| | |
| * | Send full message for the default chat parted on part commandChandni Verma2011-05-091-1/+14
| | |
| * | Fire a "part-command-entered" signal from libempathy-gtk/empathy-chat.c to ↵Chandni Verma2011-05-071-0/+24
| | | | | | | | | | | | | | | | | | be caught in src/empathy-chat-window.c Fixes linking issues: https://bugzilla.gnome.org/show_bug.cgi?id=643295
* | | Properly convert timestamps received from X11 (#650015)Guillaume Desmottes2011-05-121-1/+1
| | | | | | | | | | | | | | | X11 timestamps are guint32 while Telepathy uses gint64 timestamps. We should always use tp_user_action_time_from_x11() to do the conversion.
* | | empathy_chat_window_present_chat: always show newly created windowsGuillaume Desmottes2011-05-121-0/+5
| |/ |/| | | | | We just create so we should at least show it.
* | Merge branch 'delivery-reports-rebase'Danielle Madeley2011-05-051-0/+38
|\ \
| * | Add a tooltip to the sending message spinnerDanielle Madeley2011-05-051-6/+11
| | |
| * | [chat-window] add a spinner to the window tab for when messages are being sentDanielle Madeley2011-05-051-0/+33
| | |
* | | fix unused-but-set-variable warningsMarc Plano-Lesay2011-05-051-9/+0
| | |
* | | Merge branch 'sms-support-rebase'Danielle Madeley2011-05-051-17/+43
|\| |
| * | Include SMSChannel property in empathy_chat_window_find_chat()Danielle Madeley2011-05-051-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The approach in https://bugzilla.gnome.org/show_bug.cgi?id=644085 was wrong because channel paths can change across reconnects. This would cause new chat windows to be created when they were rerequested. A more future-proof solution would be to keep a white/black list of comparable properties, but I think this is overengineering the problem for the time being. Instead we'll just include the SMSChannel property in the comparison.
| * | Change empathy_chat_get_name() from const char * -> char *Danielle Madeley2011-05-051-14/+28
| | | | | | | | | | | | | | | | | | | | | Change the name to empathy_chat_dup_name() to reflect this change. Note to reviewer: I think I've updated all the callers, but this is the commit to check carefully for new leaks :)
| * | Add "SMS:" to the tooltipDanielle Madeley2011-05-051-0/+4
| | |
| * | Set EMPATHY_IMAGE_SMS on sms channelsDanielle Madeley2011-05-051-0/+6
| |/
* / set a not empty string when setting ↵Guillaume Desmottes2011-05-021-1/+2
|/ | | | | | EMPATHY_NOTIFY_MANAGER_CAP_X_CANONICAL_APPEND libnotify now filters out empty string so the hint was not set (#648842).
* chat_window_page_switched_cb: get the child from the GTK+ signalGuillaume Desmottes2011-04-271-12/+3
| | | | We don't care about GTK+2 compatibility any more.
* empathy_chat_window_present_chat: no need to call show_all on the windowGuillaume Desmottes2011-03-301-1/+0
| | | | | | | | empathy_window_present_with_time() called later in this function will do it for us. This has the nice side effect of avoid to display the window before resizing it and do making it look bad (#638951).
* chat_window_new_message_cb: check that we found the chatroomGuillaume Desmottes2011-03-231-1/+1
| | | | | There is a race, if the chatroom manager didn't parse the chatrooms list yet, this was crashing.
* Don't update Contact menu on a focus-in (#644936)Michael Terry2011-03-171-9/+24
|
* rename empathy-dispatcher to empathy-request-utilGuillaume Desmottes2011-03-171-1/+2
| | | | | We don't have EmpathyDispatcher any more so this file just contains some utility functions now.
* coding style fixesGuillaume Desmottes2011-03-141-1/+1
|
* Setting "window" data on submenu only if it's not NULLChandni Verma2011-03-111-3/+3
|
* Add a confirmation dialog when you block a contact from the Contact menuDanielle Madeley2011-03-081-2/+5
|
* use GeditCloseButton (#642865)Guillaume Desmottes2011-02-211-21/+4
|
* always color the room label when we are highlightedGuillaume Desmottes2011-02-071-1/+2
|
* chat-window: don't play sound for pending messages (#639302)Guillaume Desmottes2011-01-241-5/+6
| | | | They have already be notified by the Approver.
* Merge remote branch 'glassrose/remove-typing-icon-in-muc-tabs-609420'Guillaume Desmottes2011-01-241-2/+2
|\
| * Do not display typing icon in MUC tabsChandni Verma2011-01-241-2/+2
| | | | | | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=609420
* | Connect to style-updated signalEmilio Pozuelo Monfort2011-01-111-5/+4
| | | | | | | | ... instead of to the deprecated style-set one.
* | Don't use deprecated gtk_widget_get_style()Emilio Pozuelo Monfort2011-01-111-1/+5
|/
* Remove the chats_new_msg list from EmpathyChatWindowSjoerd Simons2010-12-291-17/+9
|
* Remove the composing listSjoerd Simons2010-12-291-15/+2
|
* Highlight both the tab and the menu labelSjoerd Simons2010-12-291-2/+6
|
* chat-window: unsensitive the Contact menu if there is no submenu (#637799)Guillaume Desmottes2010-12-221-2/+8
|
* update copyrightsGuillaume Desmottes2010-11-301-1/+1
|
* chat-window: don't display notifications for pending messages (#635513)Guillaume Desmottes2010-11-301-1/+5
|
* EmpathyChat::new-message: tell if the message is a pending one or notGuillaume Desmottes2010-11-301-0/+1
|
* move sound functions to EmpathySoundManager methodsGuillaume Desmottes2010-11-301-2/+7
|
* move empathy-sound to empathy-sound-managerGuillaume Desmottes2010-11-301-1/+1
|
* chat-window: cache the UI GSettingsGuillaume Desmottes2010-11-291-4/+4
|
* chat-window: cache the notifications GSettingsGuillaume Desmottes2010-11-291-6/+4
|
* chat-window: cache the 'chat' gsettingsGuillaume Desmottes2010-11-171-5/+5
| | | | | We use it each time the window is focused so best to reduce the D-Bus traffic (#635022).
* chat-manager: make clear that we are dealing with *closed* chatsGuillaume Desmottes2010-10-251-2/+2
|
* Return existing default chat window when it's hidden, just restore it in ↵Vitaly Minko2010-10-211-15/+15
| | | | this case (#625780).
* Port to libnotify 0.7.0William Jon McCann2010-10-191-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=631944
* chat-window: port to new GtkNotebook APIGuillaume Desmottes2010-10-041-4/+7
|
* GDK keys are now GDK_KEY_*Guillaume Desmottes2010-10-041-2/+2
|
* Avoid to completely hide the last saved window when creating a new oneGuillaume Desmottes2010-09-291-0/+10
|
* chat-window: remember the geometry of the last saved windowGuillaume Desmottes2010-09-291-3/+10
| | | | This way new chat window have this geometry rather than the default one.
* chat-window: most of the functions can be staticGuillaume Desmottes2010-09-291-36/+50
|
* chat_window_new_message_cb: update the window icon as well (#558802)Guillaume Desmottes2010-09-271-1/+2
| | | | We want to change the window icon even if it's not focused.
* chat_window_detach_hook: move the window *after* showing itGuillaume Desmottes2010-08-301-1/+1
| | | | | Showing the window fire the "map" signal which is catched in empathy-geometry to move the window to its saved position. (#608140)
* empathy_chat_window_present_chat: use tp_user_action_time_should_presentGuillaume Desmottes2010-08-181-5/+2
|
* use TP_USER_ACTION_TIME_* (#627165)Guillaume Desmottes2010-08-181-3/+3
|
* empathy_dispatcher_chat_with_contact_id: get a TpAccount instead of a ↵Guillaume Desmottes2010-08-111-8/+2
| | | | TpConnection
* empathy_dispatcher_chat_with_contact_id: remove callback argumentGuillaume Desmottes2010-08-111-1/+1
| | | | It's unused anyway.
* empathy_contact_selector_dialog_get_selected: allow to get the account as wellGuillaume Desmottes2010-08-101-1/+1
|
* Merge EmpathyContact:name and *_set_alias() to EmpathyContact:aliasPhilip Withnall2010-07-221-1/+1
| | | | The "name" API was a relic of Gossip.
* GtkNotebookPage no longer exists in GTK+ 3Danielle Madeley2010-07-191-1/+4
|
* Port Empathy code to GSettings, remove EmpathyConfDanielle Madeley2010-06-181-12/+25
|
* use tp_g_signal_connect_object to connect the "closed" signal on the ↵Guillaume Desmottes2010-06-161-2/+2
| | | | | | | notification This fix a crash if the chat window is destroyed while the notification is still displayed (#621789).
* Don't display the 'Important Room' menu item in private chatsGuillaume Desmottes2010-06-111-0/+1
|
* coding style fixesGuillaume Desmottes2010-05-271-2/+2
|
* Add option to make chatroom "always urgent" (#611894)Jonas Bonn2010-05-271-3/+53
| | | | | | | | | | | | | | | | Often a user wants to be immediately notified of posts to a chatroom even when the post does not address them directly by name. This patch adds a room option to make all posts to the room "urgent", meaning that the system-specific urgency action should be taken -- notification, window urgency hint, etc. Two specific use cases for when one may want this: i) Low-traffic rooms (so that one does not have to go check the room all the time) ii) Error-logging room (room to which errors from some other system(s) are logged) The "always urgent" option is off by default when joining a room.
* Use ensure_chatroom in callbackJonas Bonn2010-05-271-11/+6
| | | | | The new function ensure_chatroom should be used by favorite-toggled callback.
* Port to new EmpathyTpContactFactory APIXavier Claessens2010-05-261-7/+2
|
* define EMPATHY_DISPATCHER_CURRENT_TIME rather than using G_MAXINT64 directlyGuillaume Desmottes2010-05-041-1/+1
|
* fix typo in commentGuillaume Desmottes2010-05-041-1/+1
|
* Consider G_MAXIN64 as a secred code for GDK_CURRENT_TIMESjoerd Simons2010-05-041-9/+13
|
* Add a comment, fix indentationSjoerd Simons2010-05-041-2/+3
|
* Only present and tab switch for new eventsSjoerd Simons2010-04-251-2/+25
|
* Always at least show new chat windows even if not presenting themSjoerd Simons2010-04-251-0/+1
|
* Pass the ChannelDispatcher timestamp onwards to window_presentSjoerd Simons2010-04-251-1/+8
|
* pass timestamp to empathy_chat_window_present_chatGuillaume Desmottes2010-04-251-2/+4
|
* add timestamp arg to empathy_dispatcher_chat_with_contact(_id)Sjoerd Simons2010-04-251-1/+1
|
* Do not use deprecated GTK symbolsXavier Claessens2010-04-191-1/+1
|
* Update the Tabs menu when a tab is moved.Mike Ruprecht2010-04-191-2/+8
| | | | | | | Previously when a tab was moved, the Tabs menu didn't update regarding the directions the tab could further be moved. If wrapping is off, a tab on the edge moved one way couldn't be moved back. Fixes #616012
* src/empathy-chat-window.c: use tp_g_signal_connect_object instead of ↵Guillaume Desmottes2010-04-091-2/+2
| | | | empathy_signal_connect_weak
* remove NotificationDataGuillaume Desmottes2010-04-091-27/+3
| | | | | We just need the window now. This has the nice side effect of fixing bug #615027.
* chat-window: don't present chat if notification has been dismissedGuillaume Desmottes2010-04-091-8/+0
| | | | | | | Clicking on a notification mean 'please go away'. If user wants to approve the action he has to click on the 'Reply' button. This code was broken anyway so we don't change the current behaviour.
* Support append hint in notifications (#607446)Nicolò Chieffo2010-04-011-18/+40
|
* Merge branch 'undo-close-tab'Jonny Lamb2010-03-301-0/+48
|\
| * chat-manager: take an EmpathyChat instead of an EmpathyContactJonny Lamb2010-03-061-4/+4
| | | | | | | | | | | | This way, we can support both 1-to-1 chats, *and* MUCs. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * Add EmpathyChatManager::chats-changed signal and make the chat window listen ↵Jonny Lamb2010-03-061-7/+35
| | | | | | | | | | | | to it. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * Add chat manager which tracks chats closing and can respawn them (bug #609832)Jonny Lamb2010-03-061-0/+20
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | Sets sensitivity of Previous/Next Tab menu items based on ↵Aaron Brown2010-03-301-2/+7
| | | | | | | | gtk-keynav-wrap-around and tab position (#613382)
* | chat-window: remove some DEBUG callsGuillaume Desmottes2010-03-221-15/+0
| | | | | | | | They don't really give us anything useful and flood logs.
* | Added gtk-keynav-wrap-around check before cycling tabsmrhappypants2010-03-171-2/+10
| |
* | Merge commit 'staz/dnd'Guillaume Desmottes2010-03-161-13/+17
|\ \
| * | DnD: add a new text/path-list target in chat windowOlivier Le Thanh Duong2010-03-161-6/+13
| | | | | | | | | | | | | | | | | | add a new text/path-list drop target to the chat window, it act like the text/uri-list target but is prioritized over it. This is mainly to circumvent Tomboy returning note:// uri in its uri-list.
| * | chat_window_drag_motion : search in all the drop targetsOlivier Le Thanh Duong2010-03-051-7/+4
| |/ | | | | | | | | Use gtk_drag_dest_find_target to search in all the drop targets instead of only the first one.
* | empathy_window_present: remove useless 'steal_focus' argGuillaume Desmottes2010-03-151-1/+1
| |
* | invite-participant-dialog: filter contacts by accountGuillaume Desmottes2010-03-151-1/+3
|/ | | | | We can't invite contacts from other accounts so we shouldn't display them (#612718).
* TPL Enabling patch, all-in-one.Cosimo Alfarano2010-02-261-0/+2
| | | | By default TPL is disabled, use --enable-tpl configure option to enable it.
* Remove workaround for wrong drag behaviourSjoerd Simons2010-02-151-8/+7
| | | | | | | | | Revert "chat_window_create_label: ref the widgets stored as data so we are sure they stay alive when doing DnD" This is not needed anymore as we handle dragging correctly now This reverts commit 183fa2e8a94d94a7098120fc43cde9ad83869de6.
* Make the ChatWindow handle dropping items itselfSjoerd Simons2010-02-151-20/+31
| | | | | | | | | | | | | | | | | | Both GtkNotebook and EmpathChatWindow take action when drag-data-received is signalled (moving the tab or adding a contact). Drag data is received after the program has asked for it, usually when a drop occurs. Now this can be done in two ways 0) Handle the drop signal yourself and call gtk_drag_get_data yourself or 1) set GTK_DEST_DEFAULT_DROP and let gtk call it for you. GtkNotebook takes option 0, EmpathyChatWindow decided to use option 1.. This causes all kind of strange issues as the drag data is now requested twice and thus the signal handlers are called twice causing all kinds of fun issues (trying to move a tab that's already moved etc). Change the drag dest flags to GTK_DEST_DEFAULT_HIGHLIGHT which provides some extra visual clues but is other harmless and handle drops directly. Also remove some cases where ChatWindow meddles with tab dragging as GtkNotebook will handle these for us
* modifies tab-expand and tab-fill properties of child in chat-window (#608053)Reimundo Heluani2010-02-081-2/+8
|
* added a "find" menu itemThomas Meire2010-01-211-0/+16
|
* chat_window_create_label: ref the widgets stored as data so we are sure they ↵Guillaume Desmottes2010-01-121-7/+8
| | | | stay alive when doing DnD
* Remove FIXMEDanielle Madeley2009-12-221-2/+0
|
* Make Invite Participant menu entry sensitive only when availableDanielle Madeley2009-12-211-0/+28
|
* Refactor MUC upgrading to be a feature of TpChat->add()Danielle Madeley2009-12-211-74/+10
| | | | | Add a method to be able to tell whether a given TpChat supports you calling add() on it.
* Replace raw Tp call with existing abstraction in EmpathyTpChatDanielle Madeley2009-12-211-9/+5
|
* Port EmpathyInviteParticipantDialog over to EmpathyContactSelectorDialogDanielle Madeley2009-12-211-16/+48
|
* Don't destroy the request properties, EmpathyDispatcher now owns themDanielle Madeley2009-12-211-1/+1
| | | | | This is not the same as tp-glib semantics (e.g. tp_..._call_create_channel). Add some docs to EmpathyDispatcher to explain this, for the next person.
* Add support for inviting to MUCsDanielle Madeley2009-12-211-2/+7
|
* Add a rudimentry UI to select a 3rd contact to inviteDanielle Madeley2009-12-211-12/+55
| | | | Needs support for inviting in MUCs added
* Use EmpathyDispatcher to create the PMUC channelDanielle Madeley2009-12-211-24/+6
|
* Don't leak GPtrArrayDanielle Madeley2009-12-211-0/+1
|
* Add an Invite Participants menu item and make it request the Conf channelDanielle Madeley2009-12-211-2/+74
|
* chat-window: ref the contact stored as a data in the chatGuillaume Desmottes2009-12-081-2/+2
|
* Separate geometry of private and muc chat windows (#604003)Guillaume Desmottes2009-12-081-0/+3
|
* change empathy_chat_window_get_nb_rooms to get_chats_typeGuillaume Desmottes2009-12-081-8/+15
| | | | | That way we can implement the semantic we meant to. Muc and 1-1 chat are handled the same way.
* fix commentsGuillaume Desmottes2009-12-081-2/+2
|
* empathy_chat_window_get_default: rename room_filter to roomGuillaume Desmottes2009-12-081-3/+3
|
* empathy_chat_window_get_default: check if the window has at least one roomGuillaume Desmottes2009-12-081-2/+12
| | | | | | Also, check if the window has a least one 1-1 chat before adding a new one. That way we won't mix 1-1 and muc chat if user doesn't want to (he can still re-arrange the tabs manually).
* add empathy_chat_window_get_nb_roomsGuillaume Desmottes2009-12-081-0/+14
|
* Grouping all 1-to-1 chats in one window and MUC's in another one. (Fixes ↵Abner Silva2009-12-081-3/+6
| | | | #588812)
* Merge commit 'shaunm/dndfiles2'Guillaume Desmottes2009-11-301-1/+115
|\
| * Some improvements to file drag-and-drop based on comments on #595226Shaun McCance2009-11-251-10/+18
| |
| * [empathy-chat-window] Cleanup DND, don't accept drags to offline contactsShaun McCance2009-11-251-20/+62
| |
| * Move GtkTargetLists into priv so they're no longer staticShaun McCance2009-11-251-6/+13
| |
| * [empathy-chat-window] Documented MOVE/COPY selection in drag_motionShaun McCance2009-11-251-0/+4
| |
| * Utilitiy function to send files from a URI list, for dnd implementationsShaun McCance2009-11-251-25/+2
| |
| * Implemented file drags to contact list, along with row highlightsShaun McCance2009-11-251-2/+2
| |
| * Handle MOVE and COPY drags better, change contact-id drags to COPYShaun McCance2009-11-251-4/+6
| |
| * Always prefer GDK_ACTION_COPY for text/uri-list dragsShaun McCance2009-11-251-8/+31
| |
| * Don't try to offer file transfers to MUCsShaun McCance2009-11-251-2/+8
| |
| * Call gtk_drag_finish when we get a file transfer drag on a chat windowShaun McCance2009-11-251-0/+1
| |
| * Implementing drag and drop file sending on chat windowsShaun McCance2009-11-251-0/+44
| |
* | change 'unread from everyone' to 'unread from all'Guillaume Desmottes2009-11-271-2/+2
| |
* | fix typo in commentsGuillaume Desmottes2009-11-271-3/+2
| |
* | update the window title when a new message is receivedGuillaume Desmottes2009-11-271-0/+3
| |
* | display the number of unread message in the window title (#548701)Guillaume Desmottes2009-11-271-5/+62
| |
* | call empathy_chat_messages_read when messages have been read in a tabGuillaume Desmottes2009-11-271-0/+6
| |
* | display the number of other tabsGuillaume Desmottes2009-11-271-1/+19
| |
* | factor out empathy_chat_get_nameGuillaume Desmottes2009-11-271-3/+9
|/ | | | Dup the string as we are going to use g_strdup_printf
* 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>
* Correctly store/restore maximized state of windows.Xavier Claessens2009-11-161-76/+9
|
* change empathy_notification_is_enabled to ↵Guillaume Desmottes2009-11-131-1/+1
| | | | | | | empathy_notify_manager_notification_is_enabled Making it a method of EmpathyNotifyManager would allow us to cache the gconf values if we want to.
* change empathy_misc_get_pixbuf_for_notification to ↵Guillaume Desmottes2009-11-131-1/+6
| | | | | | | | empathy_notify_manager_get_pixbuf_for_notification Making this function a method of EmpathyNotifyManager would allow us to tweak the size of the icon depending on the notifications server as suggested in bug 588054.
* move empathy-misc to empathy-notify-managerGuillaume Desmottes2009-11-131-1/+1
| | | | All its code was related to notifications.
* chat-window: save the size of the window when disposingGuillaume Desmottes2009-11-091-0/+1
| | | | | The size wasn't saved when the window was closed before the timeout was fired (#601190).
* Better reorganization of chat_window_update (#600732)Ryan LaBelle2009-11-061-24/+76
|
* empathy-chat-window: always display the title of the current tabGuillaume Desmottes2009-11-041-9/+1
| | | | | This is more coherent as the web browsers do the same. Thanks to Ryan LaBelle for his help. (#600473)
* Merge branch 'accountz'Jonny Lamb2009-11-021-12/+15
|\
| * chat-window: port to new tp-glib account APIJonny Lamb2009-10-241-12/+15
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | Fixes cycling tab bug in chat window (#589263)Rômulo Fernandes Machado2009-10-301-12/+49
| |
* | Fix crash when joining a chat, GTK_WIDGET_VISIBLE is not NULL-safeXavier Claessens2009-10-261-2/+1
| |
* | empathy-chat-window: Don't update the Contact menu if visibleRob Bradford2009-10-241-5/+26
|/ | | | | | | If the Contact menu is currently visible do not update it. Instead update it once the menu is hidden. Fixes: #591360
* src/empathy-chat-window: fix shadow declarations and uint comparaisonsGuillaume Desmottes2009-10-201-16/+16
|
* Don't display any icon if we have been disconnectedGuillaume Desmottes2009-10-201-5/+15
|
* empathy-chat-window: update the tab icon when the TpChat is disconnected ↵Guillaume Desmottes2009-10-201-1/+11
| | | | (#597680)
* Fix little coding styleXavier Claessens2009-09-241-1/+1
|
* Ignore the drop if we can't get the right information from itSjoerd Simons2009-09-151-6/+16
|
* Don't use "/" to separate account and contact.Cosimo Cecchi2009-09-151-1/+1
|
* Ensure the notification callback data is always freedSjoerd Simons2009-09-141-6/+20
|
* Merge back from masterSjoerd Simons2009-08-221-16/+15
|\
| * Don't leak a ref when updating notification bubbleWill Thompson2009-08-131-5/+5
| | | | | | | | | | | | | | | | | | | | This meant that if a notification bubble for a tab had ever been updated, closing the tab would not destroy the EmpathyChat, or indeed close the Channel. New messages would be logged, but not presented to the user. Reopening a tab to the same channel would work, but sending a message would assert. I'm pretty sure this fixes #588840.
| * chat_window_help_contents_activate_cb: documentation doesn't have a 'chat' ↵Guillaume Desmottes2009-08-071-1/+1
| | | | | | | | section anymore (#590029)
| * Merge branch 'escape-notifications'Will Thompson2009-08-061-9/+7
| |\ | | | | | | | | | | | | | | | Fixes #580134 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
| | * Don't try to free NULL pixbufs.Will Thompson2009-08-051-9/+7
| | | | | | | | | | | | | | | | | | It's all very well to ensure that we don't pass a NULL pixbuf to libnotify, but we shouldn't then try to g_object_unref () the pointer without checking it's not NULL.
| * | Embolden tab labels when you're highlightedWill Thompson2009-08-051-1/+2
| |/ | | | | | | | | | | | | | | This is in addition to en-reddening them, which might not be enough if you can't distinguish red and black, and matches how names are highlighted in the conversation window. Ideally this would be theme-able, but this is a start.
* | Merge branch 'master' into mc5Cosimo Cecchi2009-08-011-4/+3
|\|
| * Little coding style cleanupXavier Claessens2009-07-291-4/+3
| |
* | Chang the API of AccountManager to have the get lookup the account by nameSjoerd Simons2009-07-301-3/+1
| | | | | | | | | | | | | | | | EmpathyAccountManager used to have a _lookup function that looked up accounts by name and a _get function that lookup up accounts by connection. This is confusing, as looking up an account for a connection is less common rename have the _get_account be the same _lookup (but without returning a ref) and add a _get_account_for_connection function lookup by account
* | remove usage of empathy_account_equalSjoerd Simons2009-07-301-1/+1
| |
* | Merge commit 'upstream/master' into mc5Sjoerd Simons2009-07-281-9/+29
|\| | | | | | | | | | | Conflicts: libempathy-gtk/empathy-account-widget.c src/empathy.c
| * Chat window's tab label changes the font color when got an incoming msg. ↵Abner Silva2009-07-151-6/+26
| | | | | | | | (Fixes #588498)
| * Use accessor functions instead direct access (Fixes #586476)Jonny Lamb2009-07-101-3/+3
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | Remove useless mission-control includesSjoerd Simons2009-07-061-1/+0
|/
* New chatrooms are no longer marked as favorite by default. Fixes bug #575667Abner Silva2009-07-011-9/+9
|
* Port the main of empathy to EmpathyAccountSjoerd Simons2009-07-011-14/+12
|
* fixed libnotify crashing if icon doesn't existAbderaouf Bencherait2009-06-301-2/+6
|
* Include empathy-sound.h to make it buildXavier Claessens2009-06-261-0/+1
|
* empathy-chat-window: remove trailing tabsGuillaume Desmottes2009-06-251-9/+9
|
* Hide muc contacts listGabriel Millaire2009-06-181-3/+1
| | | | | | | - Removed trailing spaces - Notify change to visibility - Added G_PARAM_STATIC_STRINGS to properties - Broke empathy_chat_set_show_contacts() in two, simplifying call
* Applied Xavier's commentsGabriel Millaire2009-06-181-27/+23
| | | | | | | | Added "show-contacts" property in empathy-chat with default value to preference. Setter function show/hide contact list. When Conv menu is opened in empathy-chat-window, update it with "show-contacts" value. Uses "remote-contact" instead of "empathy_chat_is_room" for that. Call setter function when Show Contacts menu is activated.