Commit graph

65 commits

Author SHA1 Message Date
Christian Dywan
60f93f157a Check sokoke_has_default instead of placeholder text
It is set if there's a placeholder (and GTK+ 3 returns NULL text).
2012-08-09 01:02:56 +02:00
Christian Dywan
b925dbca33 Consolidate search entries in sokoke_search_entry_new 2012-08-06 00:32:01 +02:00
Christian Dywan
fa3ab67cef Ellipsize panel treeviews instead of scrolling
Fixes: https://bugs.launchpad.net/midori/+bug/1020353
2012-08-03 21:45:16 +02:00
Christian Dywan
3ecdcf0826 Don't search for place holder text in panels 2012-08-03 21:07:28 +02:00
Christian Dywan
5bed5082ed Hinted text in bookmarks, history and cookie manager
Fixes: https://bugs.launchpad.net/midori/+bug/1026392
2012-07-28 10:46:04 +02:00
Christian Dywan
a0a0325db4 Rewrite Midori.Viewable in Vala 2012-05-27 16:30:09 +02:00
Christian Dywan
cf1321fe21 Add katze_item_get_pixbuf and use in panels 2012-05-13 02:22:38 +02:00
Christian Dywan
2fa5059cc4 Render bookmark dialog as a pop-over on buttons 2012-03-15 19:57:57 +01:00
Christian Dywan
8ad470caf5 Distinguish the current year from the past
Today a year ago shouldn't display as Today.
2012-02-22 21:48:26 +01:00
Christian Dywan
ffb86ce7ff Use GDateTime instead of GDate if available
GDate depends on broken msvcrt code.
2012-02-21 21:47:07 +01:00
Christian Dywan
fb2e4eea77 Use same clear icon handling in findbar and panels 2012-01-14 00:45:01 +01:00
Christian Dywan
d9c4bb15c0 Remove obsolete MidoriLocationAction and panel boilerplate 2011-11-09 22:06:11 +01:00
Christian Dywan
8fff7d8fd3 sokoke, gtk3-compat, gtkiconentry, stock join midori-platform.h
Also introduce #define MIDORI_MODULE_PREFIX.

Fixes: https://bugs.launchpad.net/midori/+bug/884395
2011-10-31 22:18:06 +01:00
Lucas Baudin
b5aad2d176 Allow building with GTK+3
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +02:00
Paweł Forysiuk
e4d4ec26fb Always NULL-check database before using it
If the database is broken in whatever way the pointer is
unset. A good next step would be to give more user-friendly
feedback than the current rough dialog.
2011-07-30 20:11:45 +02:00
Tomasz Szatkowski
5d372c116d History panel buttons sensitive with selection
Fixes: https://bugs.launchpad.net/midori/+bug/711482
2011-04-17 22:56:30 +02:00
Christian Dywan
03b146386e Don't test PrivateBrowsing and AddDesktopShortcut 2011-01-16 14:05:23 +01:00
Christian Dywan
d69e92b76a Automatically resize panel columns after changes 2010-11-24 19:10:53 +01:00
Christian Dywan
765cdfeb27 Select date for all history queries, even filtered
Deleting requires a date to work.
2010-11-24 00:37:01 +01:00
Christian Dywan
6246987ba8 Clear history through array and update the panel 2010-11-22 03:49:51 +01:00
Christian Dywan
40dc38fd21 Implement and use KATZE_ARRAY_FOREACH_ITEM
Iterating an array by a GList is considerably faster than
continuously retrieving items, however it is also a lot
more complicated. So the new macro takes care of that and
uses a new semi-private function to avoid copying the list.

Note that the macro can't be nested, which basically isn't
useful in practise anyway.
2010-09-12 00:59:24 +02:00
Christian Dywan
802c1eb462 Always allocate and free formatted dates in history panel 2010-09-06 03:03:07 +02:00
Christian Dywan
71549af089 Disconnect insertion when MidoriHistory finalizes 2010-08-10 22:58:11 +02:00
Christian Dywan
34d7a8033b Use KatzeArray* to signal new items to MidoriHistory 2010-07-31 01:42:14 +02:00
Christian Dywan
5b640c7f46 Store address of bookmarks for tooltip as a string in the model 2010-07-31 01:21:50 +02:00
Alexander Butenko
d78efc0863 Duplicate day name for history panel folder names 2010-07-23 21:49:16 +02:00
Alexander Butenko
46b63639f6 Refactor history panel to match bookmark code.
The toolbar buttons are also taken care of.

The broken clock time warning was removed since it would be
awkward to have with the date formatting where there is not
even a widget available. Should be re-considered.
2010-07-21 23:31:45 +02:00
Alexander Butenko
58f3444ba1 Rework history panel search query 2010-07-21 23:22:52 +02:00
Christian Dywan
94fbf158f6 Remove conditional guards for sqlite 2010-07-17 21:31:29 +02:00
Alexander Butenko
62930be082 Introduce midori_browser_set_current_page_smartly() as public API 2010-07-05 00:14:06 +02:00
Alexander Butenko
76ea968e20 Drop callbacks for cursor-changed and columns-changed
We don't have special separators any more, so there is no items
that can't be deleted.
2010-07-04 23:47:39 +02:00
Alexander Butenko
7f4c4ad287 Match appearence of history and bookmark search 2010-07-04 23:40:44 +02:00
Alexander Butenko
9230c299e9 Fix for Open all in tabs for directories in history bar 2010-07-03 22:33:45 +02:00
Alexander Butenko
4e0c1396a0 Allow to expand/ collapse folder by double click 2010-07-02 23:17:05 +02:00
Alexander Butenko
fb634e19b9 Fix popup menu on folders in history 2010-07-01 20:32:34 +02:00
Alexander Butenko
08dab16bc2 Refactoring of bookmarks add functions 2010-06-26 17:24:53 +02:00
Christian Dywan
dfddd7ce0a Leave panel icon styles to the system settings 2010-05-13 16:53:19 +02:00
Christian Dywan
3f886f7153 Include previous searches in History panel items 2010-03-01 00:24:46 +01:00
Christian Dywan
6d722f6294 Only read history into History panel if an array is given 2010-02-10 19:52:11 +01:00
Christian Dywan
ee51a8c87f Implement a filter entry in History panel, similar to Cookie Manager 2010-02-10 19:52:11 +01:00
Christian Dywan
eb5b244647 Remove unused KatzeNet instance from History panel 2010-02-10 19:52:11 +01:00
Christian Dywan
24b0916d62 Remove invisible dummy row when expanding, and add it when collapsing 2010-02-10 19:52:11 +01:00
Christian Dywan
94aebbf1fe Render dummy history items as separators
Until we find a better way this should reduce confusion about
'empty' folders appearing.
2010-02-04 00:17:51 +01:00
Alexander Butenko
a90dc507ff Make the Delete key delete history entries again 2010-02-03 22:15:49 +01:00
Alexander Butenko
1a236a3800 Clear the history folders on collapse, repopulate on expand 2010-02-03 22:13:00 +01:00
Christian Dywan
ae1ea1214b Only query the current time once when populating the history 2010-02-03 18:42:58 +01:00
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