aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-07-13 00:26:19 +0800
committerXan Lopez <xan@src.gnome.org>2003-07-13 00:26:19 +0800
commitc16f33a0183bf8da7c13eea9f85472d1ef807be0 (patch)
treeaa9425b2280c3d4780e24671bcb04f72e7396d02 /src/ephy-history-window.c
parent61f1dcadb9567d95440a6b0f4ea0863401c2934e (diff)
downloadgsoc2013-epiphany-c16f33a0183bf8da7c13eea9f85472d1ef807be0.tar
gsoc2013-epiphany-c16f33a0183bf8da7c13eea9f85472d1ef807be0.tar.gz
gsoc2013-epiphany-c16f33a0183bf8da7c13eea9f85472d1ef807be0.tar.bz2
gsoc2013-epiphany-c16f33a0183bf8da7c13eea9f85472d1ef807be0.tar.lz
gsoc2013-epiphany-c16f33a0183bf8da7c13eea9f85472d1ef807be0.tar.xz
gsoc2013-epiphany-c16f33a0183bf8da7c13eea9f85472d1ef807be0.tar.zst
gsoc2013-epiphany-c16f33a0183bf8da7c13eea9f85472d1ef807be0.zip
A "fast search" implementation for all node views. Pressing any valid
A "fast search" implementation for all node views. Pressing any valid unicode character will make ephy select the first entry begining with that key, or the nearest match (with previous or posterior letters). Fixes bug #116744 (http://bugzilla.gnome.org/show_bug.cgi?id=116744).
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r--src/ephy-history-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 060cde755..8636557c9 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -1025,7 +1025,8 @@ ephy_history_window_construct (EphyHistoryWindow *editor)
G_TYPE_STRING,
EPHY_NODE_PAGE_PROP_TITLE,
EPHY_NODE_PAGE_PROP_PRIORITY,
- EPHY_NODE_VIEW_AUTO_SORT,
+ EPHY_NODE_VIEW_AUTO_SORT |
+ EPHY_NODE_VIEW_SEARCHABLE,
provide_favicon);
gtk_container_add (GTK_CONTAINER (scrolled_window), sites_view);
gtk_widget_show (sites_view);
@@ -1069,7 +1070,8 @@ ephy_history_window_construct (EphyHistoryWindow *editor)
EPHY_NODE_PAGE_PROP_LOCATION);
col = ephy_node_view_add_column (EPHY_NODE_VIEW (pages_view), _("Title"),
G_TYPE_STRING, EPHY_NODE_PAGE_PROP_TITLE,
- -1, EPHY_NODE_VIEW_USER_SORT, NULL);
+ -1, EPHY_NODE_VIEW_USER_SORT |
+ EPHY_NODE_VIEW_SEARCHABLE, NULL);
gtk_tree_view_column_set_max_width (col, 250);
col = ephy_node_view_add_column (EPHY_NODE_VIEW (pages_view), _("Address"),
G_TYPE_STRING, EPHY_NODE_PAGE_PROP_LOCATION,