aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-find-toolbar.c10
2 files changed, 8 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f40428cb..11bc2f433 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-12 Cosimo Cecchi <cosimoc@svn.gnome.org>
+
+ * src/ephy-find-toolbar.c: (ephy_find_toolbar_open):
+
+ Find toolbar now remembers last pattern searched also when opened with
+ GDK_slash or GDK_apostrophe. Fixes bug #343337.
+
2007-09-11 Cosimo Cecchi <cosimoc@svn.gnome.org>
* src/ephy-home-action.c: (action_name_association),
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 4202710e5..cf528976e 100644
--- a/src/ephy-find-toolbar.c
+++ b/src/ephy-find-toolbar.c
@@ -669,7 +669,6 @@ ephy_find_toolbar_open (EphyFindToolbar *toolbar,
gboolean typing_ahead)
{
EphyFindToolbarPrivate *priv = toolbar->priv;
- gboolean clear_search = typing_ahead;
g_return_if_fail (priv->embed != NULL);
@@ -678,14 +677,7 @@ ephy_find_toolbar_open (EphyFindToolbar *toolbar,
clear_status (toolbar);
- if (clear_search)
- {
- gtk_entry_set_text (GTK_ENTRY (priv->entry), "");
- }
- else
- {
- gtk_editable_select_region (GTK_EDITABLE (priv->entry), 0, -1);
- }
+ gtk_editable_select_region (GTK_EDITABLE (priv->entry), 0, -1);
gtk_widget_show (GTK_WIDGET (toolbar));
gtk_widget_grab_focus (GTK_WIDGET (toolbar));