diff options
author | David Bordoley <bordoley@msu.edu> | 2003-04-21 22:27:53 +0800 |
---|---|---|
committer | Dave Bordoley <Bordoley@src.gnome.org> | 2003-04-21 22:27:53 +0800 |
commit | a43ec4118dd3f0ca9bba92d38b0bfe54d632b3f7 (patch) | |
tree | b09339f885cc314f4b6c7aa3a0e08220922cc70a | |
parent | 861ffe47ca91ae1fa7a39c422c6941885d31bb2d (diff) | |
download | gsoc2013-epiphany-a43ec4118dd3f0ca9bba92d38b0bfe54d632b3f7.tar gsoc2013-epiphany-a43ec4118dd3f0ca9bba92d38b0bfe54d632b3f7.tar.gz gsoc2013-epiphany-a43ec4118dd3f0ca9bba92d38b0bfe54d632b3f7.tar.bz2 gsoc2013-epiphany-a43ec4118dd3f0ca9bba92d38b0bfe54d632b3f7.tar.lz gsoc2013-epiphany-a43ec4118dd3f0ca9bba92d38b0bfe54d632b3f7.tar.xz gsoc2013-epiphany-a43ec4118dd3f0ca9bba92d38b0bfe54d632b3f7.tar.zst gsoc2013-epiphany-a43ec4118dd3f0ca9bba92d38b0bfe54d632b3f7.zip |
Added back code to clear the location entry. Marco I hope this is ok with
2003-04-21 David Bordoley <bordoley@msu.edu>
* src/ephy-history-window.c: (cmd_clear):
Added back code to clear the location entry.
Marco I hope this is ok with you :)
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/ephy-history-window.c | 15 |
2 files changed, 22 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2003-04-21 David Bordoley <bordoley@msu.edu> + * src/ephy-history-window.c: (cmd_clear): + + Added back code to clear the location entry. + Marco I hope this is ok with you :) + +2003-04-21 David Bordoley <bordoley@msu.edu> + * data/ui/epiphany-bookmark-editor-ui.xml.in: Fixed a duplicate seperator. Add a view menu. diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index 9836f20a6..efa6e16aa 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -43,6 +43,7 @@ #include "ephy-debug.h" #include "ephy-new-bookmark.h" #include "ephy-stock-icons.h" +#include "toolbar.h" static GtkTargetEntry page_drag_types [] = { @@ -163,6 +164,20 @@ static void cmd_clear (EggAction *action, EphyHistoryWindow *editor) { + const GList *windows; + Session *session; + + session = ephy_shell_get_session (ephy_shell); + windows = session_get_windows (session); + + for (; windows != NULL; windows = windows->next) + { + Toolbar *t; + + t = ephy_window_get_toolbar (EPHY_WINDOW (windows->data)); + toolbar_clear_location_history (t); + } + ephy_history_clear (editor->priv->history); } |