aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-location-entry.c
Commit message (Collapse)AuthorAgeFilesLines
* Use accessor functions instead direct accessJavier Jardón2010-02-111-1/+1
| | | | | | | Substitute GTK_WIDGET_MAPPED() and GTK_WIDGET_REALIZED() GTK+ required version bumped to 2.19.5 https://bugzilla.gnome.org/show_bug.cgi?id=595791
* ephy-location-entry: disable favicons in entry for releaseXan Lopez2010-01-251-0/+5
|
* Show again favicon column in URL completion dropdownXan Lopez2010-01-151-2/+0
|
* Make EphyLocationEntry store a copy of the lock-stock-idXan Lopez2010-01-151-1/+2
| | | | | | | Otherwise we rely on the ordering of the property notifications to get a proper id instead of garbage (!). Bug #606995
* Remove redundant parameters in location-set APIDiego Escalante Urrelo2009-12-051-15/+7
| | | | | | | | | | | EphyLocationEntry, EphyLocationAction and EphyToolbar take an @adress and @typed_address parameter, while both are useful we only end up using one so we can easily decide which one to use in ephy-window.c instead of carrying both around until ephy-location-entry.c Bonus: make ephy_location_entry_set_location accept NULL as @address safely. Bug #603651
* docs: ephy-location-actionDiego Escalante Urrelo2009-12-031-6/+3
| | | | Bug #503852
* docs: ephy-location-entryDiego Escalante Urrelo2009-12-031-0/+43
| | | | bonus nitpick in ephy-zoom (just a line break)
* GTK+ 2.17.11 is now the required versionJavier Jardón2009-09-221-10/+12
| | | | | | | | | | | | | | | 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>
* Make the location action responsible of the modelXan Lopez2009-08-151-1/+0
| | | | | It does not make sense for the location entry to unref the model it gets as parameter.
* Performance: Set a fixed width on autosized cell rendererBenjamin Otte2009-07-131-0/+10
| | | | | | | | | | | | The text cell renderer in use by the url autocompletion is the only renderer that expands. As the width of the entry completion is known in advance (as big as the entry you are completing on), we can set a fixed width. Since the height of the cell renderer is hardcoded, too, the complete size of the cell renderer is known in advance and Gtk skips layouting the text to compute the size. This is a noticable performance improvement, expecially when the completion contains lots of visible entries.
* don't free title string twiceBenjamin Otte2009-07-081-1/+1
| | | | | When the url is NULL, the title was freed twice - once after giving to the GValue via ctext, once with g_free().
* ephy-location-entry: remove useless definesDiego Escalante Urrelo2009-03-271-4/+0
| | | | svn path=/trunk/; revision=8944
* ephy-location-entry: #if 0 the favicon column in completion.Xan Lopez2009-03-091-10/+10
| | | | | | | It makes the text in the completion jump like crazy, so disable until we figure out what's going on. svn path=/trunk/; revision=8866
* ephy-location-entry: use g_object_connect for mass signal connection.Xan Lopez2009-03-091-17/+12
| | | | svn path=/trunk/; revision=8865
* ephy-location-entry: fix security icon visibility.Xan Lopez2009-02-231-3/+8
| | | | | | | | | GtkEntry has no distinction between the visibility of the icons and the icon to be used, meaning that the way to make them invisible is to unset them. Keep a private boolean with the visibility status so we can update our icon type without altering its visibility. svn path=/trunk/; revision=8802
* Avoid adding problematic search terms with spacesGustavo Noronha Silva2009-01-201-4/+9
| | | | | | | Adding spaces to the end of the location bar was adding bad search terms. This fixes it. svn path=/trunk/; revision=8709
* Handle end of line correctly on location bar searchGustavo Noronha Silva2009-01-201-2/+12
| | | | | | | This change fixes the last character of the last search term being cut off by special casing the end of the line. svn path=/trunk/; revision=8708
* Implement multiple keyword-based AND-search for the location barGustavo Noronha Silva2009-01-201-31/+120
| | | | | | Bug #568101 svn path=/trunk/; revision=8706
* Fix indentation of previous commits.Xan Lopez2009-01-161-20/+20
| | | | svn path=/trunk/; revision=8694
* Include a bookmark indication in the woohoo barDiego Escalante Urrelo2009-01-161-1/+41
| | | | | | | If the result shown in the row is a bookmark, the epiphany bookmark icon will be drawn to the right of it. svn path=/trunk/; revision=8693
* Turn the location bar into the woohoo barDiego Escalante Urrelo2009-01-161-34/+75
| | | | | | | | Enhance the completion popup by showing a two line cell containing the favicon, the title of the page and the url. On top of this, there's a bookmark indication patch. svn path=/trunk/; revision=8692
* Adapt to the modified GTK+ API.Cosimo Cecchi2009-01-021-1/+1
| | | | svn path=/trunk/; revision=8659
* Use connect_after when connecting to drag-begin so we can override theXan Lopez2009-01-011-2/+2
| | | | | | pixmap that GtkEntry sets in DnD. svn path=/trunk/; revision=8658
* ephy-location-entry: port to use GtkEntry instead of EphyIconEntry.Xan Lopez2008-12-311-151/+153
| | | | svn path=/trunk/; revision=8649
* ephy-location-entry: remove $Id$ marker.Xan Lopez2008-12-311-1/+0
| | | | svn path=/trunk/; revision=8648
* ephy-location-entry: use G_DEFINE_TYPEXan Lopez2008-12-311-34/+4
| | | | svn path=/trunk/; revision=8647
* Sync argument names in ephy-location-entry and update docsDiego Escalante Urrelo2008-09-291-21/+50
| | | | | | | | | There were inconsistencies between the .h file and the .c file. Now all the arguments are named 'entry'. Also add documentation for ephy_location_entry_set_match_func and ephy_location_entry_set_completion. svn path=/trunk/; revision=8557
* Document lib/widgets/ephy-location-entry.cDiego Escalante Urrelo2008-09-291-0/+133
| | | | svn path=/trunk/; revision=8556
* Revert special handling of double click in the LocationEntry; bug #426349.Loic Minier2008-09-031-14/+0
| | | | svn path=/trunk/; revision=8452
* Port the location bar to use GRegex.Diego Escalante Urrelo2008-08-151-7/+45
| | | | | | | | | | | | | | Use a simple regex matching the input text, implements the same behaviour of the current bar, plus: - substring suggestions (closes: #151932) - unicode support (closes: #343906) - diacritics in topic keywords (closes: #328162) - completion on history items titles (closes: #534218) Also, of course, closes: #517960 - port the url bar to GRegex. svn path=/trunk/; revision=8419
* Remove the sort_func for the location entry.Diego Escalante Urrelo2008-08-141-20/+5
| | | | | | | It is not really needed, since the values in comparison are simple numbers that don't need any thought on top. svn path=/trunk/; revision=8416
* Make the order in which we name the cols consistent.Diego Escalante Urrelo2008-08-141-4/+4
| | | | | | | Just a minor reordering of *_col variables, no code changed. svn path=/trunk/; revision=8414
* Remove an unneeded cast to pointer.Diego Escalante Urrelo2008-08-141-3/+6
| | | | | | | | There's an uneeded GUINT_TO_POINTER in gtk_cell_layout_set_cell_data_func for extracell_data_func. We can use the le pointer to get the cols we want. svn path=/trunk/; revision=8412
* Do not do single includes in lib/widgets/, bug #536090Diego Escalante Urrelo2008-06-041-18/+1
| | | | svn path=/trunk/; revision=8268
* Make the extra column pack-end so that when we hide it when it's empty, the ↵Christian Persch2008-03-311-2/+2
| | | | | | other column expands. This makes bookmarks take up all the space instead of being truncated at the half. svn path=/trunk/; revision=8173
* Add Undo/Redo commands to the location entry, both in the context menuCosimo Cecchi2008-02-151-12/+92
| | | | | | and linked to the main window commands. Bug #171179. svn path=/trunk/; revision=7945
* Popup the completion dropdown menu when we're focusing the location barCosimo Cecchi2008-02-021-0/+15
| | | | | | with the cursor at the end of entry and we press down. Bug #340572. svn path=/trunk/; revision=7908
* Catch bookmarks and history in EphyLocationActionPrivate, it's smarter.Diego Escalante Urrelo2007-12-271-2/+3
| | | | | | | Fixes bug #505777. svn path=/trunk/; revision=7828
* Moves the completion_func from lib/widgets/ephy-location-entry.c toDiego Escalante Urrelo2007-12-261-101/+12
| | | | | | | | | | | src/ephy-location-action.c. Adds a function to set the completion_func in lib/widgets/ephy-location-entry.c|h. Part of bug #392979. svn path=/trunk/; revision=7821
* Changes g_value_set_string to g_value_take_string to avoid a leak. Also add theDiego Escalante Urrelo2007-09-301-1/+4
| | | | | | | g_value_unset calls for text and visible vars on extracell_data_func. svn path=/trunk/; revision=7509
* Make the location entry completion cells smarter, now bookmarks take the fullDiego Escalante Urrelo2007-09-301-3/+35
| | | | | | | | | | | width of the popup. Also make the extracell (titles of history entries) align to the left so it's less messy and easier to browse a lot of entries with similar titles. Almost-fixes bug #419475. svn path=/trunk/; revision=7508
* Add a somewhat tricky fix for url titles not visible on the completionDiego Escalante Urrelo2007-09-191-30/+37
| | | | | | | | | | | | | | | | | 2007-09-18 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Add a somewhat tricky fix for url titles not visible on the completion popup of the location entry when using a dark theme (like Darkilouche). We are using GTK_STATE_INSENSITIVE, rationale on the bug report. Fixes bug #446898. Also replaced some spaces for tabs. svn path=/trunk/; revision=7474
* Make cursor be at the end of the URL when selecting entries from theDiego Escalante Urrelo2007-08-191-0/+1
| | | | | | | | | | | | 2007-08-19 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Make cursor be at the end of the URL when selecting entries from the completion popup. Fixes bug #466344. svn path=/trunk/; revision=7283
* Remove gtk version check since we now depend on 2.11.Christian Persch2007-07-101-5/+0
| | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-location-entry.c: (cursor_on_match_cb), (ephy_location_entry_set_completion): Remove gtk version check since we now depend on 2.11. svn path=/trunk/; revision=7138
* Port to new tooltips API.Christian Persch2007-07-101-27/+3
| | | | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize), (ephy_location_entry_class_init), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_set_lock_tooltip): Port to new tooltips API. svn path=/trunk/; revision=7137
* Adds some prefixes to web_prefixes for ftp sites. Bug #422114.Diego Escalante Urrelo2007-06-011-1/+5
| | | | | | | | | | | 2007-05-31 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Adds some prefixes to web_prefixes for ftp sites. Bug #422114. svn path=/trunk/; revision=7062
* Copy the items on the completion list as the user moves through them. TheXan Lopez2007-05-021-1/+34
| | | | | | | | | | | | | | | | * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: * src/ephy-completion-model.h: * src/ephy-location-action.c: Copy the items on the completion list as the user moves through them. The original input can be restored pressing Esc. The tentative completion can be made definitive pressing Left or Right. Fixes #409291, #102528 svn path=/trunk/; revision=7020
* 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
* Show favicons in location entry drop-down. Bug #112748, patch by DiegoChristian Persch2006-12-181-2/+13
| | | | | | | | | | | | | | | | 2006-12-18 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: (ephy_completion_model_get_column_type), (init_favicon_col), (ephy_completion_model_get_value): * src/ephy-completion-model.h: * src/ephy-location-action.c: (connect_proxy): Show favicons in location entry drop-down. Bug #112748, patch by Diego Escalante Urrelo.
* List title and URL in location entry drop-down. Bug #169550, patch byChristian Persch2006-12-181-2/+23
| | | | | | | | | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: (ephy_completion_model_get_column_type), (ephy_completion_model_get_value): * src/ephy-completion-model.h: * src/ephy-location-action.c: (connect_proxy): List title and URL in location entry drop-down. Bug #169550, patch by Diego Escalante Urrelo.
* Fix secure location bar colouring with dark themes. Bug #347343, patch byChristian Persch2006-12-181-2/+2
| | | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_style_set): Fix secure location bar colouring with dark themes. Bug #347343, patch by Diego Escalante Urrelo.
* Clicking favicon in the location bar selects URL. Fix bug #349557.Jean-François Rameau2006-09-141-0/+29
| | | | | | | | | 2006-09-13 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents), (icon_button_press_event_cb): Clicking favicon in the location bar selects URL. Fix bug #349557.
* Use UTF-8 copyright symbolChristian Persch2006-09-131-3/+3
|
* 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.
* Improve the a11y theme check.Christian Persch2006-08-081-2/+2
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: Improve the a11y theme check.
* Reset IM context before activation. Bug #348478, patch by Nguyễn TháiChristian Persch2006-07-251-0/+1
| | | | | | | | | 2006-07-24 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (match_selected_cb): Reset IM context before activation. Bug #348478, patch by Nguyễn Thái Ngọc Duy.
* When resetting the entry also emit user-changed, to restore the originalChristian Persch2006-07-201-5/+18
| | | | | | | | | | | 2006-07-20 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (entry_activate_after_cb), (action_activated_after_cb), (ephy_location_entry_reset_internal), (ephy_location_entry_reset): When resetting the entry also emit user-changed, to restore the original URI in the tab's property. Bug #345934.
* Fix middle-click and ctrl-enter in the location entry autocompletionChristian Persch2006-07-111-5/+61
| | | | | | | | | | | | | | 2006-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (entry_key_press_after_cb), (entry_activate_after_cb), (match_selected_cb), (action_activated_after_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_completion): * src/ephy-location-action.c: (action_activated_cb): Fix middle-click and ctrl-enter in the location entry autocompletion drop-down. Bug #345934, based on a patch by johannes@sipsolutions.net.
* Improve next-token logic for bookmark completion. Fixes #339167 (hopefullyWouter Bolsterlee2006-06-051-2/+2
| | | | | | | | 2006-06-05 Wouter Bolsterlee <uws+gnome@xs4all.nl> * lib/widgets/ephy-location-entry.c: (keyword_match): Improve next-token logic for bookmark completion. Fixes #339167 (hopefully for real this time).
* Make bookmark search ignore special characters (bug 339167)Frederic Peters2006-05-301-1/+1
|
* #337140: Replace fallback favicon with more semantically correct 'text-html'Tommi Komulainen2006-04-151-3/+7
| | | | | | | | 2006-04-15 Tommi Komulainen <tommi.komulainen@iki.fi> * lib/widgets/ephy-location-entry.c (update_favicon): Replace 'stock-new' fallback favicon with more semantically correct 'text-html' It also looks better with Tango icon theme. Bug #337140
* Use g_object_ref_sink().Christian Persch2006-03-291-2/+1
| | | | | | | | | | | | | | 2006-03-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_set_fixed): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-statusbar.c: (ephy_statusbar_init): Use g_object_ref_sink().
* Add a convenience function to get current event data.Christian Persch2006-01-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_get_current_event): * lib/ephy-gui.h: Add a convenience function to get current event data. * src/ephy-link.c: (ephy_link_open), (ephy_link_flags_from_current_event): * src/ephy-link.h: Add a convenience function to translate the current event into EphyLinkFlags. * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-go-action.h: Make this an EphyLinkAction. * lib/widgets/ephy-location-entry.c: (entry_key_press_cb): * src/ephy-home-action.c: (ephy_home_action_activate): * src/ephy-location-action.c: (entry_activate_cb): * src/ephy-tab.c: (open_link_in_new), (ephy_tab_dom_mouse_click_cb): * src/window-commands.c: (window_cmd_load_location): Fix link activation to respect ctrl and shift modifiers. Part of bug #310814. 2006-01-29 Christian Persch <chpe@cvs.gnome.org>
* When updating the address bar, always update the address state, sometimesCrispin Flowerday2006-01-231-0/+3
| | | | | | | | | | 2006-01-22 Crispin Flowerday <gnome@flowerday.cx> * lib/widgets/ephy-location-entry.c (ephy_location_entry_set_location): When updating the address bar, always update the address state, sometimes it isn't updated if the text in the GtkEntry isn't altered (and hence the 'changed' signal isn't called.
* lib/ephy-file-helpers.c lib/widgets/ephy-location-entry.cCrispin Flowerday2005-11-111-1/+0
| | | | | | | | | | | 2005-11-10 Crispin Flowerday <gnome@flowerday.cx> * lib/ephy-file-helpers.c * lib/widgets/ephy-location-entry.c * src/ephy-session.c * src/bookmarks/ephy-bookmarks-import.c: Remove some unused variables
* More static strings.Christian Persch2005-11-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Simplify the drag icon code.Christian Persch2005-11-031-109/+21
| | | | | | | | | 2005-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (favicon_drag_begin_cb), (ephy_location_entry_construct_contents): Simplify the drag icon code.
* Show drag icon with page title + URL when dragging from the drag handle.Christian Persch2005-11-031-0/+238
| | | | | | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (favicon_create_drag_pixmap), (favicon_button_press_event_cb), (favicon_button_release_event_cb), (favicon_motion_notify_event_cb), (ephy_location_entry_construct_contents): Show drag icon with page title + URL when dragging from the drag handle.
* Add style properties for 'secure-[bg|fg]-color', and apply them when theChristian Persch2005-10-071-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_style_set), (ephy_location_entry_class_init), (ephy_location_entry_set_favicon), (ephy_location_entry_set_secure): * lib/widgets/ephy-location-entry.h: Add style properties for 'secure-[bg|fg]-color', and apply them when the entry is in 'secure' mode. Reset the IM context before emitting the 'activate' signal. * src/ephy-location-action.c: (sync_secure), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init): * src/ephy-toolbar.c: (ephy_toolbar_set_security_state), (ephy_toolbar_init): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_chromes_visibility), (sync_tab_security): Set the location entry's 'secure' property on secure sites, and also always show the lock for secure sites.
* Reset the IM context before activating the entry.Christian Persch2005-10-011-4/+8
| | | | | | | | | | | | | 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.
* A lib/widgets/testiconentry.c: A lib/widgets/ephy-icon-entry.c: AChristian Persch2005-08-031-92/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/testiconentry.c: A lib/widgets/ephy-icon-entry.c: A lib/widgets/ephy-icon-entry.h: New widget, looks like a GtkEntry with icons inside. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (update_address_state), (match_selected_cb), (entry_clear_activate_cb), (entry_populate_popup_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_completion), (ephy_location_entry_set_location), (ephy_location_entry_get_location), (ephy_location_entry_reset), (ephy_location_entry_activate), (ephy_location_entry_get_entry), (ephy_location_entry_set_show_lock): Use EphyIconEntry. Fixes location entry drawing with new GNOME default theme (Clearlooks), and should also fix drawing with all themes, except those which draw inside-focus on entries even when the entry has no frame.
* Fix location entry favicon updating.Christian Persch2005-08-011-1/+3
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: Fix location entry favicon updating.
* Fix ESC behaviour to always stop, and to reset the location entry whenChristian Persch2005-07-261-38/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize), (update_address_state), (update_favicon), (editable_changed_cb), (entry_button_press_cb), (match_selected_cb), (entry_key_press_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_location), (ephy_location_entry_reset), (ephy_location_entry_set_favicon): * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (entry_activate_cb), (user_changed_cb), (sync_address), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_finalize), (ephy_location_action_set_address): * src/ephy-location-action.h: * src/ephy-lockdown.c: (update_location_editable): * src/ephy-tab.c: (ephy_tab_get_typed_address): * src/ephy-toolbar.c: (ephy_toolbar_set_location): * src/ephy-toolbar.h: * src/ephy-window.c: (ephy_window_key_press_event), (sync_tab_address), (ephy_window_set_active_tab), (modal_alert_cb): * src/epiphany.defs: * src/window-commands.c: (window_cmd_view_stop): Fix ESC behaviour to always stop, and to reset the location entry when it's focused only. Reset the location entry favicon to the stock icon when the address shown is != the tab's address. When switching tab, preserve the selection if it was owned by the location entry. Fixes bug #155824.
* Uppercase letters shouldn't breaks history autocompletion. Fix BugJean-François Rameau2005-07-101-2/+2
| | | | | | | | | 2005-07-09 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Uppercase letters shouldn't breaks history autocompletion. Fix Bug #308236.
* More constification.Christian Persch2005-04-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (create_dock): * lib/egg/egg-toolbar-editor.c: (editor_create_item), (update_editor_sheet): * lib/ephy-file-helpers.c: (ephy_file): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-main.c: * src/ephy-notebook.c: (ephy_notebook_init), (ephy_notebook_add_tab): * src/ppview-toolbar.c: * src/window-commands.c: (window_cmd_help_about): More constification.
* Restore original URL when pressing ESC. Fixes bug #171179.Christian Persch2005-04-111-0/+32
| | | | | | | | | | | | 2005-04-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_get_location), (ephy_location_entry_restore_location): * lib/widgets/ephy-location-entry.h: Restore original URL when pressing ESC. Fixes bug #171179.
* Don't set the lock icon as drag source. Actually emit the lock-clickedChristian Persch2005-02-061-14/+30
| | | | | | | | | | | | | | | | | | | 2005-02-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (lock_button_press_event_cb), (ephy_location_entry_construct_contents): Don't set the lock icon as drag source. Actually emit the lock-clicked signal when pressed. * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (lock_clicked_cb), (connect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-toolbar.c: (lock_clicked_cb), (ephy_toolbar_set_window): Actually forward the lock-clicked signal to the toolbar.
* Set "Clear" context menu entry insensitive in lockdown mode. Fixes bugChristian Persch2005-02-021-0/+3
| | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Set "Clear" context menu entry insensitive in lockdown mode. Fixes bug #165540.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-28 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_finalize): * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_save), (ephy_history_finalize), (ephy_history_host_visited), (ephy_history_set_page_title), (ephy_history_set_icon), (ephy_history_clear): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (path_message_func), (ephy_dbus_startup), (ephy_dbus_shutdown), (ephy_dbus_init), (ephy_dbus_finalize): * lib/ephy-debug.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_finalize): * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown): * lib/ephy-langs.c: (load_iso_entries): * lib/ephy-module.c: (ephy_module_load), (ephy_module_unload), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize): * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_init), (ephy_shlib_loader_finalize): * lib/widgets/ephy-location-entry.c: (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_load), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_update_node): * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (connect_proxy), (ephy_bookmark_action_finalize): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_bookmark), (set_window_icon): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (provide_favicon): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_update_cb), (bookmarks_tree_changed_cb), (topics_added_cb), (topics_removed_cb), (topic_child_changed_cb), (bookmark_added_cb), (bookmark_removed_cb), (activate_cb), (ephy_bookmarks_menu_finalize): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model), (ephy_bookmarks_save), (ephy_bookmarks_finalize), (ephy_bookmarks_find_keyword), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarksbar-model.c: (save_changes_idle), (load_toolbars), (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_action_request), (ephy_bookmarksbar_finalize): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/bookmarks/ephy-topic-action.c: (connect_proxy): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_set_bookmark): * src/ephy-encoding-menu.c: (add_action): * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_load_string), (get_loader_for_type), (load_extension), (unload_extension), (sync_loaded_extensions), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_init), (ephy_extensions_manager_startup), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (impl_attach_tab), (impl_detach_tab): * src/ephy-history-window.c: (setup_filters), (provide_favicon): * src/ephy-link.c: (ephy_link_open): * src/ephy-location-action.c: (user_changed_cb), (sync_address), (ephy_location_action_set_address): * src/ephy-navigation-action.c: (menu_activated_cb), (connect_proxy): * src/ephy-notebook.c: (ephy_notebook_finalize): * src/ephy-session.c: (window_focus_in_event_cb), (impl_attach_window), (impl_detach_window), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_autoresume), (ephy_session_close), (ephy_session_save), (ephy_session_load), (ephy_session_add_window), (ephy_session_remove_window): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_toolbars_model), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-tab.c: (popups_manager_add), (popups_manager_add_window), (ephy_tab_get_popups_allowed), (popups_manager_show_all), (popups_manager_hide_all), (ephy_tab_finalize), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-toolbars-model.c: (save_changes_idle), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_destroy), (show_embed_popup), (ephy_window_init), (ephy_window_finalize): * src/pdm-dialog.c: (pdm_dialog_cookies_construct), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_passwords_construct), (passwords_changed_cb): * src/prefs-dialog.c: (fonts_language_changed_cb): Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargs case.
* Add GDK_ACTION_ASK, and prefer _NETSCAPE_URL over uri-list drag types.Jorn Baayen2005-01-141-4/+4
| | | | | | | | | | | | | | | | 2005-01-14 Jorn Baayen <jbaayen@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (motion_notify_cb): * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-history-window.c: Add GDK_ACTION_ASK, and prefer _NETSCAPE_URL over uri-list drag types. This is to match the new Nautilus _NETSCAPE_URL DnD behaviour. Fixes #163937.
* Add favicon and lock icon to the entry. Fixes bug #116482 and bug #149506.Christian Persch2005-01-141-11/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-14 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (ephy_location_entry_finalize), (ephy_location_entry_class_init), (modify_background), (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_set_favicon), (ephy_location_entry_set_show_lock), (ephy_location_entry_set_lock_stock), (ephy_location_entry_set_lock_tooltip): * lib/widgets/ephy-location-entry.h: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-location-action.c: (sync_icon), (sync_lock_stock_id), (sync_lock_tooltip), (sync_show_lock), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_finalize): * src/ephy-toolbar.c: (ephy_toolbar_set_security_state), (ephy_toolbar_set_lock_visibility), (ephy_toolbar_constructor): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_chromes_visibility): Add favicon and lock icon to the entry. Fixes bug #116482 and bug #149506. Change "Exit Fullscreen" to "Leave Fullscreen" as per HIG, part of bug #153270.
* Add Toolbar toggle to document context menu in fullscreen mode.Christian Persch2005-01-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-12 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: Add Toolbar toggle to document context menu in fullscreen mode. * lib/egg/egg-editable-toolbar.c: (set_fixed_style), (update_fixed), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: Changed to allow setting a toolbar as fixed, not just one item. * lib/widgets/ephy-search-entry.h: Add _ prefixed struct declarations. * po/POTFILES.in: Updated. * src/Makefile.am: A src/ephy-fullscreen-popup.c: A src/ephy-fullscreen-popup.h: * src/ephy-history-window.c: * src/ephy-shell.c: (ephy_shell_new_tab): A src/ephy-toolbar.c: A src/ephy-toolbar.h: * src/ephy-window.c: (destroy_fullscreen_popup), (ephy_window_destroy), (exit_fullscreen_clicked_cb), (get_toolbar_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (sync_tab_address), (sync_tab_icon), (sync_tab_navigation), (sync_tab_security), (sync_tab_load_status), (sync_tab_zoom), (show_embed_popup), (modal_alert_cb), (ephy_window_focus_in_event), (ephy_window_focus_out_event), (ephy_window_init), (ephy_window_activate_location): R src/toolbar.c: R src/toolbar.h: * src/window-commands.c: (window_cmd_load_location): Implemented in-toolbar exit button, and integrated status indicator in the exit fullscreen popup. Moved toolbar.[ch] to ephy-toolbar.[ch] for namespace correcness, and much-needed code cleanup.
* Unify the location and favicon actions.Christian Persch2005-01-081-28/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-toolbar.xml: * lib/ephy-marshal.list: * lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_string): * lib/ephy-signal-accumulator.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (ephy_location_entry_class_init), (editable_changed_cb), (each_url_get_data_binder), (favicon_drag_data_get_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_activate), (ephy_location_entry_get_entry), (ephy_location_entry_get_image): * lib/widgets/ephy-location-entry.h: * src/Makefile.am: * src/ephy-favicon-action.c: * src/ephy-favicon-action.h: * src/ephy-location-action.c: (sync_address), (sync_editable), (sync_icon), (get_location_cb), (get_title_cb), (remove_completion_actions), (add_completion_actions), (connect_proxy), (disconnect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_init), (ephy_location_action_finalize): * src/ephy-window.c: (sync_tab_icon): * src/toolbar.c: (toolbar_setup_actions), (toolbar_update_favicon): * src/toolbar.h: Unify the location and favicon actions. * src/window-commands.c: (window_cmd_help_about): Add translator comment to the translation-credits string.
* Small improvement.Christian Persch2004-12-161-2/+1
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Small improvement.
* Move Clear after Select All.Christian Persch2004-12-161-11/+20
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Move Clear after Select All.
* Add "Clear" to entry context menu. Fixes bug #118395.Christian Persch2004-12-161-0/+48
| | | | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_clear_activate_cb), (entry_populate_popup_cb), (ephy_location_entry_construct_contents): Add "Clear" to entry context menu. Fixes bug #118395.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-command-manager.c: * embed/ephy-cookie-manager.c: * embed/ephy-download.c: * embed/ephy-embed-dialog.c: * embed/ephy-embed-event.c: * embed/ephy-embed-factory.c: * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: * embed/ephy-embed.c: * embed/ephy-encodings.c: * embed/ephy-favicon-cache.c: * embed/ephy-history.c: * embed/ephy-password-manager.c: * embed/ephy-permission-manager.c: * embed/find-dialog.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbars-model.c: * lib/ephy-debug.c: * lib/ephy-debug.h: * lib/ephy-dialog.c: * lib/ephy-dnd.c: * lib/ephy-file-chooser.c: * lib/ephy-file-helpers.c: * lib/ephy-glade.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-loader.c: * lib/ephy-module.c: * lib/ephy-node-db.c: * lib/ephy-node-filter.c: * lib/ephy-node.c: * lib/ephy-shlib-loader.c: * lib/ephy-state.c: * lib/ephy-stock-icons.c: * lib/ephy-string.c: * lib/ephy-zoom.c: * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-export.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/bookmarks/ephy-topics-selector.c: * src/ephy-automation.c: * src/ephy-completion-model.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-extension.c: * src/ephy-extensions-manager.c: * src/ephy-favicon-action.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-location-action.c: * src/ephy-main.c: * src/ephy-navigation-action.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-shell.c: * src/ephy-statusbar.c: * src/ephy-tab.c: * src/ephy-tabs-menu.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/toolbar.c: * src/window-commands.c: We always have config.h, no need to guard its inclusion.
* Don't deactivate the toolbar when another item in the same toolbar gainsChristian Persch2004-11-011-35/+1
| | | | | | | | | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init), (ephy_location_entry_activate): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-window.c: (ephy_window_init): * src/toolbar.c: (toolbar_class_init), (toolbar_finalize), (maybe_finish_activation_cb), (toolbar_activate_location), (toolbar_update_zoom), (toolbar_new): * src/toolbar.h: Don't deactivate the toolbar when another item in the same toolbar gains focus. Fixes bug #155650.
* Avoid strdups in entry completion func. Patch by Peter Harvey.Christian Persch2004-10-271-19/+18
| | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Avoid strdups in entry completion func. Patch by Peter Harvey.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_get_type): * embed/ephy-command-manager.c: (ephy_command_manager_get_type): * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_manager_get_type): * embed/ephy-download.c: (ephy_download_get_type): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_type): * embed/ephy-embed-event.c: (ephy_embed_event_get_type): * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type): * embed/ephy-embed-single.c: (ephy_embed_single_get_type): * embed/ephy-embed.c: (ephy_embed_get_type): * embed/ephy-encodings.c: (ephy_encodings_get_type): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type): * embed/ephy-history.c: (ephy_history_get_type): * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_manager_get_type): * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_manager_get_type): * embed/find-dialog.c: (find_dialog_get_type): * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_type): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_get_type): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type): * lib/ephy-dialog.c: (ephy_dialog_get_type): * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type): * lib/ephy-loader.c: (ephy_loader_get_type): * lib/ephy-module.c: (ephy_module_get_type): * lib/ephy-node-db.c: (ephy_node_db_get_type): * lib/ephy-node-filter.c: (ephy_node_filter_get_type): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * lib/widgets/ephy-node-view.c: (ephy_node_view_get_type): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_get_type): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_type): * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_get_type): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_type): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_get_type): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_type): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_get_type): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type): * src/ephy-completion-model.c: (ephy_completion_model_get_type): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): * src/ephy-extension.c: (ephy_extension_get_type): * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type): * src/ephy-favicon-action.c: (ephy_favicon_action_get_type): * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-history-window.c: (ephy_history_window_get_type): * src/ephy-location-action.c: (ephy_location_action_get_type): * src/ephy-navigation-action.c: (ephy_navigation_action_get_type): * src/ephy-notebook.c: (ephy_notebook_get_type): * src/ephy-session.c: (ephy_session_get_type): * src/ephy-shell.c: (ephy_shell_get_type): * src/ephy-statusbar.c: (ephy_statusbar_get_type): * src/ephy-tab.c: (ephy_tab_get_type): * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type): * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type): * src/ephy-window.c: (ephy_window_get_type): * src/pdm-dialog.c: (pdm_dialog_get_type): * src/ppview-toolbar.c: (ppview_toolbar_get_type): * src/prefs-dialog.c: (prefs_dialog_get_type): * src/toolbar.c: (toolbar_get_type): Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like the G_TYPE_DEFINE macros do.
* merging pre-gnome-2-8 branchMarco Pesenti Gritti2004-03-171-0/+4
|
* Sucky but not intrusive hack to make dnd on the address entry work whenMarco Pesenti Gritti2004-02-281-0/+52
| | | | | | | | | | | | | | | | 2004-02-28 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_edit_mode): * lib/egg/egg-editable-toolbar.h: * lib/widgets/ephy-location-entry.c: (toolbar_is_editable), (entry_drag_motion_cb), (entry_drag_drop_cb), (ephy_location_entry_construct_contents): Sucky but not intrusive hack to make dnd on the address entry work when editing toolbar. A better solution will be found when the toolbar editor will get in gtk. Based on a patch from Søren Sandmann, bug 132467.
* Simplify and hopefully fix mem corruptionMarco Pesenti Gritti2004-02-121-5/+3
| | | | | | | | 2004-02-12 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (keyword_match): Simplify and hopefully fix mem corruption
* CleanupMarco Pesenti Gritti2004-02-111-3/+3
| | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Cleanup * src/bookmarks/ephy-bookmarks.c: Increase format version
* Better keyword matching function. Should match only words (not middleMarco Pesenti Gritti2004-02-111-1/+36
| | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (keyword_match), (completion_func): Better keyword matching function. Should match only words (not middle parts of them) and maybe be a bit faster.
* Pass the property id to the changed signal.Marco Pesenti Gritti2004-02-111-15/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-node.c: (callback), (child_changed), (ephy_node_set_property): Pass the property id to the changed signal. * lib/ephy-node.h: Cleanup. * embed/ephy-history.c: (hosts_changed_cb), (pages_changed_cb): * lib/widgets/ephy-location-entry.c: (completion_func): * lib/widgets/ephy-tree-model-node.c: (root_child_changed_cb): * src/bookmarks/ephy-bookmark-action.c: (bookmarks_child_changed_cb): * src/bookmarks/ephy-bookmarks-menu.c: (topic_child_changed_cb): * src/bookmarks/ephy-topic-action.c: (topic_child_changed_cb): * src/ephy-completion-model.c: (root_child_changed_cb): * src/ephy-location-action.c: (actions_child_changed_cb): Fixup changed signals signature. * src/bookmarks/ephy-bookmarks.c: (update_bookmark_keywords), (bookmarks_changed_cb), (bookmark_is_categorized), (topics_removed_cb), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): Cleanup keywords building, normalize and case fold it, add the title words as keywords too.
* New function to get temp directory and moved ephy_shell_delete_on_exit toChristopher James Lahey2004-01-231-17/+14
| | | | | | | | | | | | | | | | | | 2004-01-22 Christopher James Lahey <clahey@ximian.com> * lib/ephy-file-helpers.c, lib/ephy-file-helpers.h (ephy_file_tmp_directory, ephy_file_delete_on_exit): New function to get temp directory and moved ephy_shell_delete_on_exit to here. * lib/widgets/ephy-location-entry.c: Changed how this goes about showing itself when hidden and activated. * src/ephy-shell.c, src/ephy-shell.h (ephy_shell_delete_on_exit): Moved to ephy_file_delete_on_exit. * src/window-commands.c: Changed ephy_shell_delete_on_exit to ephy_file_delete_on_exit. Used ephy_file_tmp_directory to save source files for viewing in a directory that isn't world readable.
* Fix more mem leaks.Christian Persch2003-12-171-0/+3
| | | | | | | | 2003-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Fix more mem leaks.
* Fix mem leak.Christian Persch2003-12-171-0/+2
| | | | | | | | 2003-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Fix mem leak.
* Make location a normal entry.Marco Pesenti Gritti2003-10-141-182/+3
| | | | | | | | | | | | | | | | | | | 2003-10-14 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_activate): * lib/widgets/ephy-location-entry.h: * src/ephy-history-window.c: (confirmation_dialog_response_cb): * src/ephy-location-action.c: (remove_completion_actions), (add_completion_actions), (connect_proxy), (ephy_location_action_set_address): * src/ephy-location-action.h: * src/toolbar.c: * src/toolbar.h: Make location a normal entry.
* Unref completionMarco Pesenti Gritti2003-10-141-0/+1
| | | | | | | | | 2003-10-13 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): Unref completion
* Merge completion branchMarco Pesenti Gritti2003-10-121-541/+335
|
* *** empty log message ***Marco Pesenti Gritti2003-09-201-0/+1
|
* Remember the address in the location action, so we can restore it when weChristian Persch2003-09-201-23/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-20 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (ephy_location_entry_activation_finished), (location_focus_out_cb), (ephy_location_entry_init), (ephy_location_ignore_prefix), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_get_location), (ephy_location_entry_activate), (ephy_location_entry_editable_changed_cb), (ephy_location_entry_clear_history): * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (location_url_activate_cb), (user_changed_cb), (sync_address), (connect_proxy), (disconnect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_activate), (ephy_location_action_class_init), (ephy_location_action_init), (ephy_location_action_finalize), (ephy_location_action_get_address), (ephy_location_action_set_address), (clear_history), (ephy_location_action_clear_history): * src/ephy-location-action.h: * src/toolbar.c: (toolbar_class_init), (toolbar_set_property), (sync_user_input_cb), (toolbar_setup_actions), (toolbar_set_window), (toolbar_init), (toolbar_finalize), (toolbar_new), (toolbar_activate_location), (toolbar_set_location), (toolbar_get_location), (toolbar_clear_location_history): * src/toolbar.h: * src/window-commands.c: (window_cmd_load_location): Remember the address in the location action, so we can restore it when we get a new proxy widget. Do some misc cleanups on location entry, removing finished signal; move activation from toolbar into location entry.
* Make sure to remove show_timeout also when the window is still notMarco Pesenti Gritti2003-09-121-13/+8
| | | | | | | | | | | | 2003-09-11 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_hide_alternatives), (insert_text_cb), (ephy_location_entry_autocompletion_window_hidden_cb): Make sure to remove show_timeout also when the window is still not visible.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-2/+9
|
* Part of gtk 2.3 port, changelog too long to paste itMarco Pesenti Gritti2003-08-301-4/+4
|
* Cleanup.Marco Pesenti Gritti2003-07-071-2/+12
| | | | | | | | | | | | | | | 2003-07-07 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_key_press_cb): Cleanup. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_key_press_event_cb): Handle Tab key binding. The window binding doesnt work because of the grab.
* Make the location entry an EggToolItem, and provide a custom tooptipChristian Persch2003-07-021-39/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (ephy_location_entry_construct_contents), (ephy_location_entry_class_init), (ephy_location_entry_init), (ephy_location_entry_finalize): Make the location entry an EggToolItem, and provide a custom tooptip setter. Fix mem leak. * src/ephy-location-action.c: (create_tool_item), (ephy_location_action_class_init), (connect_proxy): Use the location entry EggToolItem instead of constructing it explicitly. * src/toolbar.c: (toolbar_setup_action): Set tooltip for location entry. * lib/egg/egg-action.c: (connect_proxy), (disconnect_proxy): Connect the tooltip sync'er on any EggToolItem, not just EggTollButton:s. Disconnect the tooltip sync func on disconnect, too.
* testing before committing sometimes helpsMarco Pesenti Gritti2003-07-011-1/+1
|
* Hide only when necessary. Remove gdk_ungrab stuff that doesnt seem to beMarco Pesenti Gritti2003-07-011-0/+7
| | | | | | | | | | | | | | | | | | 2003-07-01 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_finalize_impl), (ephy_autocompletion_window_show), (ephy_autocompletion_window_hide): Hide only when necessary. Remove gdk_ungrab stuff that doesnt seem to be necessary. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_show_alternatives): Reset entry->button when showing autocompletion, the grab get gtk crazy otherwise.
* Fix mem leaks.Christian Persch2003-06-281-2/+2
| | | | | | | | | | | | | 2003-06-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-navigation-action.c: (ephy_navigation_action_finalize), (ephy_navigation_action_class_init): * src/ephy-spinner-action.c: (ephy_spinner_action_finalize), (ephy_spinner_action_class_init): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_editable_changed_cb): Fix mem leaks.
* Remove some unused headers.Marco Pesenti Gritti2003-06-231-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-23 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/GlobalHistory.cpp: Remove some unused headers. * embed/mozilla/mozilla-embed.cpp: Dont asser when trying to print blank page. * lib/Makefile.am: * lib/ephy-autocompletion.c: (ephy_autocompletion_get_type): * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): Get rid of the gobject macros. * src/ephy-notebook.c: (move_tab), (move_tab_to_another_notebook), (button_release_cb), (update_tabs_visibility), (tabs_visibility_notifier), (ephy_notebook_init), (ephy_notebook_finalize), (ephy_notebook_set_show_tabs): * src/ephy-notebook.h: * src/ephy-tabs-menu.c: * src/ephy-window.c: (ephy_window_finalize), (update_embed_dialogs), (ephy_window_get_find_dialog), (print_dialog_preview_cb), (ephy_window_print): * src/ephy-window.h: * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_file_print): Make sure tabs are hidden when going in print preview mode. Make print dialog transient.
* Correct translations dir (leftover from galeon)Marco Pesenti Gritti2003-06-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-23 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Correct translations dir (leftover from galeon) * embed/ephy-history.c: Lower expire to 10 days, similar to phoenix. Current interface and perf make this a better default. * lib/ephy-dialog.c: (ephy_dialog_init), (setup_default_size): Make sure to not state_add more than one time * lib/widgets/ephy-location-entry.c: (insert_text_cb): Do not show autocompletion on not focused window. This is to work around problems with gnome-entry. * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup), (tab_context_menu_cb): Do not use custom func to show mouse popups. Fix costum func to be smarter with screen limits.
* do not popup autocompletion when setting url from the combo listMarco Pesenti Gritti2003-06-221-0/+2
| | | | | | | | 2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (insert_text_cb): do not popup autocompletion when setting url from the combo list
* Ever put cursor at the end of the text when selecting autocompletionMarco Pesenti Gritti2003-06-201-1/+2
| | | | | | | | | | | | | | | 2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_window_url_selected_cb): Ever put cursor at the end of the text when selecting autocompletion items. * src/pdm-dialog.c: (cookies_treeview_selection_changed_cb), (action_treeview_selection_changed_cb): Do not allow to open properties of multiple cookies. (insensitive)
* Rewrite the url typed by user overwrite logic to fix bugs.Marco Pesenti Gritti2003-06-201-49/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EphyWrapper.cpp: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (location_focus_out_cb), (ephy_location_entry_init), (insert_text_cb), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_autocompletion_window_url_selected_cb), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_editable_changed_cb): * lib/widgets/ephy-location-entry.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_set_link_message), (ephy_tab_set_window), (ephy_tab_address_cb), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location): * src/ephy-tab.h: * src/ephy-window.c: (ephy_window_notebook_switch_page_cb): * src/popup-commands.c: (get_event_info), (popup_cmd_copy_link_address): * src/toolbar.c: (get_location_entry), (location_user_changed_cb), (toolbar_set_window), (toolbar_activate_location), (toolbar_set_location), (toolbar_get_location), (toolbar_clear_location_history): * src/toolbar.h: Rewrite the url typed by user overwrite logic to fix bugs.
* Use insert_text delete_text to show/hide the autocompletion window.Marco Pesenti Gritti2003-06-191-56/+69
| | | | | | | | | | | | | | | | | | | | | 2003-06-18 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-autocompletion.c: (ephy_autocompletion_refine_matches), (ephy_autocompletion_update_matches_full_item): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_build), (ephy_location_entry_autocompletion_show_alternatives_to), (real_entry_set_location), (delete_text_cb), (insert_text_cb), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_content_is_text), (ephy_location_entry_activate_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_autocompletion_source_foreach): * src/ephy-location-action.c: (create_tool_item), (location_url_activate_cb): Use insert_text delete_text to show/hide the autocompletion window. Remember last search with autocompletion smart bookmarks.
* Fix nodes drag and drop. Make double click select the whole address inMarco Pesenti Gritti2003-05-211-0/+14
| | | | | | | | | | | | | | | | | | | 2003-05-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dnd.c: (ephy_dnd_drag_data_get), (ephy_dnd_node_list_extract_nodes): * lib/ephy-node-db.c: (ephy_node_db_set_name), (node_from_id_real), (ephy_node_db_get_name): * lib/ephy-node-db.h: * lib/ephy-node.c: (ephy_node_get_db): * lib/ephy-node.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_button_press_event_cb), (ephy_location_entry_build): * lib/widgets/ephy-tree-model-sort.c: (each_node_get_data_binder): Fix nodes drag and drop. Make double click select the whole address in toolbar entry.
* Revert api change. So we keep 2.2 compatibility.Marco Pesenti Gritti2003-05-141-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-13 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ExternalProtocolService.cpp: Revert api change. So we keep 2.2 compatibility. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (location_focus_out_cb), (ephy_location_entry_activate_cb): * lib/widgets/ephy-location-entry.h: Add a finished callback to know when the user finished using location. * src/bookmarks/ephy-bookmarks.c: (history_site_visited_cb), (ephy_bookmarks_set_icon): Remove unused vars. Bad xan. * src/toolbar.c: (location_finished_cb), (toolbar_activate_location): Show the toolbar on ctrl+l, hide it again when the user finished to edit (focus out/activate)
* Remove old toolbar editor uiMarco Pesenti Gritti2003-03-011-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-28 Marco Pesenti Gritti <marco@it.gnome.org> * data/glade/Makefile.am: * data/glade/toolbar-editor.glade: Remove old toolbar editor ui * lib/ephy-autocompletion.c: (ephy_autocompletion_update_matches): Remove an obsolete FIXME * lib/ephy-gui.c: * lib/ephy-gui.h: Remove some functions that was used only in galeon bookmarks * lib/widgets/ephy-autocompletion-window.c: (hack_tree_view_move_selection), (ephy_autocompletion_window_key_press_hack): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_window_url_selected_cb): Up on the top border of the autocompl window goes back to the entry * src/appearance-prefs.c: (setup_font_menu): Free fonts list * src/ephy-tab.c: (ephy_tab_parent_set_cb), (ephy_tab_set_visibility): * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right): Implement tabs moving
* cleaner xml dump code.Marco Pesenti Gritti2003-02-281-2/+12
| | | | | | | | | | | | | | | | | | | 2003-02-28 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-start-here.c: (ephy_start_here_get_page): cleaner xml dump code. * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_key_press_hack): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init), (ephy_location_entry_finalize_impl), (ephy_location_entry_autocompletion_show_alternatives_to), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_autocompletion_window_url_selected_cb): Do not overwrite search text when going on an action, make Esc get back the location content before the completion.
* Remove Tab autocompletion. Behavior still not optimal, but that code isMarco Pesenti Gritti2003-02-261-139/+1
| | | | | | | | | | | | | | | 2003-02-26 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-autocompletion.c: (ephy_autocompletion_init), (ephy_autocompletion_reset), (ephy_autocompletion_set_key), (ephy_autocompletion_update_matches): * lib/ephy-autocompletion.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_key_press_event_cb), (ephy_location_entry_autocompletion_sources_changed_cb): Remove Tab autocompletion. Behavior still not optimal, but that code is such a pain :(
* Update location entry with the urls selected on the drop down. ImplementMarco Pesenti Gritti2003-02-231-8/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-23 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_class_init), (ephy_autocompletion_window_key_press_hack): * lib/widgets/ephy-autocompletion-window.h: * lib/widgets/ephy-editable-toolbar.c: (drag_data_delete_cb), (drag_data_get_cb), (connect_toolbar_drag_source), (disconnect_toolbar_drag_source), (do_merge), (editor_close_cb), (button_press_cb), (ephy_editable_toolbar_edit): * lib/widgets/ephy-location-entry.c: (location_focus_out_cb), (ephy_location_entry_init), (real_entry_set_location), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_autocompletion_window_url_selected_cb), (ephy_location_entry_set_autocompletion), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_autocompletion_window_hidden_cb), (ephy_location_entry_edit): * lib/widgets/ephy-location-entry.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (add_widget): * src/toolbar.c: (toolbar_edit_location): * src/toolbar.h: Update location entry with the urls selected on the drop down. Implement editing mode in location entry == when the user is typing an url try to do not disturb (mozilla still grab the focus damnit). Dont put the homepage url in the location. I'm not sure if this is a good behavior for normal urls (I dont see problems, but please prove me wrong), but for about:blank it's needed.
* Activate the url when clicking on it from the combo dropdown. Based onMarco Pesenti Gritti2003-02-201-4/+15
| | | | | | | | | | | 2003-02-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_list_event_after_cb), (ephy_location_entry_editable_changed_cb): Activate the url when clicking on it from the combo dropdown. Based on galeon patch.
* Some more gtk_timeout_add.Marco Pesenti Gritti2003-02-091-2/+2
| | | | | | | | | 2003-02-08 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_sources_changed_cb): Some more gtk_timeout_add.
* Remove gtk_timeout_x calls. Hope I got all of them.Marco Pesenti Gritti2003-02-091-2/+2
| | | | | | | | | | | 2003-02-08 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_key_press_event_cb): * lib/widgets/ephy-spinner.c: (ephy_spinner_start), (ephy_spinner_remove_update_callback): Remove gtk_timeout_x calls. Hope I got all of them.
* Clear also location history when clearing history. Doesnt updateMarco Pesenti Gritti2003-02-061-0/+6
| | | | | | | | | | | | | | | 2003-02-06 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_clear_history): * lib/widgets/ephy-location-entry.h: * src/history-dialog.c: (history_clear_button_clicked_cb): * src/toolbar.c: (toolbar_clear_location_history): * src/toolbar.h: Clear also location history when clearing history. Doesnt update immediately, gtk/gnome bug, will submit patches.
* Fix autocompletion to not show duped entries. Complete print preview impl.Marco Pesenti Gritti2003-01-231-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | 2003-01-23 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * lib/ephy-autocompletion.c: (ephy_autocompletion_reset), (ephy_autocompletion_set_key), (ephy_autocompletion_update_matches_full): * lib/widgets/ephy-location-entry.c: (get_editable_number_of_chars), (position_is_at_end), (ephy_location_entry_key_press_event_cb): * src/ephy-favicon-action.c: (ephy_favicon_action_finalize): * src/ephy-favorites-menu.c: (ephy_favorites_menu_finalize_impl), (ephy_favorites_menu_rebuild): * src/ephy-window.c: (add_widget), (setup_window), (ephy_window_finalize), (ephy_window_set_chrome): * src/ppview-toolbar.c: (toolbar_update_sensitivity), (ppview_toolbar_set_window), (toolbar_cmd_ppv_close): * src/toolbar.c: (toolbar_setup_widgets), (toolbar_finalize): Fix autocompletion to not show duped entries. Complete print preview impl. Fix actions referencing, a bug in egg still blocking it though.
* Merge eog-menu-api branchMarco Pesenti Gritti2003-01-211-2/+2
| | | | | | 2003-01-20 Marco Pesenti Gritti <marco@it.gnome.org> * Merge eog-menu-api branch
* 2003-01-12 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-01-121-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: * doc/debugging.txt: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_charsets_submenu): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): * embed/ephy-history.c: (ephy_history_save): * embed/mozilla/mozilla-embed.cpp: * lib/ephy-autocompletion.c: (ephy_autocompletion_reset), (ephy_autocompletion_get_common_prefix), (ephy_autocompletion_refine_matches), (ephy_autocompletion_update_matches_full), (ephy_autocompletion_sort_by_score), (ephy_autocompletion_data_changed_cb), (acma_grow): * lib/ephy-debug.c: (log_module), (ephy_debug_init), (ephy_profiler_new), (ephy_should_profile), (ephy_profiler_dump), (ephy_profiler_free), (ephy_profiler_start), (ephy_profiler_stop): * lib/ephy-debug.h: * lib/ephy-filesystem-autocompletion.c: (ephy_filesystem_autocompletion_finalize_impl), (gfa_load_directory_cb), (ephy_filesystem_autocompletion_set_current_dir), (ephy_filesystem_autocompletion_set_base_dir): * lib/ephy-start-here.c: * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_get_dimensions), (ephy_autocompletion_window_fill_store_chunk), (ephy_autocompletion_window_show), (ephy_autocompletion_window_key_press_cb): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize_impl), (ephy_location_entry_autocompletion_show_alternatives_to), (ephy_location_entry_autocompletion_to), (ephy_location_entry_activate_cb), (ephy_location_entry_autocompletion_sources_changed_cb), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_autocompletion_window_hidden_cb): * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_clean_empty_keywords), (ephy_bookmarks_save), (ephy_bookmarks_find_keyword), (diff_keywords): * src/bookmarks/ephy-keywords-entry.c: (try_to_expand_keyword): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/ephy-nautilus-view.c: (gnv_cmd_set_charset), (if): * src/ephy-navigation-button.c: (ephy_navigation_button_finalize_impl): * src/ephy-shell.c: (ephy_shell_finalize): * src/ephy-tab.c: (ephy_tab_embed_destroy_cb), (ephy_tab_finalize):
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+700