Release history for lariza
next
+ [Changed]
+ - The "search prefix" has been changed from "/" to ":/". This means,
+ in order to search for text in a web page, you now have to enter
+ something like ":/your search term" into the input box.
+
[Added]
- An external user-supplied program can be called for the current URI
or for hyperlinks/images/videos/audio files.
c->web_view));
return TRUE;
case GDK_KEY_k: /* initiate search (BOTH hands) */
- gtk_entry_set_text(GTK_ENTRY(c->location), "/");
+ gtk_entry_set_text(GTK_ENTRY(c->location), ":/");
gtk_editable_set_position(GTK_EDITABLE(c->location), -1);
return TRUE;
case GDK_KEY_c: /* reload trusted certs (left hand) */
case GDK_KEY_Return:
gtk_widget_grab_focus(c->web_view);
t = gtk_entry_get_text(GTK_ENTRY(c->location));
- if (t != NULL && t[0] == '/')
+ if (t != NULL && t[0] == ':' && t[1] == '/')
{
if (search_text != NULL)
g_free(search_text);
- search_text = g_strdup(t + 1); /* XXX whacky */
+ search_text = g_strdup(t + 2); /* XXX whacky */
search(c, 0);
}
else if (!keywords_try_search(WEBKIT_WEB_VIEW(c->web_view), t))
return TRUE;
case GDK_KEY_k: /* initiate search (BOTH hands) */
gtk_widget_grab_focus(c->location);
- gtk_entry_set_text(GTK_ENTRY(c->location), "/");
+ gtk_entry_set_text(GTK_ENTRY(c->location), ":/");
gtk_editable_set_position(GTK_EDITABLE(c->location), -1);
return TRUE;
case GDK_KEY_c: /* reload trusted certs (left hand) */