From 666c60bb7f33b5288677e923a0ddadeea0cdc6f5 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Mon, 4 Aug 2008 13:19:57 +0000 Subject: Fix the keyword search for tabs/windows created from toolbar. Add EPHY_LINK_ALLOW_FIXUP to the flags when openning new tabs and windows from their toolbar buttons so the text is not always treated as an url, closes: #523296. svn path=/trunk/; revision=8379 --- src/ephy-home-action.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/ephy-home-action.c b/src/ephy-home-action.c index 1b912bcbb..ed1a15706 100644 --- a/src/ephy-home-action.c +++ b/src/ephy-home-action.c @@ -122,13 +122,13 @@ action_name_association (GtkAction *action, { ephy_link_open (EPHY_LINK (action), address, NULL, - EPHY_LINK_NEW_TAB | EPHY_LINK_JUMP_TO); + EPHY_LINK_NEW_TAB | EPHY_LINK_JUMP_TO | EPHY_LINK_ALLOW_FIXUP); } else { ephy_home_action_open (action, address, - EPHY_LINK_NEW_TAB | EPHY_LINK_JUMP_TO); + EPHY_LINK_NEW_TAB | EPHY_LINK_JUMP_TO | EPHY_LINK_ALLOW_FIXUP); } } else if (strcmp (action_name, "FileNewWindow") == 0) @@ -137,13 +137,13 @@ action_name_association (GtkAction *action, { ephy_link_open (EPHY_LINK (action), address, NULL, - EPHY_LINK_NEW_WINDOW); + EPHY_LINK_NEW_WINDOW | EPHY_LINK_ALLOW_FIXUP); } else { ephy_home_action_open (action, address, - EPHY_LINK_NEW_WINDOW); + EPHY_LINK_NEW_WINDOW | EPHY_LINK_ALLOW_FIXUP); } } else if (strcmp (action_name, "GoHome") == 0) -- cgit v1.2.3