Commit Graph

74 Commits

Author SHA1 Message Date
Christian Dywan dd39dab307 Form action NULL or "": assume relative path 2012-09-17 19:26:56 +02:00
Christian Dywan b3984ab252 Groundwork to make finding search engines testable 2012-09-17 19:26:56 +02:00
Christian Dywan b925dbca33 Consolidate search entries in sokoke_search_entry_new 2012-08-06 00:32:01 +02:00
Christian Dywan 96f616a237 Use secondary toolbar class for panel title
Also introduce a utility function to make adding
the class more readable.

Fixes: https://bugs.launchpad.net/midori/+bug/1026384
2012-07-28 11:06:40 +02:00
Paweł Forysiuk de4ea9b3bf Move token to the front in Manage Search Engines 2012-07-25 23:21:05 +02:00
Paweł Forysiuk 75d7a7024c Guess a suitable token for a form-based search 2012-07-25 23:05:47 +02:00
Paweł Forysiuk d95513226d Prefill description when adding search engine 2012-07-24 23:10:43 +02:00
Christian Dywan f82a06afa5 Remove "icon" field from search engines 2012-07-23 21:41:08 +02:00
Paweł Forysiuk 6b1abeed69 Add "Add search engine" context menu to forms
Fixes: https://bugs.launchpad.net/midori/+bug/802279
2012-07-20 23:46:26 +02:00
Christian Dywan 3627c75e0b Add missing noundo and help_button classes 2012-07-15 00:13:43 +02:00
Christian Dywan d260e71a23 Add edit, stop and url icon to midori-stock.h 2012-07-11 18:41:18 +02:00
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