Commit graph

7 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 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 cad440fa33 Show progress in location entry if statusbar is hidden 2008-08-31 02:45:13 +02:00
Christian Dywan 8dbd06ce47 Implement MidoriLocationAction
This is a step towards customziable toolbars.

The new action actually provides a nicer API than
MidoriLocationEntry does right now. Later we
should improve the widget itself as well.

There are still to resolve regressions:
- The location icon tends to be initially empty
- The news feed icon doesn't show up
- Tab icons sometimes load and reset again afterwards
2008-08-15 01:57:48 +02:00
Dale Whittaker efb148f58e Introduce MidoriLocationEntry and GtkIconEntry 2008-07-17 21:02:14 +02:00