aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-10-26 04:01:20 +0800
committerXan Lopez <xan@src.gnome.org>2007-10-26 04:01:20 +0800
commitcc62537ebba1ba9ab31cc3da32ddf51556045caa (patch)
tree0a052838c4cb61bd8290a4f2a40ed0903eb1e9fc /src/window-commands.c
parentbe872c7f830e2789c9dd5968b2a66d7ddf06f60b (diff)
downloadgsoc2013-epiphany-cc62537ebba1ba9ab31cc3da32ddf51556045caa.tar
gsoc2013-epiphany-cc62537ebba1ba9ab31cc3da32ddf51556045caa.tar.gz
gsoc2013-epiphany-cc62537ebba1ba9ab31cc3da32ddf51556045caa.tar.bz2
gsoc2013-epiphany-cc62537ebba1ba9ab31cc3da32ddf51556045caa.tar.lz
gsoc2013-epiphany-cc62537ebba1ba9ab31cc3da32ddf51556045caa.tar.xz
gsoc2013-epiphany-cc62537ebba1ba9ab31cc3da32ddf51556045caa.tar.zst
gsoc2013-epiphany-cc62537ebba1ba9ab31cc3da32ddf51556045caa.zip
Port src/ to the new properties in EphyEmbed.
svn path=/trunk/; revision=7564
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index d8cf7a73e..9240d286e 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -127,7 +127,7 @@ window_cmd_file_send_to (GtkAction *action,
embed = ephy_window_get_active_embed (window);
g_return_if_fail (embed != NULL);
- location = gnome_vfs_escape_string (ephy_tab_get_address (tab));
+ location = gnome_vfs_escape_string (ephy_embed_get_address (embed));
title = gnome_vfs_escape_string (ephy_embed_get_title (embed));
url = g_strconcat ("mailto:",
@@ -229,8 +229,8 @@ window_cmd_file_bookmark_page (GtkAction *action,
g_return_if_fail (embed != NULL);
ephy_bookmarks_ui_add_bookmark (GTK_WINDOW (window),
- ephy_tab_get_address (tab),
- ephy_tab_get_title (tab));
+ ephy_embed_get_address (embed),
+ ephy_embed_get_title (embed));
}
static void
@@ -617,7 +617,7 @@ window_cmd_view_page_source (GtkAction *action,
embed = ephy_window_get_active_embed (window);
g_return_if_fail (embed != NULL);
- address = ephy_tab_get_address (tab);
+ address = ephy_embed_get_address (embed);
user_time = gtk_get_current_event_time ();
if (g_str_has_prefix (address, "file://"))
@@ -666,7 +666,7 @@ window_cmd_edit_personal_data (GtkAction *action,
tab = ephy_window_get_active_tab (window);
if (tab == NULL) return;
- uri = gnome_vfs_uri_new (ephy_tab_get_address (tab));
+ uri = gnome_vfs_uri_new (ephy_embed_get_address (ephy_tab_get_embed (tab)));
host = uri != NULL ? gnome_vfs_uri_get_host_name (uri) : NULL;