aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-04-18 02:34:38 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-18 02:34:38 +0800
commitf4aaa4442027d3078cc2809a0c9db2d5b4e48d85 (patch)
treedb01f8e47d598f4f971aa0fe6a40d6acacefec09 /src/ephy-window.c
parent868e9739e1a2273ebe6f668cd28cc0b9eec50c2d (diff)
downloadgsoc2013-epiphany-f4aaa4442027d3078cc2809a0c9db2d5b4e48d85.tar
gsoc2013-epiphany-f4aaa4442027d3078cc2809a0c9db2d5b4e48d85.tar.gz
gsoc2013-epiphany-f4aaa4442027d3078cc2809a0c9db2d5b4e48d85.tar.bz2
gsoc2013-epiphany-f4aaa4442027d3078cc2809a0c9db2d5b4e48d85.tar.lz
gsoc2013-epiphany-f4aaa4442027d3078cc2809a0c9db2d5b4e48d85.tar.xz
gsoc2013-epiphany-f4aaa4442027d3078cc2809a0c9db2d5b4e48d85.tar.zst
gsoc2013-epiphany-f4aaa4442027d3078cc2809a0c9db2d5b4e48d85.zip
New history dialog implementation. More similar to bookmarks. Yeah it
2003-04-17 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/Makefile.am: * embed/ephy-history.c: (ephy_history_init): * embed/ephy-history.h: * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_value): * src/Makefile.am: * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_show_bookmarks_editor), (history_window_hide_cb), (ephy_shell_show_history_window): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_finalize), (update_embed_dialogs), (ephy_window_get_find_dialog): * src/ephy-window.h: * src/window-commands.c: (window_cmd_go_history): New history dialog implementation. More similar to bookmarks. Yeah it still sucks ... but the hard part is done.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index f9cd8addd..8c35cd91e 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -27,7 +27,6 @@
#include "ppview-toolbar.h"
#include "window-commands.h"
#include "find-dialog.h"
-#include "history-dialog.h"
#include "ephy-shell.h"
#include "eel-gconf-extensions.h"
#include "ephy-prefs.h"
@@ -265,8 +264,6 @@ struct EphyWindowPrivate
EphyTab *active_tab;
GtkWidget *sidebar;
EphyDialog *find_dialog;
- EphyDialog *history_dialog;
- EphyDialog *history_sidebar;
EmbedChromeMask chrome_mask;
gboolean closing;
};
@@ -590,13 +587,6 @@ ephy_window_finalize (GObject *object)
g_object_unref (G_OBJECT (window->priv->find_dialog));
}
- if (window->priv->history_dialog)
- {
- g_object_remove_weak_pointer
- (G_OBJECT(window->priv->history_dialog),
- (gpointer *)&window->priv->history_dialog);
- }
-
g_object_unref (window->priv->fav_menu);
g_object_unref (window->priv->enc_menu);
@@ -1359,8 +1349,6 @@ update_embed_dialogs (EphyWindow *window,
{
EphyEmbed *embed;
EphyDialog *find_dialog = window->priv->find_dialog;
- EphyDialog *history_dialog = window->priv->history_dialog;
- EphyDialog *history_sidebar = window->priv->history_sidebar;
embed = ephy_tab_get_embed (tab);
@@ -1370,20 +1358,6 @@ update_embed_dialogs (EphyWindow *window,
(EPHY_EMBED_DIALOG(find_dialog),
embed);
}
-
- if (history_dialog)
- {
- ephy_embed_dialog_set_embed
- (EPHY_EMBED_DIALOG(history_dialog),
- embed);
- }
-
- if (history_sidebar)
- {
- ephy_embed_dialog_set_embed
- (EPHY_EMBED_DIALOG(history_sidebar),
- embed);
- }
}
static void
@@ -1451,25 +1425,6 @@ ephy_window_get_find_dialog (EphyWindow *window)
}
void
-ephy_window_show_history (EphyWindow *window)
-{
- EphyEmbed *embed;
-
- embed = ephy_window_get_active_embed (window);
- g_return_if_fail (embed != NULL);
-
- window->priv->history_dialog = history_dialog_new_with_parent
- (GTK_WIDGET(window),
- embed,
- FALSE);
- g_object_add_weak_pointer
- (G_OBJECT(window->priv->history_dialog),
- (gpointer *)&window->priv->history_dialog);
-
- ephy_dialog_show (window->priv->history_dialog);
-}
-
-void
ephy_window_set_zoom (EphyWindow *window,
gint zoom)
{