From 3a78991995ffbd980f1520a4c666929a7ed8b19c Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 29 Nov 2005 15:09:04 +0000 Subject: Add a method to generate collation keys for domain names. 2005-11-29 Christian Persch * lib/ephy-string.c: (ephy_string_collate_key_for_domain): * lib/ephy-string.h: Add a method to generate collation keys for domain names. * src/pdm-dialog.c: (cookie_search_equal), (pdm_dialog_cookies_construct), (cookie_host_to_iter), (compare_cookie_host_keys), (pdm_dialog_fill_cookies_list), (pdm_dialog_cookies_destruct), (pdm_dialog_cookie_add), (pdm_dialog_cookie_scroll_to), (sync_notebook_tab), (pdm_dialog_init), (pdm_dialog_finalize), (pdm_dialog_open): * src/pdm-dialog.h: * src/window-commands.c: (window_cmd_edit_personal_data): Open the PDM dialogue on the cookies page scrolled to show the cookies of the currently loaded page, if there are any. Sort cookies by domain. Allow treeview typeaheadfind search to find by substring not prefix. --- lib/ephy-string.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/ephy-string.h') diff --git a/lib/ephy-string.h b/lib/ephy-string.h index d5b932ba0..6bb50ff3e 100644 --- a/lib/ephy-string.h +++ b/lib/ephy-string.h @@ -33,6 +33,9 @@ char *ephy_string_blank_chr (char *source); char *ephy_string_shorten (char *str, gsize target_length); +char *ephy_string_collate_key_for_domain (const char *host, + gssize len); + G_END_DECLS #endif -- cgit v1.2.3