aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
Commit message (Collapse)AuthorAgeFilesLines
* refilter if the TpConnection of a TpAccount is changedGuillaume Desmottes2011-10-271-0/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* factor out update_account()Guillaume Desmottes2011-10-271-3/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* account-chooser: make sure that TP_ACCOUNT_FEATURE_CONNECTION and ↵Guillaume Desmottes2011-10-271-0/+10
| | | | | | | | TP_CONNECTION_FEATURE_CAPABILITIES are prepared Most filter will need those. https://bugzilla.gnome.org/show_bug.cgi?id=662609
* log-window: use empathy_account_chooser_refilter()Guillaume Desmottes2011-10-271-6/+6
| | | | | | It's cleaner than re-setting the same filter function. https://bugzilla.gnome.org/show_bug.cgi?id=662609
* factor out empathy_account_chooser_refilter()Guillaume Desmottes2011-10-272-5/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* move pre-defined filter at the end of the filesGuillaume Desmottes2011-10-272-28/+32
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* account-chooser: replace finalize by disposeGuillaume Desmottes2011-10-271-5/+5
| | | | | | It just unref one object so dispose is the best place. https://bugzilla.gnome.org/show_bug.cgi?id=662609
* account-chooser: use tp_g_signal_connect_object()Guillaume Desmottes2011-10-271-12/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* account-chooser: use self->priv patternGuillaume Desmottes2011-10-272-75/+39
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* inline account_chooser_setup()Guillaume Desmottes2011-10-271-136/+129
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* move down empathy_account_chooser_class_init()Guillaume Desmottes2011-10-271-46/+36
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662609
* account-chooser: port to new coding styleGuillaume Desmottes2011-10-272-715/+740
| | | | | | | | | | I wanted to clean the account chooser a bit but the old coding style makes me cry... It's good to do anyway, especially if we move this widget to a telepathy-gtk lib at some point. https://bugzilla.gnome.org/show_bug.cgi?id=662609
* contact-chooser: refilter when the tmp contacts change capabilitiesDanielle Madeley2011-10-261-0/+12
| | | | | | | | | Making a call to GetContactAttributes only gets the attributes currently known to the CM. If a contact is unknown, lookups for the attributes are then queued and signalled when retrieved. When we receive this signal, we should refilter the contact list. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=662727
* use g_unichar_fully_decompose instead of g_unicode_canonical_decompositionGuillaume Desmottes2011-10-251-8/+1
| | | | | The latter has been deprecated and g_unichar_fully_decompose() is already in 2.30.
* 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.
* [presence-chooser] Set status message as the tooltipJovanka Gulicoska2011-10-251-4/+8
| | | | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=640846 Signed-off-by: Danielle Madeley <danielle.madeley@collabora.co.uk>
* theme-adium: escape the name in actions as wellGuillaume Desmottes2011-10-241-3/+3
|
* ensure that contact_list_store_contact_active_cb isn't called after the ↵Guillaume Desmottes2011-10-241-5/+38
| | | | | | | | store destruction This is an exact port of similar code from empathy-individual-store. https://bugzilla.gnome.org/show_bug.cgi?id=662211
* contact_list_store_dispose: unset the timer idsGuillaume Desmottes2011-10-241-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662211
* Port contact-widget to contactinfo-utilsDanielle Madeley2011-10-213-132/+58
| | | | | This is a reworking, rather than rebasing of the original patch because of large changes in the codebase.
* Incorporate updates from empathy-contact-widget into contactinfo-utilsDanielle Madeley2011-10-213-15/+72
| | | | | Update empathy-individual-widget for these changes. This comes from the rebase of this branch.
* Move empathy-contactinfo-utils to libempathy-gtkDanielle Madeley2011-10-214-1/+229
| | | | | | | Why do we still have this annoying split? Rebasing this work will pull in a dependency on empathy-string-parser, which is part of libempathy-gtk. Hence the move.
* Port individual-widget to contactinfo-utilsDanielle Madeley2011-10-211-64/+17
|
* [contact-chooser] Don't reselect the first match if something else is selectedDanielle Madeley2011-10-201-2/+5
| | | | | This patch isn't quite the behaviour I want, but I think it's better than just re-selecting the first entry every time I type something.
* [contact-chooser] Move the selection up/down without defocusing the entryDanielle Madeley2011-10-201-0/+56
|
* [contact-chooser] emit 'activate' on 'row-activated' as wellDanielle Madeley2011-10-201-0/+11
| | | | This means the selection can be activated when the treeview is focused.
* Swap SMS and Text buttonsDanielle Madeley2011-10-201-4/+4
| | | | The default action should be on the right.
* Fix extra buttons in new-call/message dialogsDanielle Madeley2011-10-202-2/+4
| | | | This was caused by a missing parameter of gtk_dialog_add_buttons().
* Remove contact-selector-dialogDanielle Madeley2011-10-204-751/+0
| | | | It's no longer used.
* Scroll dialpad entry right as more characters are inserted.Danielle Madeley2011-10-191-0/+1
| | | | The user wants to see her most recent history, not what she typed in first.
* Move dialpad into a widget of its ownDanielle Madeley2011-10-195-107/+246
| | | | | | 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.
* theme_adium_append_message: escape alias before displaying itGuillaume Desmottes2011-10-191-2/+5
| | | | | | Not doing so can lead to nasty HTML injection from hostile users. https://bugzilla.gnome.org/show_bug.cgi?id=662035
* empathy_new_message_dialog_response: initialize contactGuillaume Desmottes2011-10-181-1/+1
|
* empathy_new_message_dialog_response: initialize individualGuillaume Desmottes2011-10-181-1/+1
|
* new-call-dialog: use the self->priv patternGuillaume Desmottes2011-10-182-32/+31
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661981
* new-message-dialog: port to EmpathyContactChooserGuillaume Desmottes2011-10-182-126/+137
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661981
* new-call-dialog: port to EmpathyContactChooserGuillaume Desmottes2011-10-182-99/+121
| | | | | | | | | | Replace the 'send video' checkbox by an extra button It's more coherent with the other places where we allow user to start calls. It also gives better feedback as we can unsensitive this button if the selected contact doesn't support video. https://bugzilla.gnome.org/show_bug.cgi?id=661981
* factor out empathy_individual_can_audio_video_call()Guillaume Desmottes2011-10-181-53/+4
| | | | | | Also allow caller to get a ref on the EmpathyContact supporting audio/video. https://bugzilla.gnome.org/show_bug.cgi?id=661981
* new-call-dialog: fix typo in commentGuillaume Desmottes2011-10-181-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661981
* contact-chooser: add 'activate' signalGuillaume Desmottes2011-10-181-0/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661993
* contact-chooser: when searching, make sure that the first matching item is ↵Guillaume Desmottes2011-10-181-0/+3
| | | | | | | | | selected So user can just type the phone number of the contact he wants to call and hit enter. https://bugzilla.gnome.org/show_bug.cgi?id=661993
* add empathy_individual_view_select_first()Guillaume Desmottes2011-10-182-0/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661993
* contact-list-store: stop tracking favourite contactsGuillaume Desmottes2011-10-151-26/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661489
* contact-list-store: remove 'fake group' codeGuillaume Desmottes2011-10-153-128/+1
| | | | | | | | This store is only used for MUC members which doesn't use these fake groups. Actually we could drop all the group code but it would probably be easier to completely rewrite the way we display MUC members. https://bugzilla.gnome.org/show_bug.cgi?id=661489
* remove unused EMPATHY_CONTACT_FEATURE_FAVOURITEGuillaume Desmottes2011-10-152-51/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661489
* adium themes: crash less hard when Template.html is missingWill Thompson2011-10-151-1/+9
| | | | | | | | If Template.html is missing, then you haven't installed Empathy properly (or set EMPATHY_SRCDIR or whatever in my case). But previously we would just crash later down this function when passing template_html to string_with_format() without checking if it's NULL. This patch makes it fail a little less inscrutably.
* TpChat: hide guts of Telepathy properties.Will Thompson2011-10-151-43/+25
| | | | | | | This will make it easier to replace these with new stuff. The funky indentation in the callbacks for the subject and title changing is to make it clear that I didn't change that code; I'll reindent it in another patch.
* Merge remote-tracking branch 'pochu/error-dialog'Danielle Madeley2011-10-143-5/+88
|\
| * Set a parent for the error dialogEmilio Pozuelo Monfort2011-09-051-5/+8
| | | | | | | | | | | | Conflicts: libempathy-gtk/empathy-new-message-dialog.c
| * NewMessageDialog: show an error if starting the channel failsEmilio Pozuelo Monfort2011-09-051-2/+77
| | | | | | | | | | | | Conflicts: libempathy-gtk/empathy-new-message-dialog.c
| * empathy_dispatcher_chat_with_contact_id(): add optional cbEmilio Pozuelo Monfort2011-09-053-5/+10
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge remote-tracking branch 'pochu/misc-fixes'Danielle Madeley2011-10-142-0/+5
|\ \
| * | Display an accurate error when not enough creditEmilio Pozuelo Monfort2011-09-051-0/+2
| | |
| * | Cope with gtk_icon_theme_lookup_icon returning NULLSjoerd Simons2011-09-051-0/+3
| |/
* | Merge branch: 'Add top-up link to chat text when there is insufficient credit'Danielle Madeley2011-10-144-3/+78
|\ \
| * | EmpathyChat: add a 'Top up' link when there's not enough creditEmilio Pozuelo Monfort2011-09-051-3/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is only added for Adium themes since ChatTextView ones don't support markup. Conflicts: libempathy-gtk/empathy-chat.c
| * | EmpathyThemeAdium: implement append_event_markupEmilio Pozuelo Monfort2011-09-051-0/+9
| | | | | | | | | | | | | | | | | | Conflicts: libempathy-gtk/empathy-theme-adium.c
| * | Add empathy_chat_view_append_event_markupEmilio Pozuelo Monfort2011-09-052-0/+22
| |/ | | | | | | | | | | | | Conflicts: libempathy-gtk/empathy-chat-view.c libempathy-gtk/empathy-chat-view.h
* | contact-blocking-dialog: make debug more usefulGuillaume Desmottes2011-10-131-12/+21
| | | | | | | | It's not very helpful to not know which Connection/Channel failed.
* | Use default variant if we can't find any variantsGuillaume Desmottes2011-10-121-1/+4
| | | | | | | | | | | | We use to crash here trying to get the first element of an empty GPtrArray. https://bugzilla.gnome.org/show_bug.cgi?id=660586
* | remove empathy-contact-selectorGuillaume Desmottes2011-10-093-550/+0
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=629517
* | contact-chooser: add API to hide the search entryGuillaume Desmottes2011-10-092-5/+15
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=629517
* | individual-widget: use GtkGrid instead of GtkTableGuillaume Desmottes2011-09-292-17/+10
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=660429
* | contact-selector-dialog: use GtkGrid instead of GtkTableGuillaume Desmottes2011-09-292-17/+16
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=660429
* | empathy-contact-selector-dialog.ui: load/save in GladeGuillaume Desmottes2011-09-291-3/+5
| | | | | | | | | | | | No change. https://bugzilla.gnome.org/show_bug.cgi?id=660429
* | Use new GOA desktop fileGuillaume Desmottes2011-09-291-2/+3
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=660449
* | Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-2814-45/+19
| | | | | | | | No more ugly marshallers \o/
* | 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
* | e-account-widget-irc: Use a GtkGrid to fix label wrappingXavier Claessens2011-09-262-52/+49
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=646630
* | Add /inspector command to show webkit inspectorXavier Claessens2011-09-263-0/+28
| |
* | Don't try to request a Call channel if built without Call supportGuillaume Desmottes2011-09-261-0/+35
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=659594
* | Factor out call_new_with_streams()Guillaume Desmottes2011-09-261-5/+22
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=659594
* | contact-widget: left align status labelGuillaume Desmottes2011-09-261-0/+1
| | | | | | | | | | | | It's already done that way in individual-widget. https://bugzilla.gnome.org/show_bug.cgi?id=659816
* | glade: move IRC's expander to the vbox instead of the tableXavier Claessens2011-09-231-130/+168
| |
* | Glade: GtkGrid does not have n-rows and n-columns properties as GtkTableXavier Claessens2011-09-231-9/+0
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=646630
* | Glade: fix sizing in SIP accounts widgetXavier Claessens2011-09-231-1/+2
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=646630
* | e-account-widget-jabber: Use GtkGrid instead of GtkTableXavier Claessens2011-09-221-55/+71
| | | | | | | | | | | | This work around bug #657621 https://bugzilla.gnome.org/show_bug.cgi?id=646630
* | e-account-widget-jabber: fix sizing issuesDiego Escalante Urrelo2011-09-221-347/+381
| | | | | | | | | | | | Fix the glade file for sizing issues Bug #646630
* | log-window: improve icons in the search entryCosimo Cecchi2011-09-201-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | There are a few improvements we can make to the search entry icons in the log window, which this patch tries to fix. - icons in entries are usually symbolic in GNOME 3, so I made the icons symbolic. - I merged the two icons in just one on the right using the shell-style, i.e. the search icon turns into a clear action once there's some text typed into the entry (Documents also uses the same style for its search entry). https://bugzilla.gnome.org/show_bug.cgi?id=659298
* | coding style fixEMPATHY_3_1_92Guillaume Desmottes2011-09-191-1/+1
| |
* | Use always-writeable and writeable-properties for alias and groupsRaul Gutierrez Segales2011-09-191-2/+3
| | | | | | | | | | | | | | | | Folks is in the way of deprecating the folks_persona_store_get_can_{alias,group}_personas methods in favour of directly checking alias and groups properties via folks_persona_store_get_always_writeable_properties and folks_persona_get_writeable_properties.
* | EmpathyChat: Set slider position after a timeoutXavier Claessens2011-09-191-16/+29
| | | | | | | | | | | | | | This ensure that the window has resized before setting the position because GtkPaned needs to know its size allocation https://bugzilla.gnome.org/show_bug.cgi?id=632357
* | Use tp_proxy_prepare_async instead of tp_account_manager_prepare_asyncGuillaume Desmottes2011-09-196-14/+14
| |
* | avatar-chooser: disable 'take picture' button if there is no camera connectedGuillaume Desmottes2011-09-161-1/+16
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=652985
* | avatar-chooser: split creation of the file chooser dialogGuillaume Desmottes2011-09-161-11/+12
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=652985
* | log-window: fix translators commentGuillaume Desmottes2011-09-151-3/+2
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=659141
* | log-window: properly translate duration stringsGuillaume Desmottes2011-09-151-3/+14
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=659141
* | Remove unused variables [-Werror=unused-but-set-variable]Alban Crequy2011-09-152-4/+0
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=658650
* | contact-list-store: store GtkTreeIter rather than GtkTreeRowReference in the ↵Guillaume Desmottes2011-09-151-59/+20
| | | | | | | | | | | | | | | | cache GtkTreeRowReference keeps a ref on the store introducing a ref cycle. https://bugzilla.gnome.org/show_bug.cgi?id=658650
* | individual-store: store GtkTreeIter rather than GtkTreeRowReference in the cacheGuillaume Desmottes2011-09-151-64/+21
| | | | | | | | | | | | GtkTreeRowReference keeps a ref on the store introducing a ref cycle. https://bugzilla.gnome.org/show_bug.cgi?id=658650
* | individual-widget: use GtkGrid instead of GtkTable internallyCosimo Cecchi2011-09-131-125/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EmpathyIndividualWidget (used both in the contact information dialogs and in the tooltips) use a GtkTable internally to layout contact details. GtkTable is being deprecated, and does not correctly support width-for-height size negotiation. So, there are cases where we get funny overallocations bugs for wrapping GtkLabels; this is especially annoying for tooltips, as they tend to grow huge vertically. Porting the code to use a better container such as GtkGrid solves the bug. This patch does not cover all the use of GtkTable in EmpathyIndividualWidget, but enough to fix the tooltip sizing. https://bugzilla.gnome.org/show_bug.cgi?id=658857
* | AccountChooser: don't return garbage from _set_accountWill Thompson2011-09-131-0/+1
| | | | | | | | | | | | | | | | | | Previously, the 'set' field of the stack-allocated 'data' structure was not initialized. It's explicitly set to TRUE if the account is found, but never otherwise set; so if the account is not found, this function returned random garbage. Reviewed-by: Xavier Claessens <xclaesse@gmail.com>
* | theme-adium: ensure we always use the same color when sending messagesGuillaume Desmottes2011-09-131-4/+10
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=658821
* | rename text/{persona,individual}-id as they are not standardGuillaume Desmottes2011-09-133-8/+8
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=648315
* | Because we like whalesXavier Claessens2011-09-091-2/+43
| |
* | individual_store_remove_individual: ensure that the store stays alive during ↵Guillaume Desmottes2011-09-091-0/+7
| | | | | | | | | | | | the process https://bugzilla.gnome.org/show_bug.cgi?id=658644
* | contact_list_store_remove_contact: ensure that the store stays alive during ↵Guillaume Desmottes2011-09-091-0/+7
| | | | | | | | | | | | the process https://bugzilla.gnome.org/show_bug.cgi?id=658644
* | log-window: sort "Who" list store alphabeticallyJussi Kukkonen2011-09-081-11/+27
| | | | | | | | | | | | | | | | | | | | Currently "Who"-list is sorted with "g_strcmp0 (name)" which is not what we want (e.g. "Chris" becomes before "bob" because of the initial capital letter). Start sorting using g_utf8_collate_key(). https://bugzilla.gnome.org/show_bug.cgi?id=658336
* | ContactSelector: mark standard action as the default.Will Thompson2011-09-071-16/+5
| | | | | | | | | | | | | | | | | | | | This allows Gtk+ to style the button differently to indicate that it will be pressed when the user hits Enter; it also fixes hitting enter in the New Conversation dialog, which does not consider GTK_RESPONSE_ACCEPT to be a reasonable response and ignores it. So we get a bug fix and better styling in exchange for less code! https://bugzilla.gnome.org/show_bug.cgi?id=658343
* | individual-store: use Folks directly to watch is-favourite changesGuillaume Desmottes2011-09-071-20/+18
| | | | | | | | | | We already use it to check if a contact is in favourite or not. The contact manager should probably be killed at some point any way.
* | Support launching GNOME Online Accounts in empathy-accountsDanielle Madeley2011-09-061-7/+65
| |
* | log-window: add the "raised" style class to the account chooserCosimo Cecchi2011-09-031-0/+3
|/ | | | | | So that it raises up from the toolbar below. https://bugzilla.gnome.org/show_bug.cgi?id=657954
* Use format-justify-fill everywhereEmilio Pozuelo Monfort2011-09-021-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657843
* LogWindow: fix toolbar iconsEmilio Pozuelo Monfort2011-09-021-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657843
* log-window: align the account chooser and search widgetGuillaume Desmottes2011-09-021-0/+26
| | | | | | | Center the account chooser and align the search widget to the right of the toolbar. https://bugzilla.gnome.org/show_bug.cgi?id=657842
* Fixes a segfault in empathy-individual-store.cCosimo Alfarano2011-09-021-0/+8
| | | | | | | | | | | When a contact cannot be obtained from an individual, icon_name and contact will be NULL, leading to g_hash_table_lookup for a NULL-value, segfaulting. Although there's probably an underlying error somewhere, the NULL case should be handled, being a valid return value for the method; https://bugzilla.gnome.org/show_bug.cgi?id=657914
* Merge branch 'timezones-656189'Danielle Madeley2011-09-011-3/+3
|\
| * Use g_date_time_new_from_unix_local() to read timestamps from loggerDanielle Madeley2011-08-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | g_date_time_new_from_unix_local() reads a Unix timestamp (which is defined to be in UTC) and sets the timezone for the GDateTime to be the local timezone. Thus when we format it, we get times in local time. g_date_time_new_from_unix_utc() is not correct, because it sets the timezone to UTC. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=656189
* | Correct grouping in the hostname regexpSjoerd Simons2011-08-311-3/+4
|/ | | | | | | Correctly group our subregexp otherwise hostnames like the following won't be recognized due to the way things expand: a.com example.c-om
* coding style fixEMPATHY_3_1_90Guillaume Desmottes2011-08-292-3/+3
|
* Merge branch 'account-widget-657616'Guillaume Desmottes2011-08-291-0/+10
|\
| * account-widget-local-xmpp: put all the labels in a GtkSizeGroupGuillaume Desmottes2011-08-291-0/+10
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=657616
* | contact list: optimize loading contactsAlban Crequy2011-08-292-194/+220
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous algorithm was O(n^2) with the number of contacts. Each contact can be in several groups, so when a contact is added or updated, we iterated over all the contact list to find the rows representing the contact. When connecting to an account and getting all the contacts, this was too slow. The groups are stored in the GtkTreeStore and suffer from the same problem: to look for a group, it needed to iterate on all contacts. The new algorithm maintains a hash from the contact to the list of rows representing it, and another hash from the group to the row representing it. On Empathy 2.30.2 when tested on MeeGo with 300 contacts, loading the contacts is faster: roughly 9 seconds before the patch, 3 seconds after. On Empathy 3.1.5, it seems to load in background so I don't know how to measure the time lost in GtkTreeStore. But before the patch, GProf says 23% is lost in individual_store_find_contact_foreach(), and after the patch it is not visible anymore. And "time" says we win 5s of CPU when starting+quitting Empathy: Before the patch: After the patch: real 0m23.485s real 0m23.460s user 0m13.805s user 0m8.305s sys 0m0.308s sys 0m0.316s https://bugzilla.gnome.org/show_bug.cgi?id=657086
* contact-widget: use the day-selected sig to update birthdayGuillaume Desmottes2011-08-291-1/+1
| | | | | Having to double click on a day to update it was really confusing and most people (including me!) were just thinking that was not working.
* Allow to call phone number of contactsGuillaume Desmottes2011-08-292-1/+209
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=650112
* add EmpathyAccountSelectorDialogGuillaume Desmottes2011-08-293-0/+268
| | | | | | Dialog asking user to pick an account from a pre-defined list. https://bugzilla.gnome.org/show_bug.cgi?id=650112
* Don't leak FDs when loading avatars.Will Thompson2011-08-261-5/+5
| | | | Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Move the 'Show previous conversation' menu entryGuillaume Desmottes2011-08-262-15/+15
| | | | It used to be right in the middle of actions on the contact.
* Fix unclear string in avatar chooserMilo Casagrande2011-08-261-1/+1
| | | | | | * Fix an unclear error string in the avatar chooser when saving camera taken image to file. Fixes bug #657166
* account-widget-sip: add option to mark account as being able to call phonesGuillaume Desmottes2011-08-242-1/+40
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657220
* widget-sip: load/save file in GladeGuillaume Desmottes2011-08-241-18/+73
| | | | | | No change has been done, this is just to keep commits simpler. https://bugzilla.gnome.org/show_bug.cgi?id=657220
* account-widget: add empathy_account_widget_get_settings()Guillaume Desmottes2011-08-242-0/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657220
* 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
* Merge branch 'search-bar'Jonny Lamb2011-08-231-16/+27
|\
| * search-bar: shorten labels to just Next & PreviousJonny Lamb2011-08-221-3/+6
| | | | | | | | | | | | The verb, "Find", is already present on the left of the entry. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * search-bar: use smaller iconsJonny Lamb2011-08-221-1/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * search-bar: make close button non-important stock gtk-closeJonny Lamb2011-08-221-3/+2
| | | | | | | | | | | | | | | | This has the much nicer side-effect that if it gets thrown off the side because it doesn't have enough room, the icon and label will be shown in the expander. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * search-bar: move close button to RHSJonny Lamb2011-08-221-12/+21
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | widget-irc: quit message entry shouldn't be invisibleGuillaume Desmottes2011-08-231-3/+0
|/ | | | https://bugzilla.gnome.org/show_bug.cgi?id=657104
* Don't assume that all FolksIndividuals have a corresponding EmpathyContact.Travis Reitter2011-08-222-17/+25
| | | | | | | Closes: bgo#653599 - Empathy shouldn't assume all TpfPersonas contain a valid TpContact Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Don't assume that all TpfPersonas contain valid TpContactsTravis Reitter2011-08-226-94/+163
| | | | | | | Helps: bgo#653599 - Empathy shouldn't assume all TpfPersonas contain a valid TpContact Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Hide the request message entry if it can't be usedEmilio Pozuelo Monfort2011-08-201-8/+30
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656934
* Set the scrolled window shadow type to Etched inEmilio Pozuelo Monfort2011-08-201-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656934
* Allow to specify the subscription request messageEmilio Pozuelo Monfort2011-08-201-3/+34
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656934
* contact-chooser: use tp_connection_get_account()Guillaume Desmottes2011-08-191-5/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656866
* Merge branch 'trivia'Danielle Madeley2011-08-192-5/+5
|\
| * [log-window] Change Quit for CloseDanielle Madeley2011-08-192-5/+5
| |
* | new-message-dialog: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-44/+11
| | | | | | | | | | | | TP_CONNECTION_FEATURE_CAPABILITIES https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | new-call-dialog: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-44/+17
| | | | | | | | | | | | TP_CONNECTION_FEATURE_CAPABILITIES https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | individual-widget: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-61/+35
| | | | | | | | | | | | TP_CONNECTION_FEATURE_CONTACT_INFO https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | contact-widget: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-10/+6
| | | | | | | | | | | | TP_CONNECTION_FEATURE_CONTACT_INFO https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | contact-search-dialog: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-50/+10
| | | | | | | | | | | | TP_CONNECTION_FEATURE_AVATAR_REQUIREMENTS https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | avatar-chooser: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-5/+1
| | | | | | | | | | | | TP_CONNECTION_FEATURE_AVATAR_REQUIREMENTS https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | account-chooser: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-44/+11
|/ | | | | | | | | TP_CONNECTION_FEATURE_CAPABILITIES, Also simplify empathy_account_chooser_filter_supports_chatrooms in the process. https://bugzilla.gnome.org/show_bug.cgi?id=656831
* Port to new tp-glib client factoryGuillaume Desmottes2011-08-182-17/+13
| | | | | | | | | | | | | | | | | - 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
* Merge branch 'log-window-webview'Danielle Madeley2011-08-187-429/+713
|\
| * Use context menu utility in log viewerDanielle Madeley2011-08-171-5/+25
| |
| * Factor out WebKit context menu as a utilityDanielle Madeley2011-08-173-118/+145
| |
| * Allow clicking on a row to select the contactDanielle Madeley2011-08-161-29/+83
| | | | | | | | Does not currently highlight the row.
| * Reimplement scrollToRowDanielle Madeley2011-08-161-14/+23
| | | | | | | | | | N.B. This has not been properly tested, because I'm not actually sure how to exhaust this codepath.
| * Make WebKit compulsoryDanielle Madeley2011-08-163-48/+11
| | | | | | | | | | It is now required for the log viewer, furthermore it will be required once we remove non-adium themes.
| * Style fixDanielle Madeley2011-08-121-1/+1
| |
| * Remove unused variableDanielle Madeley2011-08-121-2/+0
| |
| * Remove old codeDanielle Madeley2011-08-091-15/+0
| |
| * Set the primary toolbar styleDanielle Madeley2011-08-091-0/+3
| |
| * Add icons to the new log viewerDanielle Madeley2011-08-091-2/+20
| |
| * Add dates to new log viewerDanielle Madeley2011-08-091-3/+6
| |
| * Use the same font-setting utility for empathy-theme-adiumDanielle Madeley2011-08-091-62/+15
| |
| * Use this utility in the log viewerDanielle Madeley2011-08-091-0/+9
| | | | | | | | | | It should also be used for the Adium theme, but this also supports fonts specified in the Adium theme, which we need to support.
| * Utility to set the webkit default font/size from GSettingsDanielle Madeley2011-08-092-0/+77
| |
| * Reimplement log_window_maybe_expand_events()Danielle Madeley2011-08-081-9/+6
| |
| * Remove treeview_events -- make the webview the only viewing componentDanielle Madeley2011-08-072-117/+58
| | | | | | | | Still some commented out code to reimplement.
| * Replace highlighting of search stringsDanielle Madeley2011-08-051-41/+6
| |
| * Support smileys in log viewerDanielle Madeley2011-08-041-2/+9
| |
| * Handle links via external browserDanielle Madeley2011-08-011-0/+19
| |
| * Add expander togglesDanielle Madeley2011-08-011-0/+23
| |
| * Use webkit-utils in LogWindow webviewDanielle Madeley2011-08-011-45/+56
| |
| * Abstract WebKit string parsers into empathy-webkit-utilsDanielle Madeley2011-08-014-68/+137
| | | | | | | | | | | | This file is currently optionally built, but if the logviewer is going to depend on WebKit, maybe that's a bad idea? Maybe we should just make WebKit required (this will probably happen when we require Adium themes in the future).
| * Add a webview widget for displaying the logDanielle Madeley2011-07-291-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The widget is currently bolted in alongside the existing log display widget for comparison. This includes some debugging cruft like showing the secret notebook tabs. The webview is populated from the store_events treestore, allowing all of the existing node-management and ordering code to be used. Attempting to replace this logic in Javascript was demonstratably too hard. This approach keeps the Javascript code down to the 4 GtkTreeModel signals. TODO: - icons - pretty printed dates - expanders - supporting smileys, links, etc. - using the correct font, etc. - removing the debugging
* | Merge branch 'blockade'Will Thompson2011-08-162-11/+24
|\ \ | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656167
| * | Blocking dialog: use a sensible default sizeWill Thompson2011-08-091-0/+2
| | | | | | | | | | | | | | | | | | This is the same area as is used for the custom status dialog's scrolled window. The content area turns out very slightly smaller, because the area includes the tree view's header.
| * | Blocking dialog: Gnome 3-ify Remove buttonWill Thompson2011-08-092-11/+22
| | |
* | | 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
* | | manually build the GstStructureGuillaume Desmottes2011-08-151-5/+11
| | |
* | | Enable echo cancellation if neededGuillaume Desmottes2011-08-151-2/+16
| | |
* | | Use gst_parse_bin_from_description() when EMPATHY_AUDIO_* vars are setGuillaume Desmottes2011-08-152-0/+15
| | | | | | | | | | | | Also factor out empathy_call_set_stream_properties().
* | | LogWindow: don't crash if there are logs from the futureEmilio Pozuelo Monfort2011-08-101-1/+1
|/ / | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656065
* | EmpathyContactChooser: remove EmpathyTpChat propertyGuillaume Desmottes2011-08-052-61/+2
| | | | | | | | | | | | It's not used any more and a generic widget shouldn't need it. https://bugzilla.gnome.org/show_bug.cgi?id=656020
* | Implement TpContact selection in EmpathyInviteParticipantDialogGuillaume Desmottes2011-08-052-55/+4
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656020
* | Implement filtering logic in EmpathyInviteParticipantDialogGuillaume Desmottes2011-08-052-43/+35
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656020
* | Add EmpathyContactChooserGuillaume Desmottes2011-08-053-0/+550
| | | | | | | | | | | | | | This is a pure code refactoring from EmpathyInviteParticipantDialog, this widget is not generic yet. https://bugzilla.gnome.org/show_bug.cgi?id=656020
* | Allow to enter an email address as Yahoo IDGuillaume Desmottes2011-08-041-2/+4
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=655959
* | Factor out empathy_launch_program()Emilio Pozuelo Monfort2011-08-042-0/+56
| | | | | | | | 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.
* | chat_text_maybe_append_date_and_time: compute the right delta between timestampsGuillaume Desmottes2011-08-011-1/+1
| | | | | | | | | | | | The first argument of g_date_time_difference() should be the older timestamp. https://bugzilla.gnome.org/show_bug.cgi?id=654958
* | 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-262-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge remote-tracking branch 'danni/populate-popup-654669'Xavier Claessens2011-07-261-2/+4
|\ \
| * | Assume GDK_KEY_PRESS in the default caseDanielle Madeley2011-07-261-2/+4
| | | | | | | | | | | | Warn if making this assumption.
* | | Merge remote-tracking branch 'danni/drag-n-drop-558942'Xavier Claessens2011-07-263-12/+52
|\ \ \ | |_|/ |/| |
| * | Apply the same fix to EmpathyContactListViewDanielle Madeley2011-07-261-3/+3
| | |
| * | Don't generate critical when dragging with no contact selectedDanielle Madeley2011-07-201-3/+3
| |/ | | | | | | | | | | | | This also fixes the problem where dragging with no contact selected drags the previously selected contact. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=558942
| * Populate spelling suggestions when menu key is pressedDanielle Madeley2011-07-181-6/+46
| | | | | | | | | | | | | | Track what kind of event generated the populate-popup event and then use the cursor position or mouse position as appropriate. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=654669
* | Merge branch 'irc-dialog'Will Thompson2011-07-253-82/+205
|\ \ | | | | | | | | | | | | Fixes: <https://bugzilla.gnome.org/show_bug.cgi?id=654552> Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
| * | IRC accounts: top-justify the password hint.Will Thompson2011-07-251-0/+1
| | | | | | | | | | | | | | | | | | | | | As mentioned on <https://bugzilla.gnome.org/show_bug.cgi?id=654552#c13>, this makes the password hint text be right up against the field it's hinting about, at the cost of even more ugly space between it and the Advanced expander. I think this is the lesser of two evils.
| * | IRC: validate 'username' parameter.Will Thompson2011-07-191-0/+12
| | |
| * | IRC: rename “user_name” regex to “nick_name”Will Thompson2011-07-191-2/+2
| | | | | | | | | | | | | | | | | | | | | The 'account’ parameter in Telepathy, to which this regex applies, is the ‘nickname’ in IRC parlance. (I'm about to add a regex for what IRC calls ‘usernames’.)
| * | IRC accounts: make labels the same width.Will Thompson2011-07-191-0/+10
| | | | | | | | | | | | | | | This addresses Nick's concern on https://bugzilla.gnome.org/show_bug.cgi?id=654552
| * | Add an advanced section to the IRC configuration pageRob Sharp2011-07-192-80/+180
| |/ | | | | | | | | | | | | -Move the Real Name and Quit Message to the advanced section -Add a new Username field to the advanced section https://bugzilla.gnome.org/show_bug.cgi?id=654552
* / Revert "empathy_call_new_with_streams: prefer StreamedMedia over Call"Emilio Pozuelo Monfort2011-07-191-15/+15
|/ | | | | | | | Default to Call channels again. https://bugzilla.gnome.org/show_bug.cgi?id=654611 This reverts commit 1cacc0945f81e0513013b83ca7488589dd6c61f7.
* LogWindow: stop retrieving logs if the window is closedEmilio Pozuelo Monfort2011-07-121-1/+4
|
* Only follow available cameras if the contact can do Video callsEmilio Pozuelo Monfort2011-07-121-4/+9
|
* LogWindow: disable Video calls if no camera connectedEmilio Pozuelo Monfort2011-07-121-1/+18
|
* Bind 'Video call' menu items to available camerasEmilio Pozuelo Monfort2011-07-121-0/+7
|
* NewCallDialog: make 'Enable video' unsensitive when there's no cameraEmilio Pozuelo Monfort2011-07-121-0/+19
|
* CallWindow: save the window geometry without the sidebarEmilio Pozuelo Monfort2011-07-122-16/+38
| | | | | | | | Since we don't show the sidebar when creating new call windows, we should not take the sidebar into account when saving the window geometry. https://bugzilla.gnome.org/show_bug.cgi?id=634809
* CallWindow: don't add calls to searches if they don't matchEmilio Pozuelo Monfort2011-07-121-0/+15
|
* LogWindow: select 'Anyone' when searchingEmilio Pozuelo Monfort2011-07-121-3/+7
|
* LogWindow: don't crash when searchingEmilio Pozuelo Monfort2011-07-121-2/+3
|
* use tp_text_channel_ack_all_pending_messages_async()Guillaume Desmottes2011-07-111-1/+2
|
* theme-adium: use the pending-message-id instead of message-token in ↵Guillaume Desmottes2011-07-081-18/+24
| | | | | | | | | x-empathy-message-id message-token is not guaranteed to be implemented by all CMs while pending-message-id is (for incoming messages). https://bugzilla.gnome.org/show_bug.cgi?id=654015
* LogWindow: make type filters unsensitive as necessaryEmilio Pozuelo Monfort2011-07-051-0/+81
| | | | | | | If there are no events of one type, make its row in the What pane unsensitive. https://bugzilla.gnome.org/show_bug.cgi?id=653343
* LogWindow: expand/collapse events when a row is activatedEmilio Pozuelo Monfort2011-07-051-0/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=653341
* Display `Chat in ...' for MUCsEmilio Pozuelo Monfort2011-07-051-13/+21
| | | | | | Instead of `Chat with ...'. https://bugzilla.gnome.org/show_bug.cgi?id=653175
* LogWindow: really show the users' alias in the Who paneEmilio Pozuelo Monfort2011-07-051-2/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=653116
* empathy_contact_from_tpl_contact: don't override the aliasEmilio Pozuelo Monfort2011-07-053-5/+5
| | | | | | | Add a logged-alias property instead, which can be used by those who need the old alias. And use it in chat themes for the backlog.
* LogWindow: refresh the logs when new events happenEmilio Pozuelo Monfort2011-07-041-3/+260
| | | | | | If they would be displayed for the current selection. https://bugzilla.gnome.org/show_bug.cgi?id=653760
* LogWindow: make it a proper GtkWindow subclassEmilio Pozuelo Monfort2011-07-043-574/+645
| | | | | | And a proper singleton while at it. https://bugzilla.gnome.org/show_bug.cgi?id=653803
* Mark untranslated strings for translation. Fixes:Gabor Kelemen2011-07-012-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=653767
* Autocomplete contacts when blocking by aliasEmilio Pozuelo Monfort2011-06-301-2/+81
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=653650
* LogWindow: keep the selected dates when changing Who or WhatEmilio Pozuelo Monfort2011-06-291-5/+78
| | | | | | If the same dates are present for the new selection. https://bugzilla.gnome.org/show_bug.cgi?id=653635
* Merge branch 'account-parameters'Will Thompson2011-06-281-2/+6
|\
| * Set require-encryption for Facebook and Google TalkWill Thompson2011-06-281-1/+4
| | | | | | | | | | Future versions of Gabble will do this too, but Empathy can make sure it's set too.
| * Set 'server' parameter on GTalk accounts.Will Thompson2011-06-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This stops us depending on properly-configured SRV records. 'fallback-servers' is not good enough in this situation: • foo.com's XMPP stuff is served by Google Apps; • your router breaks SRV requests; • foo.com resolves to 1.2.3.4 which has a (different) XMPP server listening on port 5222. This may seem far-fetched, but this happened to two completely different people, both hosted with Dreamhost. https://bugzilla.gnome.org/show_bug.cgi?id=653510
* | account-widget: hide advanced section for GTalk accountsGuillaume Desmottes2011-06-281-1/+1
|/ | | | | Our fallback path is now robust enough, users shouldn't have to change advanced parameters.
* PresetDialog: remove support for adding statuses entirelyWill Thompson2011-06-242-335/+4
| | | | | | | | We already have a way to do this, namely on the contact list itself. So this dialog now becomes just a way to edit/remove the existing statuses. The margins on the VBox are chosen to make its right-hand edge line up exactly with the right-hand edge of the Close button in the dialog.
* PresetDialog: make status icon in entry non-activatableWill Thompson2011-06-241-0/+3
| | | | | | It's not meaningfully activatable; this has the effect of making it not glow on mouse-over, and preventing the cursor from changing from a caret back to a pointer.
* PresetDialog: GNOME 3-ify the remove buttonWill Thompson2011-06-242-28/+54
| | | | Yum yum joined-toolbar!
* PresetDialog: Don't leak path when focusing freshly-created statusWill Thompson2011-06-241-0/+1
| | | | (This was not introduced by my changes.)
* PresetDialog: Select text cell of freshly-added statusWill Thompson2011-06-241-8/+12
| | | | | | | | | | | | | | | This means you can just mash Enter to edit your mistake. It's more useful than leaving the text entry focused. It also helps hide a bug where the entry doesn't get cleared if you just start typing another message. So previously, typing: Hello<Enter>Miaow<Enter> would give you two statuses, "Hello" and "MiaowEnter Custom Message". It didn't seem worth fixing this much more since Gtk+ 3.2 will probably grow native support for placeholder text: <https://bugzilla.gnome.org/show_bug.cgi?id=440963>
* PresetDialog: Allow >1 status to be removed at a time.Will Thompson2011-06-241-16/+22
| | | | | | This is pretty niche but we may as well. I want it sometimes. There's no reason to disallow it, and it's not like it adds any significant complexity.
* PresetDialog: Don't allow resizing status preset dialogWill Thompson2011-06-241-0/+1
| | | | It's big enough.
* PresetDialog: make Add button less huge.Will Thompson2011-06-241-0/+1
| | | | | I tried and failed to make it the same size as the other two buttons, so this will have to do.
* PresetDialog: make the window tallerWill Thompson2011-06-241-2/+2
| | | | | | | | | | | | | The element we really care about the size of is the list of statuses past. So I moved the horizontal size request to that—the window has 6px of padding or so, so this makes it pretty much exactly the same width—and made the height request be in the golden ratio to it. I'm probably unusual in having enough statuses to fill my laptop screen vertically, but, subjectively, this makes the dialog look less stubby even now I've removed them all to test. https://bugzilla.gnome.org/show_bug.cgi?id=630943
* PresenceChooser: remove unused #define FLASH_TIMEOUTWill Thompson2011-06-241-3/+0
|
* Don't try to access adium theme when webkit support is disabledMarc-Antoine Perennou2011-06-231-0/+2
| | | | Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
* Merge branch 'history-misc'Emilio Pozuelo Monfort2011-06-231-2/+19
|\
| * LogWindow: display the user id in a tooltip in the Who paneEmilio Pozuelo Monfort2011-06-231-0/+5
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=573652
| * LogWindow: show "Chat with <MUC>" for MUCsEmilio Pozuelo Monfort2011-06-221-2/+14
| | | | | | | | | | | | | | Instead of "Chat with <someone>", which is confusing as there may be (and most likely there are) many people in the room. https://bugzilla.gnome.org/show_bug.cgi?id=653175
* | Use tp-glib password API (#651055)Guillaume Desmottes2011-06-221-5/+5
| |
* | Merge branch 'unread-653090'Guillaume Desmottes2011-06-211-0/+11
|\ \ | |/ |/|
| * empathy-chat: properly count unread messages when the connection goes away ↵Guillaume Desmottes2011-06-211-0/+11
| | | | | | | | (#653090)
* | Merge branch 'history-ui'Emilio Pozuelo Monfort2011-06-212-126/+183
|\ \ | |/ |/|
| * LogWindow: also show the spinner and expand the chats for searchesEmilio Pozuelo Monfort2011-06-211-10/+13
| |
| * LogWindow: allow to start actions from an event rowEmilio Pozuelo Monfort2011-06-211-112/+76
| | | | | | | | | | | | | | | | If we don't know the contact by looking at the 'Who' pane (because e.g. there are many selected or it has 'Anyone'), look at the selected row (if any) in the events pane to determine the contact. https://bugzilla.gnome.org/show_bug.cgi?id=652278
| * LogWindow: expand the events when there's only oneEmilio Pozuelo Monfort2011-06-211-0/+15
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=652265
| * LogWindow: improve loading spinnerEmilio Pozuelo Monfort2011-06-211-1/+30
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=652279
| * LogWindow: highlight the searched textEmilio Pozuelo Monfort2011-06-211-7/+50
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=652522
| * LogWindow: Add a border between the three search panesEmilio Pozuelo Monfort2011-06-201-0/+3
| |