[epiphany/history-rewrite] Add a EphyBrowseHistory instance to EphyEmbed



commit f538f4c653000a817bbf8b4b5296629fdb5b3e87
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Fri Aug 26 14:28:09 2011 +0300

    Add a EphyBrowseHistory instance to EphyEmbed

 embed/ephy-embed.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 623c659..6080be3 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -36,6 +36,7 @@
 #include "ephy-embed-utils.h"
 #include "ephy-file-helpers.h"
 #include "ephy-history.h"
+#include "ephy-browse-history.h"
 #include "ephy-prefs.h"
 #include "ephy-settings.h"
 #include "ephy-stock-icons.h"
@@ -72,6 +73,7 @@ struct _EphyEmbedPrivate
   GtkPaned *paned;
   WebKitWebView *web_view;
   EphyHistory *history;
+  EphyBrowseHistory *browse_history;
   GtkWidget *inspector_window;
   GtkWidget *inspector_web_view;
   GtkWidget *inspector_scrolled_window;
@@ -589,6 +591,7 @@ ephy_embed_constructed (GObject *object)
   ephy_embed_prefs_add_embed (embed);
 
   embed->priv->history = EPHY_HISTORY (ephy_embed_shell_get_global_history (ephy_embed_shell_get_default ()));
+  embed->priv->browse_history = EPHY_BROWSE_HISTORY (ephy_embed_shell_get_global_browse_history (ephy_embed_shell_get_default ()));
 
   g_signal_connect (embed->priv->history,
                     "cleared", G_CALLBACK (ephy_embed_history_cleared_cb),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]