Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes: MB#5589
|
|
In order to get advantage of the fix in the previous commit.
Fixes: NB#174382 (Only filtered contacts are picked from contact list)
|
|
This is because calls to hildon_live_search_set_text() followed by a
retrieval of the selection will then break, and at least addressbook
assumes that this will happen synchronously.
Since we only want to give better responsiveness in the case when the
user is typing, no need to go fully asynchronously.
|
|
|
|
|
|
|
|
If GtkButton:use-stock is %TRUE, look up for the string in the title
in the stock.
|
|
|
|
These stock items are the strings that are provided by the library for
standard buttons and actions. Up to now, the only possibility to use
them in application side was to find out the logical ID and to make a
call to a gettext() function. This had several disadvantages:
- It doesn't provide guarantees of API or ABI stability.
- Application developers need to find out the gettext context, which
is internal to the library.
- Calls to gettext() for hildon strings in application code causes
unwanted strings to appear in the application pot file, which cause
confusion among translators.
|
|
These methods allow for more complete matching rules, including for
example the polish Ł. Use them now in the HildonTouchSelector live
search.
Fixes: MB#9948 (Contact quick search entering L does not recognize Polish "Ł")
Fixes: NB#165083 (Contact quick search entering L does not recognize Polish "Ł")
|
|
|
|
|
|
There is no need to do a blocking call to refilter(), so simply
connect an idle callback. This improves responsiveness in huge lists.
|
|
|
|
Need to remove a row reference from the hash table when it's
no longer in the model.
|
|
|
|
This fixes a bug when the underlying model changes and the selection
becomes corrupt.
Also, this patch uses a more efficient approach when creating and
using the mapping, avoiding iterating the whole model but the selected
items only instead.
Fixes: NB#165952 (HildonLiveSearch selection is not consistent when
the model changes)
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
Fixes: NB#162288 (Changing the presence continously will lead to
multiple GLIB Criticals in syslog)
|
|
These happen when convert_child_path_to_path() returns a NULL
pointer.
|
|
It is not necessary to maintain a selection mapping when the GtkTreeView's
selection mode is GTK_SELECTION_NONE, so don't waste time on it.
|
|
|
|
This method not returning the location of the matched string
when the string is found after a sequence of non alphanumeric
strings.
To fix this, it was necessary to extend get_next() to return as well
the location of the next valid character.
|
|
|
|
|
|
Previous patch by Alban introduces a read-after-end error
in get_next(). This is a more robust attempt at skipping
but not aborting on control characters.
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
This allows IM to do its work and switch the keyboard layout.
Fixes: NB#155362 (Cannot change language in Contacts from keyboard)
|
|
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
So that other implementations of the live search can take advantage
of them.
|
|
This reverts commit fc750821842df60096068c9c9e4b33085a1eecbf. That
commit is broken since the filter is set to NULL. Also, it is not
really possible to change or unset the visible function, so we
are doomed.
|
|
Use the desired size (taken from the Pango layout) directly
in the GtkWidget::"size-request" callback instead of calling
gtk_widget_set_size_request() to set it.
Fixes: NB#156165 (multi-line portrait info banners misalignment)
|
|
This prevents a crasher when the model changes after the live search is
disposed.
|
|
Since GtkWidget won't necessarily emit GtkWidget::unmap during
unrealization, we need to explicitly unmap if necessary to avoid
leaving our resources and handlers lying around. See bgo#613302.
Fixes: NB#160879 (crash in pannable area with glib 2.23.5)
|
|
Fixes: NB#158695 (HildonTouchSelector looks bad in portrait mode)
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
|
|
Fixes NB#158744 (1st selected contact from the list is replaced with
the next one instead of appending both to the list)
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
Create the selection map when the filter is set and there is already a
prefix text in the live search.
|
|
This enables HildonLiveSearch:text to be set before the filter or
visible function, and make it work accordingly.
|
|
There is a critical warning when HildonLiveSearch:text is
set right after creation.
|
|
|
|
|
|
|
|
Since HildonLiveSearch:text is a proxy for GtkEntry:text, it
makes sense to do it in the handler for GtkEntry::changed.
|