aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@src.gnome.org>2008-08-04 21:23:18 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2008-08-04 21:23:18 +0800
commite2715f6a8040e0ecd11bfd2d6235abc0fe4e8d47 (patch)
tree4e3234838fd9f9dbdd5996e81f40bbc6e95059cf
parent90225c8e0c40d16f61771ea86f6f484b72e440be (diff)
downloadgsoc2013-epiphany-e2715f6a8040e0ecd11bfd2d6235abc0fe4e8d47.tar
gsoc2013-epiphany-e2715f6a8040e0ecd11bfd2d6235abc0fe4e8d47.tar.gz
gsoc2013-epiphany-e2715f6a8040e0ecd11bfd2d6235abc0fe4e8d47.tar.bz2
gsoc2013-epiphany-e2715f6a8040e0ecd11bfd2d6235abc0fe4e8d47.tar.lz
gsoc2013-epiphany-e2715f6a8040e0ecd11bfd2d6235abc0fe4e8d47.tar.xz
gsoc2013-epiphany-e2715f6a8040e0ecd11bfd2d6235abc0fe4e8d47.tar.zst
gsoc2013-epiphany-e2715f6a8040e0ecd11bfd2d6235abc0fe4e8d47.zip
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=/branches/gnome-2-24/; revision=8383
-rw-r--r--src/ephy-home-action.c8
1 files changed, 4 insertions, 4 deletions
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)