Commit graph

11 commits

Author SHA1 Message Date
Christian Dywan
1998219933 Refactor location action to not use MidoriLocationEntryItem 2009-10-04 05:13:37 +02:00
Christian Dywan
b53c39b82e Remember text typed in the location when switching tabs
The API of the location action is adjusted so that any typed
text can be retrieved, distinguished from a confirmed URI.
2009-10-04 02:32:50 +02:00
Christian Dywan
50f078575b Show search engines as "actions" in location completion 2009-04-11 22:24:56 +02:00
Christian Dywan
58b40bce38 Optimize location action, so Midori starts up twice as fast 2008-12-12 21:06:33 +01:00
Christian Dywan
9e997e4c90 Update location icon even if it's not in the history 2008-11-11 00:51:28 +01:00
Christian Dywan
87092babef Move completion logic from LocationEntry to LocationAction
This resolves various indirections, and since we are always
using the action anyway, we finally move all logic to one
place. There should be room for optimizations now.
Incidentally this also keeps the completion intact if
the entry needs to be recreated.
2008-11-09 19:09:35 +01:00
Dale Whittaker
0246eeb124 Implement sorting location items by the number of visits
For the moment, a define in the code decides whether items
are sorted based on when they were added or how often
a page was visited. The 'visits' property and respective
database column is unused (we keep it for compatibility).
It turns out it's enough to store that information in
the tree model.

The visit based sorting is not enabled because it is
simply delaying startup incredibly. It will have to be
decided whether to introduce a preference, or always use
a visited based sorting once the startup delay is fixed.

History items are also deleted from the tree model now
if they are too old, according to the preference.
2008-11-08 02:39:45 +01:00
Dale Whittaker
70516f1f5b First stab at integration history with the location
For starters, the location contains items from the
history and not only from the current session.
2008-10-27 03:12:09 +01:00
Christian Dywan
d72579711c Implement the Remeber last visited pages preference 2008-10-13 18:29:46 +02:00
Christian Dywan
cad440fa33 Show progress in location entry if statusbar is hidden 2008-08-31 02:45:13 +02:00
Christian Dywan
97793d88cb Actually commit MidoriLocationAction this time 2008-08-15 10:07:51 +02:00