aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--src/ephy-nautilus-view.c24
2 files changed, 24 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f896c742..be49c5c07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
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
+
+2003-10-27 Marco Pesenti Gritti <marco@gnome.org>
+
* lib/egg/egg-editable-toolbar.c: (create_dock), (set_fixed_style),
(unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
(update_fixed), (toolbar_removed_cb), (toolbars_clean),
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);
}