diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-02-06 19:18:05 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-02-06 19:18:05 +0800 |
commit | 415411682db49f95b121d27e94d3918445d391bf (patch) | |
tree | eb370ff9ed68eb4e3754411c580aa2b8de297b94 /lib/widgets | |
parent | 22b5564396f1f0bb07ec810e3238697edf62564e (diff) | |
download | gsoc2013-epiphany-415411682db49f95b121d27e94d3918445d391bf.tar gsoc2013-epiphany-415411682db49f95b121d27e94d3918445d391bf.tar.gz gsoc2013-epiphany-415411682db49f95b121d27e94d3918445d391bf.tar.bz2 gsoc2013-epiphany-415411682db49f95b121d27e94d3918445d391bf.tar.lz gsoc2013-epiphany-415411682db49f95b121d27e94d3918445d391bf.tar.xz gsoc2013-epiphany-415411682db49f95b121d27e94d3918445d391bf.tar.zst gsoc2013-epiphany-415411682db49f95b121d27e94d3918445d391bf.zip |
Clear also location history when clearing history. Doesnt update
2003-02-06 Marco Pesenti Gritti <marco@it.gnome.org>
* 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.
Diffstat (limited to 'lib/widgets')
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 6 | ||||
-rw-r--r-- | lib/widgets/ephy-location-entry.h | 1 |
2 files changed, 7 insertions, 0 deletions
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 |