From bf0ea37b5138af83fde8e7aaba16669c4e43fd9c Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 29 Jan 2006 21:47:22 +0000 Subject: Add a convenience function to get current event data. 2006-01-29 Christian Persch * lib/ephy-gui.c: (ephy_gui_get_current_event): * lib/ephy-gui.h: Add a convenience function to get current event data. * src/ephy-link.c: (ephy_link_open), (ephy_link_flags_from_current_event): * src/ephy-link.h: Add a convenience function to translate the current event into EphyLinkFlags. * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-go-action.h: Make this an EphyLinkAction. * lib/widgets/ephy-location-entry.c: (entry_key_press_cb): * src/ephy-home-action.c: (ephy_home_action_activate): * src/ephy-location-action.c: (entry_activate_cb): * src/ephy-tab.c: (open_link_in_new), (ephy_tab_dom_mouse_click_cb): * src/window-commands.c: (window_cmd_load_location): Fix link activation to respect ctrl and shift modifiers. Part of bug #310814. 2006-01-29 Christian Persch --- src/ephy-home-action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ephy-home-action.c') diff --git a/src/ephy-home-action.c b/src/ephy-home-action.c index 52e86ef83..7d2357bd3 100644 --- a/src/ephy-home-action.c +++ b/src/ephy-home-action.c @@ -36,7 +36,7 @@ ephy_home_action_activate (GtkAction *action) ephy_link_open (EPHY_LINK (action), address != NULL && address[0] != '\0' ? address : "about:blank", NULL, - ephy_gui_is_middle_click () ? EPHY_LINK_NEW_TAB : 0); + ephy_link_flags_from_current_event ()); g_free (address); } -- cgit v1.2.3