Commit graph

19 commits

Author SHA1 Message Date
Christian Dywan
bee4615d10 Render history dates directly without age column or render callback
Resurrect sokoke_days_between for calculating age in days.
2010-02-03 01:39:13 +01:00
Alexander Butenko
3848becaa6 Re-implement history panel based on sqlite queries 2010-02-02 21:10:03 +01:00
Christian Dywan
1c45254f23 Always prepend history items to the top of the history panel 2009-12-05 20:22:51 +01:00
Christian Dywan
9eefb25bb6 Refactor loading cached page icon into katze_load_cached_icon
The function is optimized for loading icons and independant from
a KatzeNet instance.
2009-11-17 23:22:08 +01:00
Christian Dywan
fd7d778e0c Remove sokoke_widget_popup and replace all call sites 2009-11-15 18:21:59 +01:00
Christian Dywan
461511c216 Don't assert on future dates, but accept it and show a warning.
On a mobile phone it's not that uncommon to accidentally reset the
system clock by removing the battery. So instead of crashing
a warning is displayed.
2009-10-30 21:10:20 +01:00
Enrico Tröger
dced22f179 Use midori_app_add_browser in panels to create new windows
This fixes a crash due to change of the signal signature.
2009-05-31 03:34:13 +02:00
Christian Dywan
f95254cd04 Improve reference counting in the history panel
This does not fully solve it but should avoid warnings caused
by invalid objects.
2009-05-26 08:20:52 +02:00
Christian Dywan
9e5d50a7a5 Don't use gettext inside of ngettext 2009-05-25 18:10:47 +02:00
Christian Dywan
396c477f2d Disconnect history panel when finalizing
There's a small hack now which prevents the disconnect function
from releasing the references. Our reference handling is flawed
and needs to be investigated before we can fix that for good.
2009-05-15 20:08:06 +02:00
Christian Dywan
2715ec2438 Use ngettext to render %d days ago 2009-05-10 15:42:12 +02:00
Christian Dywan
d45b72941e Make history panel properly detachable 2009-04-23 04:14:32 +02:00
Christian Dywan
0e0e362a8e Don't make sensitivity of Clear history depend on the selection 2009-04-10 22:29:10 +02:00
Christian Dywan
eed273b35e Fix memory leaks in a number of places 2009-04-05 23:46:15 +02:00
Christian Dywan
09af4e6754 Optimize array iterations in the History panel 2009-03-31 22:20:24 +02:00
Christian Dywan
1af23afbe8 Implement Last Visited Pages menu and toolbar item
We use the name of history folders now to store dates instead
of the token. This makes it possible to show history in an action.
2009-03-07 14:00:14 +01:00
Christian Dywan
0ddf1bd1b2 Implement 'Open all in Tabs' for bookmark folders and history 2009-02-27 21:52:51 +01:00
Christian Dywan
cbe3e75e80 Add a "New folder" button to the bookmark panel 2009-02-22 03:11:40 +01:00
Christian Dywan
3b9c63937c Refactor History panel into a separate class
This brings back the problem of address and title of items
showing up in the history unfortunately.

Now the history items are appended rather than prepended,
we probably want to fix that in the future.
2009-02-21 23:59:02 +01:00