aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-27 18:16:10 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-27 18:16:10 +0800
commit8102583a5ae581f5e7490f8a0cc0cfeec2266499 (patch)
tree4efd366ac28b077ca85db1cf42806fa2c0e0aa46 /src
parent32ccc668ac8e87ec9dd67b9d594a7fcf89381776 (diff)
downloadgsoc2013-epiphany-8102583a5ae581f5e7490f8a0cc0cfeec2266499.tar
gsoc2013-epiphany-8102583a5ae581f5e7490f8a0cc0cfeec2266499.tar.gz
gsoc2013-epiphany-8102583a5ae581f5e7490f8a0cc0cfeec2266499.tar.bz2
gsoc2013-epiphany-8102583a5ae581f5e7490f8a0cc0cfeec2266499.tar.lz
gsoc2013-epiphany-8102583a5ae581f5e7490f8a0cc0cfeec2266499.tar.xz
gsoc2013-epiphany-8102583a5ae581f5e7490f8a0cc0cfeec2266499.tar.zst
gsoc2013-epiphany-8102583a5ae581f5e7490f8a0cc0cfeec2266499.zip
Sync with nautilus api
2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-nautilus-view.c: (gnv_embed_dom_mouse_click_cb), (gnv_popup_cmd_new_window), (gnv_popup_cmd_image_in_new_window), (gnv_popup_cmd_frame_in_new_window): Sync with nautilus api
Diffstat (limited to 'src')
-rw-r--r--src/ephy-nautilus-view.c24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/ephy-nautilus-view.c b/src/ephy-nautilus-view.c
index 17b68d434..421073cee 100644
--- a/src/ephy-nautilus-view.c
+++ b/src/ephy-nautilus-view.c
@@ -311,8 +311,9 @@ gnv_embed_dom_mouse_click_cb (EphyEmbed *embed,
g_return_val_if_fail (url, FALSE);
- nautilus_view_open_location_force_new_window (NAUTILUS_VIEW (view),
- url, NULL);
+ nautilus_view_open_location (NAUTILUS_VIEW (view), url,
+ Nautilus_ViewFrame_OPEN_IN_NAVIGATION,
+ 0, NULL);
}
return FALSE;
@@ -460,8 +461,10 @@ gnv_popup_cmd_new_window (BonoboUIComponent *uic,
ephy_embed_event_get_property (info, "link", &value);
- nautilus_view_open_location_force_new_window (NAUTILUS_VIEW (view),
- g_value_get_string (value), NULL);
+ nautilus_view_open_location (NAUTILUS_VIEW (view),
+ g_value_get_string (value),
+ Nautilus_ViewFrame_OPEN_IN_NAVIGATION,
+ 0, NULL);
}
static void
@@ -479,8 +482,10 @@ gnv_popup_cmd_image_in_new_window (BonoboUIComponent *uic,
ephy_embed_event_get_property (info, "image", &value);
- nautilus_view_open_location_force_new_window (NAUTILUS_VIEW (view),
- g_value_get_string (value), NULL);
+ nautilus_view_open_location (NAUTILUS_VIEW (view),
+ g_value_get_string (value),
+ Nautilus_ViewFrame_OPEN_IN_NAVIGATION,
+ 0, NULL);
}
static void
@@ -498,8 +503,11 @@ gnv_popup_cmd_frame_in_new_window (BonoboUIComponent *uic,
ephy_embed_get_location (view->priv->embed, FALSE, &location);
- nautilus_view_open_location_force_new_window (NAUTILUS_VIEW (view),
- location, NULL);
+ nautilus_view_open_location (NAUTILUS_VIEW (view),
+ location,
+ Nautilus_ViewFrame_OPEN_IN_NAVIGATION,
+ 0, NULL);
+
g_free (location);
}