aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-02 23:16:41 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-02 23:16:41 +0800
commit37cc7f0bb5f9e4e7257ff9b7106dd92467590d43 (patch)
treed2c21062ffb30b383187311a657c26148c5ddf28 /embed/ephy-history.c
parent2f0a4969602af118edfcb2959d422b7c03e022b0 (diff)
downloadgsoc2013-epiphany-37cc7f0bb5f9e4e7257ff9b7106dd92467590d43.tar
gsoc2013-epiphany-37cc7f0bb5f9e4e7257ff9b7106dd92467590d43.tar.gz
gsoc2013-epiphany-37cc7f0bb5f9e4e7257ff9b7106dd92467590d43.tar.bz2
gsoc2013-epiphany-37cc7f0bb5f9e4e7257ff9b7106dd92467590d43.tar.lz
gsoc2013-epiphany-37cc7f0bb5f9e4e7257ff9b7106dd92467590d43.tar.xz
gsoc2013-epiphany-37cc7f0bb5f9e4e7257ff9b7106dd92467590d43.tar.zst
gsoc2013-epiphany-37cc7f0bb5f9e4e7257ff9b7106dd92467590d43.zip
Update bookmarks from HTTP 301. Fixes bug #126312.
2004-12-02 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_class_init): * embed/ephy-history.h: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphyHistoryListener.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/Makefile.am: * src/bookmarks/ephy-bookmarks.c: (redirect_cb), (ephy_setup_history_notifiers): * src/ephy-window.c: (confirm_close_with_modified_forms), (ensure_window_group), (ephy_window_init): Update bookmarks from HTTP 301. Fixes bug #126312.
Diffstat (limited to 'embed/ephy-history.c')
-rw-r--r--embed/ephy-history.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index 90b0fb6f0..d485616b7 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -21,6 +21,7 @@
#include "config.h"
#include "ephy-history.h"
+#include "ephy-marshal.h"
#include "ephy-file-helpers.h"
#include "ephy-debug.h"
#include "ephy-node-db.h"
@@ -70,6 +71,7 @@ enum
{
VISITED,
CLEARED,
+ REDIRECT,
LAST_SIGNAL
};
@@ -197,7 +199,19 @@ ephy_history_class_init (EphyHistoryClass *klass)
G_TYPE_NONE,
0);
- g_type_class_add_private (object_class, sizeof(EphyHistoryPrivate));
+ signals[REDIRECT] =
+ g_signal_new ("redirect",
+ G_OBJECT_CLASS_TYPE (object_class),
+ G_SIGNAL_RUN_FIRST,
+ G_STRUCT_OFFSET (EphyHistoryClass, redirect),
+ NULL, NULL,
+ ephy_marshal_VOID__STRING_STRING,
+ G_TYPE_NONE,
+ 2,
+ G_TYPE_STRING,
+ G_TYPE_STRING);
+
+ g_type_class_add_private (object_class, sizeof (EphyHistoryPrivate));
}
static gboolean