Christian Dywan
bac3dc1842
Introduce MIDORI_EVENT_CONTEXT_MENU in midori-platform.h
...
The new header contains all state and event handling.
2011-09-21 23:04:20 +02:00
Christian Dywan
7d0c949a0c
Validate URI in Manage Search Engines dialogue
2011-05-16 02:37:51 +02:00
André Stösel
ab9a1aa9ff
Check in midori_search_action_get_icon if icon_name is given
2011-05-03 20:17:00 +02:00
Christian Dywan
4bab11061c
Render search engine icons via the action
2011-05-01 18:49:09 +02:00
Paweł Forysiuk
bbfa7f6030
Fix GCC 4.6 warnings about set but unused variables
2011-04-29 04:03:33 +02:00
Christian Dywan
1011d5c5b5
Address leaked strings and item references
2011-04-26 01:29:26 +02:00
Christian Dywan
4842406f27
Update the current item after re-ordering search engines
2011-03-13 18:32:08 +01:00
Christian Dywan
f2b5e82ce4
Allow re-ordering of search engines
2011-03-13 17:36:28 +01:00
Christian Dywan
072ea586cd
Use search icon name as fallback for search engines
2011-01-29 08:42:29 +01:00
Christian Dywan
f079d9c48a
Use accessor for dialogue content area
2010-10-19 00:53:01 +02: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
12b4859dc7
Use gtk_widget_get_visible rather than GTK_WIDGET_VISIBLE
2010-04-02 18:38:56 +02:00
Christian Dywan
ccaf696256
Remove unused KatzeNet instance from MidoriSearchAction
2010-02-10 19:52:11 +01:00
Christian Dywan
cc6bb8fddb
Lookup icon size in relation to the according screen or widget
2010-01-29 22:43:39 +01:00
Christian Dywan
37d89d0986
Move declaration in search action icon callback to the top
2010-01-29 21:13:44 +01:00
Christian Dywan
82cb12b605
Revise and unitfy behavior modulating modifier handling
...
We define modfifier macros that indicate whether a modifier
indicates a new window, new tab, background tab or scrolling.
Modifier checks in the address entry, the search entry and view
now use the same consistent modifiers.
2010-01-24 11:00:52 +01:00
Dale Whittaker
96178e60b7
Check page icons of search engines first, afterwards icon names
2010-01-13 06:55:49 +01:00
Enrico Tröger
9183f8e16d
Connect callbacks for gtk_widget_destroy where signature differs
...
Apparently dependent on architecture and compiler, mismatching
callback signatures can cause segmentation faults.
2009-12-29 23:49:10 +01:00
Daniel Michalik
61e51c1991
Update default search engine if the according search engine is modified
2009-12-07 20:38:02 +01:00
Christian Dywan
565e32599e
Use icon names for search engines directly instead of pixbufs
2009-11-29 14:09:28 +01:00
Christian Dywan
183878db8c
Omit Help in Adblock and Search Engines dialogues on Hildon
2009-11-29 14:09:28 +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
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