aboutsummaryrefslogtreecommitdiff
path: root/hildon
AgeCommit message (Collapse)Author
2011-11-14Merged imcontext.patchTomasz Sterna
2011-11-14Merged fixlivesearch.patchTomasz Sterna
2011-11-14Merged enumtypes.patchTomasz Sterna
2011-11-14Merged setplaceholdertext.patchTomasz Sterna
2011-11-14Merged setthemesize.patchTomasz Sterna
2011-11-14Merged hildonuimode.patchTomasz Sterna
2011-11-14Merged fix-hildonsizetype.patchTomasz Sterna
2010-07-21Add hildon_picker_button_{get,set}_active_iter ()Alberto Garcia
Fixes: MB#5589
2010-06-15Use hildon_live_search_set_text() when hiding the live search widgetClaudio Saavedra
In order to get advantage of the fix in the previous commit. Fixes: NB#174382 (Only filtered contacts are picked from contact list)
2010-06-15Don't filter asynchronously when hildon_live_search_set_text() calledClaudio Saavedra
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.
2010-06-15Do not destroy the mapping until the filtering is actually doneClaudio Saavedra
2010-06-03Remove unnedded definitions from HildonTimeButton and HildonDateButtonClaudio Saavedra
2010-06-03Use a stock string for the date and time buttonsClaudio Saavedra
2010-06-03Honor "use-stock" property for the HildonButton titleClaudio Saavedra
If GtkButton:use-stock is %TRUE, look up for the string in the title in the stock.
2010-06-03Use Hildon stock items in all widgets where it makes senseClaudio Saavedra
2010-06-03Add stock items for HildonClaudio Saavedra
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.
2010-06-01Add and use new iconv based matching methodsClaudio Saavedra
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 "Ł")
2010-05-21Use gdk_threads_add_idle for the idle live search refilteringClaudio Saavedra
2010-05-14Documentation fixesClaudio Saavedra
2010-05-10Make filtering in HildonLiveSearch asynchronousClaudio Saavedra
There is no need to do a blocking call to refilter(), so simply connect an idle callback. This improves responsiveness in huge lists.
2010-05-10Call g_list_free() once instead of multiple times g_list_delete_link()Claudio Saavedra
2010-05-07Fix a critical warningClaudio Saavedra
Need to remove a row reference from the hash table when it's no longer in the model.
2010-05-06Mark reference_row_has_path() as staticClaudio Saavedra
2010-05-05Use a GtkTreeRowReference in HildonLiveSearch instead of GtkTreePathAlban Crequy
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>
2010-05-05Fix another critical warningClaudio Saavedra
Fixes: NB#162288 (Changing the presence continously will lead to multiple GLIB Criticals in syslog)
2010-04-29Fix critical warnings in HildonLiveSearchClaudio Saavedra
These happen when convert_child_path_to_path() returns a NULL pointer.
2010-04-29[HildonLiveSearch] Use selection map only when not in GTK_SELECTION_NONEClaudio Saavedra
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.
2010-04-27[HildonLiveSearch] Initialize priv->selection_mapClaudio Saavedra
2010-04-26Fix hildon_helper_utf8_strstrcasedecomp_needle_stripped()Claudio Saavedra
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.
2010-04-26Remove unneeded variableClaudio Saavedra
2010-04-21Fix compilation warningAlberto Garcia
2010-04-14Fix an issue with strstrcasedecomp_needle_stripped()Alban Crequy
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>
2010-04-13Pass ctrl+space to the GtkEntry in HildonLiveSearchClaudio Saavedra
This allows IM to do its work and switch the keyboard layout. Fixes: NB#155362 (Cannot change language in Contacts from keyboard)
2010-04-12Don't give up search when there is a '\n' in the haystackAlban Crequy
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-04-12Make strip_string() and strstrcasedecomp_needle_stripped() publicClaudio Saavedra
So that other implementations of the live search can take advantage of them.
2010-04-12Revert "[HildonLiveSearch] Unset the filter visible func. during dispose"Claudio Saavedra
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.
2010-04-06Fix size request of HildonBanner labelAlberto Garcia
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)
2010-03-22[HildonLiveSearch] Unset the filter visible func. during disposeClaudio Saavedra
This prevents a crasher when the model changes after the live search is disposed.
2010-03-22[HildonPannableArea] Explicitly unmap during unrealizationClaudio Saavedra
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)
2010-03-16Compute the HildonPickerDialog size request correctly in portrait modeAlberto Garcia
Fixes: NB#158695 (HildonTouchSelector looks bad in portrait mode) Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-03-08Fixed compilation warning in HildonLiveSearch regarding TreeModelSortXabier Rodriguez Calvar
2010-03-03Fix consistency of selection map in HildonLiveSearchXavier Claessens
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>
2010-02-26Remove spare g_debug()Adam Endrodi
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-02-25Fix critical warningsClaudio Saavedra
Create the selection map when the filter is set and there is already a prefix text in the live search.
2010-02-25Filter after visible func. or filter are setClaudio Saavedra
This enables HildonLiveSearch:text to be set before the filter or visible function, and make it work accordingly.
2010-02-25Fix a critical warningClaudio Saavedra
There is a critical warning when HildonLiveSearch:text is set right after creation.
2010-02-25Documentation additions and minor fixesClaudio Saavedra
2010-02-25Indentation fixesClaudio Saavedra
2010-02-25Use the setter in hildon_live_search_set_property for "text"Claudio Saavedra
2010-02-25Emit GObject::notify on HildonLiveSearch:text changesClaudio Saavedra
Since HildonLiveSearch:text is a proxy for GtkEntry:text, it makes sense to do it in the handler for GtkEntry::changed.