Commit graph

32 commits

Author SHA1 Message Date
Christian Dywan fd7d778e0c Remove sokoke_widget_popup and replace all call sites 2009-11-15 18:21:59 +01:00
Christian Dywan b478db85ab Enforce icons for webpage menu items and search menu items 2009-07-25 23:06:17 +02:00
Jérôme Geulfucci be3f9354aa Edit search engines in the dialogue with Enter or double click 2009-05-31 22:27:08 +02:00
Christian Dywan 3c31b23295 Mark 'Use as default' for translation 2009-04-19 16:48:37 +02:00
Christian Dywan 18b66ce7d1 Allow marking a search engine as Default engine
The default engine is used when search terms are typed in the
address entry without tokens and for the 'Search the Web' item
in the selection context menu.

The 'Location entry search' is removed from the preferences. The
setting 'location-entry-search' remains functional however.
2009-04-18 22:41:37 +02:00
Christian Dywan e7d20f467c Show all search engines in selection context menu
This replaces the generic Search the Web unless no search engines
are defined, which is actually a corner case.
2009-04-12 01:32:06 +02:00
Christian Dywan 592e55c59b Use progress and icon GtkEntry features with GTK+ 2.16 2009-04-11 07:05:28 +02:00
Christian Dywan 7470684a3b Optimize array handling in search action 2009-03-31 22:21:14 +02:00
Christian Dywan c02e181750 Only disconnect signals when we actually have search engines 2009-02-28 14:02:36 +01:00
Christian Dywan 3baab132b9 Don't try to setup search engines when unsetting 2009-02-22 00:13:00 +01:00
Christian Dywan 514c6965c7 Check if 'search engines' are actually set 2009-02-19 23:40:00 +01:00
Christian Dywan 4ab9bd74e7 Check if there really is a SearchAction proxy 2009-02-19 23:36:04 +01:00
Christian Dywan b40b906e2e Allow setting the SearchAction text to be set to NULL 2009-02-19 23:34:16 +01:00
Christian Dywan 6f0fc8cf29 Adjust 'Icon' label string in Manage Search Engines dialogue 2009-02-12 00:30:56 +01:00
Christian Dywan acaa1741bd Show tokens in Manage Search Engines dialog 2009-02-01 23:13:00 +01:00
Dale Whittaker 2c9b011048 Check if the pixbuf of the search engine is valid before returning it 2009-01-29 01:06:27 +01:00
Nick Schermer f02f9fd118 Make property strings static to save some memory 2009-01-16 05:19:43 +01:00
Nick Schermer 6e11fad865 Correct titled case in Manage Search Engines dialog 2009-01-12 21:27:05 +01:00
Dale Whittaker 6753a9ade3 Store history dates in 'token' to avoid locatime() and revamp deleting
Loading history items used to involve frequent calls to
localtime() and g_memdup(). We avoid this by storing the
date strings in parent items now, which can even be used to
display items in the treeview.
Deleting of treeview items was also reworked so it should
work from menu items and the panel.
2009-01-11 19:30:43 +01:00
Christian Dywan 4ad55618f6 Correct conditionals for OS X and JavaScriptCore 2009-01-10 20:13:08 +01:00
Nick Schermer b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan 43f48a9b43 Let glib-genmarshal write our marshallers 2009-01-08 02:29:07 +01:00
Christian Dywan 6bb3fb442e Various string changes and additions 2009-01-04 19:25:48 +01:00
Christian Dywan 0f78896660 Reimplement custom search engine icons 2008-12-15 21:20:39 +01:00
Christian Dywan 03ffd05e0a Do not load icons other than in tabs 2008-11-20 01:41:58 +01:00
Christian Dywan b931e1bf53 Improve OSX adjustments in various places 2008-10-26 00:54:57 +02:00
Christian Dywan e1dd0194b1 Set a default Find icon in Search if engines are empty 2008-10-24 19:29:57 +02:00
Christian Dywan 5c69e0269d Implement KatzeNet as a generic URI loader
KatzeNet can from now on be used where
URIs are handled and one would have used
libSoup and/ or local file handling as
appropriate, whereas KatzeNet does both.

Since we are displaying icons in several
places KatzeNet also provides an icon
loader that saves us from doublicating
even more code.

All bookmarks and also history items have
icons now, since KatzeNet makes that
incredibly easy.

Search engines are also using favicons
now, and right now custom icons don't
work, we still need to fix that.

Note that only icons are cached, nothing
else and the code is known to have a
hidden, hard to reproduce crasher which
may appear when an icon is newly loaded.
2008-10-24 00:09:12 +02:00
Christian Dywan fa9becaf83 Properly reset Manage Search Engines dialog pointer 2008-10-18 00:06:47 +02:00
Christian Dywan 58255d19aa Do not localize object properties, except WebSettings
Property name localization is only useful if the
strings are meant to be used in a user interface,
such as is the case with WebSettings, or for
graphical interface builders, which are not of
our concern, since we don't use Glade and friends
and nobody else is going to use our widgets.

In short, make translation work much easier.
2008-10-15 03:32:11 +02:00
Christian Dywan 52c9eca92a Notify when the current item changes
This fixes the browser not using the chosen
search engine at all.
2008-10-10 23:00:33 +02:00
Christian Dywan ba6386850e Implement the search widget as an action
The most part of the search entry code is merely
moved to the new action. We remove the original
entry now, the action is all we need.
2008-10-05 23:25:02 +02:00