epiphany r8383 - branches/gnome-2-24/src



Author: diegoe
Date: Mon Aug  4 13:23:18 2008
New Revision: 8383
URL: http://svn.gnome.org/viewvc/epiphany?rev=8383&view=rev

Log:
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.


Modified:
   branches/gnome-2-24/src/ephy-home-action.c

Modified: branches/gnome-2-24/src/ephy-home-action.c
==============================================================================
--- branches/gnome-2-24/src/ephy-home-action.c	(original)
+++ branches/gnome-2-24/src/ephy-home-action.c	Mon Aug  4 13:23:18 2008
@@ -122,13 +122,13 @@
 		{
 			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 @@
 		{
 			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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]