Vincent Cappe
62f0ef746c
When removing bookmarks, folder must not be NULL
...
If folder is NULL, we end up with "(NULL)" in sqlite.
Modified patch to use katze_str_non_null.
Fixes: https://bugs.launchpad.net/midori/+bug/926914
2012-02-19 17:52:14 +01:00
Peter Hatina
c0e0bee467
Implement sokoke_entry_set_clear_button_visible
...
Fixes: https://bugs.launchpad.net/midori/+bug/699954
2012-01-14 00:34:11 +01:00
Christian Dywan
451cd1fbea
Allow search engine addresses prefixed with %s
...
Related to: https://bugs.launchpad.net/midori/+bug/909423
2012-01-05 00:01:09 +01:00
Christian Dywan
a121d24d35
sokoke_entry_set_default_text becomes gtk_entry_set_placeholder_text
...
GTK+ 3.2 and Hildon 2.2 have the exact same feature built-in.
2011-11-09 22:06:10 +01:00
Christian Dywan
eed822dc8b
Add gtk_image_menu_item_set_always_show_image to gtk3-compat.h
2011-11-08 22:42:02 +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
Christian Dywan
4b33fd2c7d
Avoid GTK+3 #ifdef and #define GTK_DIALOG_DESTROY_WITH_PARENT
2011-10-26 20:07:11 +02:00
Christian Dywan
77428fe44c
Introduce Midori.URI to unitfy all URI logic
...
sokoke_hostname_from_uri, sokoke_search_uri,
sokoke_hostname_to_ascii and sokoke_unescape_uri_string
are merged into Midori.URI.
midori-core.h is the official API header for Vala now.
2011-10-21 01:00:13 +02: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
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