Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
These were introduced by the virtual-root work.
|
|
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
Fixes: NB#134052
|
|
Don't assume that the GtkTreeModel given to HildonLiveSearch
is the one used by the GtkTreeView. hildon-fm uses a
GtkTreeModelSort after the GtkTreeModelFilter, so it makes
the necessary conversions of iterators if the application has a
GtkTreeModelSort.
Don't assume that items in the view have a deepness of 0.
In selection_map_update_selection_from_map and
selection_map_update_map_from_selection, it
makes the conversions of GtkTreePath.
Fixes: NB#140251, Livesearch for File Manager
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
|
|
Doing it in _set_text was causing a problem with information banner,
which ended up not having the animation widget.
Fixes: NB#156325
|
|
Explain that the dialog emits GtkDialog::response when a selection is
completed
|
|
Fixes: MB#9194
|
|
Support silent build rules, requires at least automake-1.11.
Disable by either passing --disable-silent-rules to configure or
passing V=1 to make.
Fixes https://bugs.maemo.org/show_bug.cgi?id=5147
|
|
Fixes: NB#113741 (Ctrl+A shortcut not working in Delete fields dialog)
|
|
|
|
|
|
Fixes: NB#156737
|
|
Fixes: NB#155502 (HildonPickerDialog doesn't support portrait mode)
|
|
Fixes: MB#8731 (Memory leaks in widget HildonAnimationActor)
|