To add some more specifics, the modes you should be looking into are stored in impl->operation_mode and impl->location_mode. The patch should be improved so it checks:
if (event->button == 1 && event->type == GDK_2BUTTON_PRESS) { if ((impl->operation_mode == OPERATION_MODE_SEARCH || /* whatever */) && (impl->location_mode == LOCATION_MODE_PATH_BAR || /* whatever */)) { g_timeout_add (50, (GSourceFunc) location_entry_grab_focus, impl); }
return FALSE; }
To add some more specifics, the modes you should be looking into are stored in impl->operation _mode and impl->location_ mode. The patch should be improved so it checks:
if (event->button == 1 && event->type == GDK_2BUTTON_PRESS) >operation_ mode == OPERATION_ MODE_SEARCH || /* whatever */) &&
(impl- >location_ mode == LOCATION_ MODE_PATH_ BAR || /* whatever */))
g_timeout_ add (50, (GSourceFunc) location_ entry_grab_ focus, impl);
{
if ((impl-
{
}
return FALSE;
}