aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@src.gnome.org>2008-08-04 21:19:57 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2008-08-04 21:19:57 +0800
commit666c60bb7f33b5288677e923a0ddadeea0cdc6f5 (patch)
treecaf43c505461d52e92752429c448dc84d3a9cd80 /src
parent7d3d5a080c57bfbb1fb3a556dc1d3d278eff404c (diff)
downloadgsoc2013-epiphany-666c60bb7f33b5288677e923a0ddadeea0cdc6f5.tar
gsoc2013-epiphany-666c60bb7f33b5288677e923a0ddadeea0cdc6f5.tar.gz
gsoc2013-epiphany-666c60bb7f33b5288677e923a0ddadeea0cdc6f5.tar.bz2
gsoc2013-epiphany-666c60bb7f33b5288677e923a0ddadeea0cdc6f5.tar.lz
gsoc2013-epiphany-666c60bb7f33b5288677e923a0ddadeea0cdc6f5.tar.xz
gsoc2013-epiphany-666c60bb7f33b5288677e923a0ddadeea0cdc6f5.tar.zst
gsoc2013-epiphany-666c60bb7f33b5288677e923a0ddadeea0cdc6f5.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=/trunk/; revision=8379
Diffstat (limited to 'src')
-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)