aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add 'Show Contact List' in Conversation menuGabriel Millaire2009-06-181-0/+39
|
* Remove 'new message from' from notification message (#586102). Based on a ↵Guillaume Desmottes2009-06-181-4/+3
| | | | patch from Nicolo Chieffo
* Don't repeat a tooltip format stringWill Thompson2009-06-081-14/+13
|
* Italicize status message in tooltipWill Thompson2009-06-081-1/+1
|
* Don't include "Available"/"Away"... in tooltipsWill Thompson2009-06-081-2/+2
| | | | | I don't think including the default string for a status adds anything to the tooltips.
* Extract markup_printf-append-free to a functionWill Thompson2009-06-081-18/+29
| | | | | The repeated g_markup_printf_escaped; g_string_append; g_free offended me. I think this makes the function easier to read.
* Only show status in tooltip when it existsWill Thompson2009-06-081-3/+11
| | | | | | empathy_contact_get_status () can return NULL: perhaps the protocol doesn't support presence, or perhaps we're not subscribed to the contact's presence.
* Add a right-click menu to conversation window tabs.Will Thompson2009-06-031-32/+52
| | | | | | | | It turns out that GtkNotebook supports right-click menus that list the tabs with minimal effort on our part. This makes it easier to deal with windows with more tabs than can fit in the space available. Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
* Ensure a minimum size of tabs in the chat windowSjoerd Simons2009-05-311-8/+24
| | | | | | | When there are a lot of tabs in the chat window it's not useful to resize them such that only the ellipsis is actually visible. To prevent this make the notebook scrollable and ensure the tabs are width enough to contain approximately 12 characters.
* Only do sounds/notifications for text messages when they involve the userSjoerd Simons2009-05-281-13/+9
| | | | | | | | When in a chatroom notifications and sounds should only happen when the users is part of the message (either someone is speaking to them or referring to them), otherwise the user will go crazy when in a lot of different muc channels. For a peer to peer text channel, all messages sent are targetted at the user so always do sounds/notifications in that case.
* empathy-chat-window: add Contact menu as top-level (bgo #580922)Guillaume Desmottes2009-05-221-0/+9
|
* remove Conversation->Contact menu entryGuillaume Desmottes2009-05-221-14/+0
|
* empathy-chat-window: fix coding styleGuillaume Desmottes2009-05-181-5/+5
|
* empathy-chat-window: update the FSF addressGuillaume Desmottes2009-05-181-2/+2
|
* empathy-chat-window: remove trailing spacesGuillaume Desmottes2009-05-151-5/+5
|
* Port EmpathyChatWindow's DnD to new APIXavier Claessens2009-04-221-3/+20
|
* Remove useless include of empathy-contact-factory.hXavier Claessens2009-04-221-1/+0
|
* Port EmpathyChatWindow to new API and remove dead code.Xavier Claessens2009-04-221-15/+1
|
* Fix urgency hint for MUCsXavier Claessens2009-04-171-1/+7
|
* Make use of GtkUIManager for EmpathyChatWindowXavier Claessens2009-04-161-74/+71
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2868
* Port EmpathyChatWindow to new APIXavier Claessens2009-04-161-11/+7
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2856
* Prefix "Empathy" to the notification enum.Xavier Claessens2009-01-311-2/+2
| | | | svn path=/trunk/; revision=2304
* Factor out some common code.Xavier Claessens2009-01-311-5/+2
| | | | svn path=/trunk/; revision=2302
* Add an enum to define notification close reason.Xavier Claessens2009-01-311-2/+2
| | | | svn path=/trunk/; revision=2298
* Unref the notification after it has been closed.Xavier Claessens2009-01-311-11/+18
| | | | svn path=/trunk/; revision=2297
* Escape message body with g_markup_escape_text before pushing it to the ↵Xavier Claessens2009-01-311-3/+5
| | | | | | notification. svn path=/trunk/; revision=2296
* Fix order or params in chat_window_show_or_update_notification ().Xavier Claessens2009-01-311-3/+3
| | | | svn path=/trunk/; revision=2295
* Move empathy_notification_is_enabled () to src/Xavier Claessens2009-01-311-1/+9
| | | | svn path=/trunk/; revision=2294
* Make possible to use libnotify 0.4.4, to not force the usage of too recent ↵Xavier Claessens2009-01-311-1/+3
| | | | | | distributions. svn path=/trunk/; revision=2291
* Add a convenience function to avoid hacks when getting the pixbuf from the ↵Xavier Claessens2009-01-311-4/+3
| | | | | | icon name. svn path=/trunk/; revision=2288
* Make notifications for unfocused chat windows work properly.Xavier Claessens2009-01-311-17/+10
| | | | svn path=/trunk/; revision=2287
* W.I.P. for notifications on chat window.Xavier Claessens2009-01-311-0/+85
| | | | svn path=/trunk/; revision=2285
* Renamed G_STR_EMPTY to EMP_STR_EMPTY.Jonny Lamb2009-01-231-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2249
* Convert EmpathyChatroomManager to the new singleton conventionSjoerd Simons2009-01-101-1/+1
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2185
* Use the new dispatcher api to request text channelsSjoerd Simons2009-01-101-1/+1
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2131
* Port EmpathySmileyManager to the new singleton policy.Xavier Claessens2009-01-091-1/+1
| | | | svn path=/trunk/; revision=2116
* Update empathy_sound_play () to be nicer to use and centralize the listXavier Claessens2009-01-071-4/+2
| | | | | | of sounds we support. svn path=/trunk/; revision=2082
* Turn empathy_sound_pref_is_enabled into empathy_sound_play thatXavier Claessens2009-01-071-13/+7
| | | | | | automatically plays the sound if the pref is enabled. svn path=/trunk/; revision=2078
* Adapt the libcanberra calls to use the new functions.Xavier Claessens2009-01-071-12/+16
| | | | svn path=/trunk/; revision=2025
* Adapt Patryk's patch to trunk.Xavier Claessens2009-01-071-0/+24
| | | | svn path=/trunk/; revision=2022
* Don't unref NULL avatar used as chat window iconWill Thompson2008-12-291-1/+4
| | | | | | | | This only happens if you set a secret gconf key, I think. Signed-off-by: Will Thompson <will.thompson@collabora.co.uk> svn path=/trunk/; revision=2016
* Don't forget to unref the smiley managerXavier Claessens2008-12-161-0/+1
| | | | svn path=/trunk/; revision=2008
* Move the smiley menu code from EmpathyChatView to EmpathyChatManager.Xavier Claessens2008-12-161-16/+15
| | | | svn path=/trunk/; revision=1986
* Replace _get_selection_bounds by _get_has_selectionXavier Claessens2008-12-161-3/+2
| | | | svn path=/trunk/; revision=1984
* Use GTK+ 2.14.0 and gtk_show_uri (Cosimo Cecchi).Xavier Claessens2008-12-021-1/+1
| | | | svn path=/trunk/; revision=1942
* Include account name in chat-window tooltip. Fixes bug #560622Mathias Hasselmann2008-11-141-4/+8
| | | | svn path=/trunk/; revision=1720
* Use markup for chat-window tooltipsMathias Hasselmann2008-11-141-10/+21
| | | | svn path=/trunk/; revision=1719
* If chats have no name, use the channel's ID instead of fallback to ↵Xavier Claessens2008-11-141-19/+2
| | | | | | "Conversation". Fixes bug #560611. svn path=/trunk/; revision=1717
* empathy-chat-window: use new chatroom mgr APIXavier Claessens2008-10-131-1/+1
| | | | svn path=/trunk/; revision=1572
* Hide the tab close button where there is a single tab (closes: #551096)Frederic Peters2008-09-071-0/+18
| | | | svn path=/trunk/; revision=1426
* Do not create a new EmpathyChatroom is it already exists.Xavier Claessens2008-08-301-10/+18
| | | | svn path=/trunk/; revision=1402
* Add a menu item in chat window to set the room as favoriteXavier Claessens2008-08-301-0/+52
| | | | svn path=/trunk/; revision=1401
* Useless to cast 2 times to the same classXavier Claessens2008-07-141-1/+1
| | | | svn path=/trunk/; revision=1224
* Added support for the chat window to show the avatar as the icon. Fixes bug ↵Jonny Lamb2008-07-081-1/+15
| | | | | | | | #526892 (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1205
* Set position/size of chat window only when adding the first chat. Fixes bug ↵Xavier Claessens2008-06-081-14/+17
| | | | | | #536391 (Ross Burton). svn path=/trunk/; revision=1153
* Improve dispatcher. Fixes bug #465928.Xavier Claessens2008-05-181-1/+2
| | | | svn path=/trunk/; revision=1108
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-061-16/+15
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* Avoid copying chat list in chat_window_delete_event_cb.Xavier Claessens2008-05-051-11/+5
| | | | svn path=/trunk/; revision=1079
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-31/+24
| | | | svn path=/trunk/; revision=1066
* Setup contact submenu in chat window.Xavier Claessens2008-04-251-3/+20
| | | | svn path=/trunk/; revision=1045
* Remove useless declarationsXavier Claessens2008-04-251-4/+0
| | | | svn path=/trunk/; revision=1043