aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-find-toolbar.c
Commit message (Collapse)AuthorAgeFilesLines
* Implemented print previewJose Millan Soto2010-02-091-4/+0
| | | | | | | | | | | | | | Created function ephy_web_view_show_print_preview, which replaces the old implementation of print preview, which was not working now. Preview is displayed in an external viewer, so print preview mode does no longer exist. All functions of the old implementation of print preview have been removed, PPViewToolbar was removed also. Also, as EphyWebView has no more a print preview mode, all functions which checked if a view was in print preview mode were modified. Bug #609021
* Make text search faster by delaying the actual searchGustavo Noronha Silva2010-01-161-4/+31
| | | | | | | This makes sure that we do not search for 1-2 characters when the user starts typing, making the search for longer words faster. Bug #598322
* GTK+ 2.17.11 is now the required versionJavier Jardón2009-09-221-8/+9
| | | | | | | | | | | | | | | I've used all the GTK+ 2.17.11 api available, still missing: GTK_WIDGET_REALIZED (GTK_WIDGET ()) GTK_WIDGET_MAPPED (GTK_WIDGET ()) GTK_ENTRY->im_context GTK_STATUSBAR->frame GTK_STATUSBAR->label GTK_MESSAGE_DIALOG->label https://bugzilla.gnome.org/show_bug.cgi?id=595791 Signed-off-by: Xan Lopez <xan@gnome.org>
* Reimplement "search keys" structure for the WebKit backendGustavo Noronha Silva2009-08-281-9/+4
| | | | | This allows Epiphany itself, and extensions to treat keys that are not handled by the WebView for in-page search purposes.
* Update the currently selected item after a case sensitivity changeBenjamin Otte2009-08-151-0/+18
| | | | | Try to keep the currently selected item selected, but if it doesn't match case, find the next match.
* ephy_find_toolbar_set_properties() => ephy_find_toolbar_mark_matches()Benjamin Otte2009-08-151-3/+3
| | | | Renaming to accurately reflect, what the function does.
* Don't pass the string to find to all functionsBenjamin Otte2009-08-151-31/+12
| | | | | | | | The string to find is set in the private structure, so when it needs to be changed, change it there. Removes lots of unnecessary code, in particular when entering text, the marking code (that took lots of CPU) wasn't run twice.
* Remove function set_string_and_highlight()Benjamin Otte2009-08-151-11/+4
| | | | | The function did the same thing as ephy_find_toolbar_set_properties(), so use that function always.
* ephy-find-toolbar: fix backwards search, forward search was hardcoded.Xan Lopez2009-04-171-2/+2
|
* ephy-find-toolbar: remove unused variable.Xan Lopez2009-01-281-2/+0
| | | | svn path=/trunk/; revision=8737
* ephy-find-toolbar: do not search for the empty string or NULL.Xan Lopez2009-01-281-0/+3
| | | | | | Spews critical warnings on console and it's obviously useless. svn path=/trunk/; revision=8736
* ephy-find-toolbar: make indentation homogenenous.Xan Lopez2009-01-231-37/+36
| | | | svn path=/trunk/; revision=8721
* Implement scrolling in EphyFindToolbar.Xan Lopez2009-01-231-27/+23
| | | | svn path=/trunk/; revision=8720
* Remove libgnome and libgnomeui dependency, using EggSMClient instead of ↵Christian Persch2008-09-251-0/+2
| | | | | | GnomeClient. svn path=/trunk/; revision=8541
* ephy-embed-utils: add macro to get webkitwebview from embed.Xan Lopez2008-06-301-2/+1
| | | | | | Will be used in the process to get rid of the embedding abstraction. svn path=/trunk/; revision=8301
* ephy-find-toolbar: remove trailing whitespace.Xan Lopez2008-06-281-17/+17
| | | | svn path=/trunk/; revision=8300
* ephy-find-toolbar: remove obsolete comment.Xan Lopez2008-06-281-1/+0
| | | | svn path=/trunk/; revision=8299
* ephy-find-toolbar: copy over embed scroll functionality.Xan Lopez2008-06-281-11/+46
| | | | | | Only used here. svn path=/trunk/; revision=8298
* ephy-find-toolbar: remove $Id$ from license comment.Xan Lopez2008-06-281-1/+0
| | | | | | CVS is long gone... svn path=/trunk/; revision=8297
* ephy-find-toolbar: rename impl_* functions to ephy_find_toolbar_*Xan Lopez2008-06-281-19/+19
| | | | svn path=/trunk/; revision=8296
* ephy-find-toolbar: M-x tabifyXan Lopez2008-06-281-28/+28
| | | | svn path=/trunk/; revision=8295
* ephy-find-toolbar: add FIXME about ge-search-key-press never being emitted.Xan Lopez2008-06-281-0/+1
| | | | svn path=/trunk/; revision=8294
* ephy-find-toolbar: remove _EMBED_ from find results enum.Xan Lopez2008-06-281-9/+9
| | | | svn path=/trunk/; revision=8293
* embed: remove ephy-embed-find and the webkit implementation.Xan Lopez2008-06-281-1/+0
| | | | svn path=/trunk/; revision=8292
* ephy-find-toolbar: port to use webkit API directly.Xan Lopez2008-06-281-45/+128
| | | | | | Copy the code from embeb/webkit mostly verbatim for now. svn path=/trunk/; revision=8291
* Do not do single includes for GTK+, bug #536090Diego Escalante Urrelo2008-06-041-11/+0
| | | | svn path=/trunk/; revision=8265
* Use G_DEFINE_TYPE* when possible in src/ (#515601)Xan Lopez2008-02-111-34/+4
| | | | svn path=/trunk/; revision=7927
* Add GTK_DISABLE_DEPRECATED back in DEPRECATION_FLAGS. Move the lastCyril Brulebois2007-11-111-6/+4
| | | | | | | calls to gtk_entry_set_editable, gtk_menu_item_remove_submenu, and gtk_tool_item_set_tooltip to the appropriate replacements in Gtk 2.12. svn path=/trunk/; revision=7659
* Add a checkbox to enable case-sensitive search (disabled by default). No longerCyril Brulebois2007-11-101-8/+84
| | | | | | rely on the presence of uppercase characters to activate case-sensitive search. svn path=/trunk/; revision=7653
* Use g_idle to call embed_find_find_again, to give the time to the embed toCosimo Cecchi2007-09-281-10/+64
| | | | | | | sync with the size change due to toolbar being shown. Fixes bug #415074 and part of bug #333661. svn path=/trunk/; revision=7500
* Find toolbar now remembers last pattern searched also when opened withCosimo Cecchi2007-09-121-9/+1
| | | | | | | | | | | | 2007-09-12 Cosimo Cecchi <cosimoc@svn.gnome.org> * src/ephy-find-toolbar.c: (ephy_find_toolbar_open): Find toolbar now remembers last pattern searched also when opened with GDK_slash or GDK_apostrophe. Fixes bug #343337. svn path=/trunk/; revision=7390
* Make 'Not found' on find toolbar temporairly bold and firesCosimo Cecchi2007-09-091-1/+36
| | | | | | | | | | | | | | 2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> * src/ephy-find-toolbar.c: (set_status_notfound_cb), (set_status), (ephy_find_toolbar_dispose): Make 'Not found' on find toolbar temporairly bold and fires gtk_widget_error_bell () when searching on a page and no results are found. Fixes bug #363004. svn path=/trunk/; revision=7354
* Make Shift+Return find previous when searching. Patch by Robin Stocker.Diego Escalante Urrelo2007-05-051-0/+8
| | | | | | | | | | | | | | 2007-05-04 Diego Escalante Urrelo <diegoe@gnome.org> * src/ephy-find-toolbar.c: Make Shift+Return find previous when searching. Patch by Robin Stocker. Fixes #412033 svn path=/trunk/; revision=7021
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-121-1/+1
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Don't use C++-style comments in C files. No code changes, only commentsChristian Persch2007-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | 2007-03-05 Christian Persch <chpe@svn.gnome.org> * lib/ephy-password-dialog.c: (update_capslock_warning), (ephy_password_dialog_constructor), (ephy_password_dialog_finalize), (ephy_password_dialog_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_updated): * src/ephy-cert-manager-dialog.c: (certs_manager_dialog_remove_button_clicked_cb), (certs_manager_dialog_finalize): * src/ephy-find-toolbar.c: (ephy_find_toolbar_init): * src/ephy-main.c: (unref_proxy_reply_cb): Don't use C++-style comments in C files. No code changes, only comments changed. Bug #414706, patch by John Millikin. svn path=/trunk/; revision=6940
* Another mozilla API change.Christian Persch2006-12-021-8/+14
| | | | | | | | | | | | | | | | | | 2006-12-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: (ephy_embed_find_find_again): * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: * src/ephy-find-toolbar.c: (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous): Another mozilla API change. * m4/gecko.m4: Add -lxpcomglue_s to EXTRA_LIBS on trunk.
* Use UTF-8 copyright symbolChristian Persch2006-09-131-2/+2
|
* Remove some unnecessary static data.Christian Persch2006-09-071-1/+1
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* Display the find bar for "Find Next" and "Find Previous" if it wasn'tWouter Bolsterlee2006-05-111-3/+10
| | | | | | | | | | | | 2006-05-11 Wouter Bolsterlee <uws+gnome@xs4all.nl> * src/ephy-find-toolbar.c: (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open): Display the find bar for "Find Next" and "Find Previous" if it wasn't visible already. Entry focus is handlded with care so that use cases like incremental search work as expected. Fixes bug #333020.
* Remove HAVE_TYPEAHEADFIND ifdefs, since we now always have that. Fixes theChristian Persch2006-05-111-10/+0
| | | | | | | | | | 2006-05-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (entry_changed_cb), (ephy_find_toolbar_set_embed): Remove HAVE_TYPEAHEADFIND ifdefs, since we now always have that. Fixes the find bar after the drop of gecko 1.7/non-toolkit.
* Don't set find next/prev insensitive since that's redundant with theChristian Persch2006-04-111-32/+2
| | | | | | | | | 2006-04-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: Don't set find next/prev insensitive since that's redundant with the status indication, and breaks find while the document is loading.
* Release the finder on dispose not finalize.Christian Persch2006-01-301-3/+4
| | | | | | | | | 2006-01-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (ephy_find_toolbar_dispose), (ephy_find_toolbar_class_init): Release the finder on dispose not finalize.
* Change toolbar label if searching for links or text.Peter Anthony Harvey2006-01-101-6/+6
| | | | Removed some GtkLabels that were created but never used.
* Fix warning when Ctrl-F while the find toolbar is already shown. FixChristian Persch2006-01-041-15/+4
| | | | | | | | | | | | | | | | 2006-01-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (entry_changed_cb), (set_focus_cb), (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open), (ephy_find_toolbar_close): Fix warning when Ctrl-F while the find toolbar is already shown. Fix next/prev button sensitivity when find wrapped around. * src/ephy-window.c: Add more XF86XK key codes.
* Minor code cleanup.Christian Persch2005-12-081-2/+4
| | | | | | | | | | | | | | | | | 2005-12-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: Minor code cleanup. * src/ephy-find-toolbar.c: (entry_key_press_event_cb), (ephy_find_toolbar_close): Also check for GDK_ISO_Enter. * src/ephy-window.c: (sync_tab_address): Close the find toolbar when loading a new page.
* Forward up/down/page up/page down from the findbar entry to the embed.Crispin Flowerday2005-12-071-3/+28
| | | | | | | | | | | | | | | 2005-12-06 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed.c: (ephy_embed_scroll), (ephy_embed_page_scroll): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-find-toolbar.c: (entry_key_press_event_cb): Forward up/down/page up/page down from the findbar entry to the embed.
* Fix a compile warning, and don't bother requesting a close if the find barCrispin Flowerday2005-12-061-1/+6
| | | | | | | | | | 2005-12-05 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-find-toolbar.c: (entry_changed_cb), (ephy_find_toolbar_request_close): Fix a compile warning, and don't bother requesting a close if the find bar is already closed
* While in find mode, set the selection colour to "attention".Christian Persch2005-12-051-156/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: (ephy_embed_find_set_selection): * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: While in find mode, set the selection colour to "attention". * src/ephy-find-toolbar.c: (set_status), (clear_status), (tab_search_key_press_cb), (entry_key_press_event_cb), (entry_activate_cb), (set_focus_cb), (ephy_find_toolbar_set_window), (ephy_find_toolbar_init), (ephy_find_toolbar_class_init), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_open), (ephy_find_toolbar_close), (ephy_find_toolbar_request_close): * src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (find_toolbar_close_cb), (ephy_window_set_print_preview), (ephy_window_get_find_toolbar), (ephy_window_get_context_event): Refactor find toolbar closing not to crash with auto-closing popups. Unset the selection colour on close. Remove dead #ifdef FIND_WHILE_TYPING_IN_EMBED code.
* More static strings.Christian Persch2005-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtrayicon.c: (egg_tray_icon_class_init): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/ephy-find-toolbar.c: (ephy_find_toolbar_class_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-python-extension.c: (ephy_python_extension_class_init): * src/ephy-session.c: (ephy_session_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_class_init): * src/ppview-toolbar.c: (ppview_toolbar_class_init): More static strings.
* More detailed result code from find backend.Christian Persch2005-11-031-13/+77
| | | | | | | | | | | | | | | | | | | | 2005-11-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: More detailed result code from find backend. * src/ephy-find-toolbar.c: (set_status), (clear_status), (entry_changed_cb), (ephy_find_toolbar_init), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open): Add status text to the find toolbar. Reverse Next/Previous button order.
* Reset the IM context before activating the entry.Christian Persch2005-10-011-1/+2
| | | | | | | | | | | | | 2005-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb): Reset the IM context before activating the entry. * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb): * src/ephy-find-toolbar.c: (tab_search_key_press_cb): Add GDK_ISO_Enter to recognised keyvals.
* Don't empty find entry on Ctrl-F.Christian Persch2005-08-211-1/+1
| | | | | | | | 2005-08-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (ephy_find_toolbar_open): Don't empty find entry on Ctrl-F.
* Only activate link in typeahead mode, not in Ctrl-F find mode.Christian Persch2005-08-161-2/+19
| | | | | | | | | 2005-08-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (entry_activate_cb), (ephy_find_toolbar_open): Only activate link in typeahead mode, not in Ctrl-F find mode.
* Return TRUE if the event was consumed.Christian Persch2005-08-161-0/+4
| | | | | | | | | | | | 2005-08-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: Return TRUE if the event was consumed. * embed/mozilla/mozilla-embed-single.cpp: More redundant code.
* Activate the found link with a faked keypress event.Christian Persch2005-08-161-10/+28
| | | | | | | | | | | | | | | | | | | | | | | 2005-08-16 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: (ephy_embed_find_activate_link): * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: Activate the found link with a faked keypress event. * src/ephy-find-toolbar.c: (tab_search_key_press_cb), (entry_key_press_event_cb), (entry_activate_cb), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_open), (ephy_find_toolbar_close): On enter, activate the found link instead of finding the next occurrence. Always really give focus to the find bar, instead of faking keypresses in the find bar entry while focusing the embed. Fixes bug #307216, bug #311985, bug #312419.
* When opening the find bar with Ctrl+F, search for the item, and select theCrispin Flowerday2005-08-101-0/+10
| | | | | | | | | 2005-08-09 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-find-toolbar.c (ephy_find_toolbar_open): When opening the find bar with Ctrl+F, search for the item, and select the text.
* Replace ephy_embed_activate with gtk_widget_grab_focusCrispin Flowerday2005-07-301-3/+3
| | | | | | | | | | | | | | | | 2005-07-29 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-find-toolbar.c: (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_open), (ephy_find_toolbar_close): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_grab_focus): * src/ephy-window.c: (ephy_window_key_press_event), (ephy_window_open_link): * src/window-commands.c: (window_cmd_go_back), (window_cmd_go_up), (window_cmd_go_forward), (window_cmd_view_stop), (window_cmd_view_reload): Replace ephy_embed_activate with gtk_widget_grab_focus
* If the string includes uppercase letters, search case-sensitively.Christian Persch2005-07-101-3/+11
| | | | | | | | 2005-07-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (entry_changed_cb): If the string includes uppercase letters, search case-sensitively.
* Don't focus the embed on close on !typeaheadfind, since it's a crash.Christian Persch2005-07-091-1/+6
| | | | | | | | | 2005-07-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (ephy_find_toolbar_close): Don't focus the embed on close on !typeaheadfind, since it's a crash. Fixes bug #307675.
* Close find bar on mouse click in the embed.Christian Persch2005-06-051-0/+18
| | | | | | | | | 2005-06-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_mouse_click_cb), (ephy_find_toolbar_set_embed): Close find bar on mouse click in the embed.
* Don't open search toolbar on / or ' over formfields:Christian Persch2005-06-031-27/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-03 Christian Persch <chpe@cvs.gnome.org> Don't open search toolbar on / or ' over formfields: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: New signal for searchable key presses. * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Add static function to check if a keypress should be forwarded to the search toolbar. * embed/mozilla/mozilla-embed.cpp: Emit the signal here. * lib/ephy-marshal.list: * src/ephy-find-toolbar.c: (tab_search_key_press_cb), (ephy_find_toolbar_set_embed): Use the new signal instead of dom-key-press.
* Don't erase the search term when opening the find bar with Ctrl-F.Christian Persch2005-05-301-4/+8
| | | | | | | | | | | 2005-05-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_key_press_cb), (ephy_find_toolbar_open): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_find): Don't erase the search term when opening the find bar with Ctrl-F.
* Don't special-case ' and / if the find bar is already active.Christian Persch2005-05-301-10/+13
| | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_key_press_cb): Don't special-case ' and / if the find bar is already active.
* Deactivate typeaheadfind in print preview mode.Christian Persch2005-05-301-6/+75
| | | | | | | | | | | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_key_press_cb), (entry_activate_cb), (sync_print_preview_mode), (ephy_find_toolbar_set_window), (ephy_find_toolbar_get_property), (ephy_find_toolbar_set_property), (ephy_find_toolbar_class_init), (ephy_find_toolbar_new): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_init), (ephy_window_set_print_preview), (ephy_window_get_is_popup), (ephy_window_get_is_print_preview): * src/ephy-window.h: Deactivate typeaheadfind in print preview mode.
* Only enable typeahead if we actually can do typeaheadfind.Christian Persch2005-05-291-0/+8
| | | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (ephy_find_toolbar_set_embed), (ephy_find_toolbar_open): Only enable typeahead if we actually can do typeaheadfind.
* Disable mozilla's typeaheadfind.Christian Persch2005-05-291-38/+182
| | | | | | | | | | | | | | | | | | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * data/default-prefs-toolkit.js: Disable mozilla's typeaheadfind. * src/ephy-find-toolbar.c: (get_find), (send_focus_change), (tab_dom_key_press_cb), (entry_changed_cb), (entry_preedit_changed_cb), (entry_key_press_event_cb), (entry_activate_cb), (set_focus_cb), (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_init), (ephy_find_toolbar_class_init), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open), (ephy_find_toolbar_close): * src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (ephy_window_init), (ephy_window_set_print_preview), (ephy_window_find): Forward key events from the embed to the find toolbar. That way we can typeaheadfind without losing focus.
* Check for toolkit nsITypeAheadFind.Christian Persch2005-05-291-50/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for toolkit nsITypeAheadFind. * embed/Makefile.am: * embed/ephy-embed-factory.c: (ephy_embed_factory_new_object): * embed/ephy-embed-find.c: (ephy_embed_find_set_embed), (ephy_embed_find_set_properties), (ephy_embed_find_find), (ephy_embed_find_find_again), (ephy_embed_find_get_type): * embed/ephy-embed-find.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-find.h: * embed/mozilla/mozilla-embed.cpp: * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file): * src/ephy-find-toolbar.c: (get_find), (set_controls), (tab_content_changed_cb), (entry_changed_cb), (ephy_find_toolbar_init), (ephy_find_toolbar_finalize), (ephy_find_toolbar_class_init), (ephy_find_toolbar_new), (ephy_find_toolbar_get_text), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_set_active_tab), (ephy_window_init), (ephy_window_get_find_toolbar), (ephy_window_notebook_switch_page_cb): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Implement typeaheadfind for the find toolbar.
* A src/ephy-find-toolbar.c: A src/ephy-find-toolbar.h:Christian Persch2005-05-261-0/+386
2005-05-25 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/find-dialog.c: * embed/find-dialog.h: A src/ephy-find-toolbar.c: A src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (tab_content_changed_cb), (ephy_window_set_active_tab), (ephy_window_dispose), (sync_find_toolbar_text_cb), (find_toolbar_find_next_cb), (find_toolbar_find_previous_cb), (find_toolbar_close_cb), (ephy_window_init), (ephy_window_notebook_switch_page_cb), (ephy_window_find): Replace the find dialogue with a find toolbar. Work in progress; no typeaheadfind yet.