diff options
-rw-r--r-- | src/ephy-home-action.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ephy-home-action.c b/src/ephy-home-action.c index f6d03491b..2d8e02d8e 100644 --- a/src/ephy-home-action.c +++ b/src/ephy-home-action.c @@ -41,12 +41,12 @@ action_name_association (GtkAction *action, char *action_name, char *address) { + EphyLinkFlags flags = EPHY_LINK_HOME_PAGE; + if (g_str_equal (action_name, "FileNewTab")) - { - ephy_home_action_open (action, - address, - EPHY_LINK_NEW_TAB | EPHY_LINK_JUMP_TO | EPHY_LINK_HOME_PAGE); - } + flags |= EPHY_LINK_NEW_TAB | EPHY_LINK_JUMP_TO; + + ephy_home_action_open (action, address, flags); } static void |