From 415411682db49f95b121d27e94d3918445d391bf Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 6 Feb 2003 11:18:05 +0000 Subject: Clear also location history when clearing history. Doesnt update 2003-02-06 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (ephy_location_entry_clear_history): * lib/widgets/ephy-location-entry.h: * src/history-dialog.c: (history_clear_button_clicked_cb): * src/toolbar.c: (toolbar_clear_location_history): * src/toolbar.h: Clear also location history when clearing history. Doesnt update immediately, gtk/gnome bug, will submit patches. --- lib/widgets/ephy-location-entry.c | 6 ++++++ lib/widgets/ephy-location-entry.h | 1 + 2 files changed, 7 insertions(+) (limited to 'lib/widgets') diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index 545c3bcaa..2c7f96ed8 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -716,3 +716,9 @@ ephy_location_entry_set_autocompletion_key (EphyLocationEntry *e) } } +void +ephy_location_entry_clear_history (EphyLocationEntry *w) +{ + gnome_entry_clear_history (GNOME_ENTRY (w->priv->combo)); +} + diff --git a/lib/widgets/ephy-location-entry.h b/lib/widgets/ephy-location-entry.h index d292ffb0c..c56a25cc7 100644 --- a/lib/widgets/ephy-location-entry.h +++ b/lib/widgets/ephy-location-entry.h @@ -70,5 +70,6 @@ gchar *ephy_location_entry_get_location (EphyLocationEntry *w); void ephy_location_entry_set_autocompletion (EphyLocationEntry *w, EphyAutocompletion *ac); void ephy_location_entry_activate (EphyLocationEntry *w); +void ephy_location_entry_clear_history (EphyLocationEntry *w); #endif -- cgit v1.2.3