aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Use accessor functions instead direct accessJavier Jardón2010-02-112-3/+3
| | | | | | | 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-052-17/+8
| | | | | | | | | | | 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-tree-model-nodeDiego Escalante Urrelo2009-12-032-4/+65
| | | | Bug #503852
* docs: ephy-tree-model-sortDiego Escalante Urrelo2009-12-032-4/+36
| | | | | | Also disable incomplete documentation. Bug #503852
* docs: ephy-node-viewDiego Escalante Urrelo2009-12-032-23/+205
| | | | Bug #503852
* ephy-node-view: fix some really weird indentationDiego Escalante Urrelo2009-12-031-131/+131
|
* docs: ephy-zoom-actionDiego Escalante Urrelo2009-12-031-0/+34
|
* docs: ephy-spinnerDiego Escalante Urrelo2009-12-032-2/+11
|
* docs: ephy-zoom-controlDiego Escalante Urrelo2009-12-031-2/+19
|
* docs: ephy-location-entryDiego Escalante Urrelo2009-12-031-0/+43
| | | | bonus nitpick in ephy-zoom (just a line break)
* docs: ephy-search-entryDiego Escalante Urrelo2009-12-032-1/+19
|
* GTK+ 2.17.11 is now the required versionJavier Jardón2009-09-223-28/+37
| | | | | | | | | | | | | | | 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.
* Add again the spinner.Xan Lopez2009-08-103-0/+179
| | | | | | | | | We need some indication in the UI of network activity when there are no tabs opened and the progress bar hasn't appeared yet in the URL entry. Re-add the spinner for now, we'll think of a better solution later. Bug #585035
* 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-zoom-control: release references in dispose, not finalize.Xan Lopez2009-02-231-5/+9
| | | | svn path=/trunk/; revision=8809
* ephy-zoom-control: use G_DEFINE_TYPE, remove unneeded includes.Xan Lopez2009-02-231-37/+4
| | | | svn path=/trunk/; revision=8808
* ephy-zoom-action: use G_DEFINE_TYPE, remove unneeded includes.Xan Lopez2009-02-231-37/+5
| | | | svn path=/trunk/; revision=8807
* ephy-search-entry: remove unneeded/redundant includes.Xan Lopez2009-02-231-2/+0
| | | | svn path=/trunk/; revision=8806
* 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
* Remove EphyIconEntry leftovers.Xan Lopez2009-01-221-64/+0
| | | | svn path=/trunk/; revision=8715
* 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-202-32/+121
| | | | | | Bug #568101 svn path=/trunk/; revision=8706
* Remove $Id$ marker from source files.Xan Lopez2009-01-1616-16/+0
| | | | svn path=/trunk/; revision=8695
* 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-022-2/+2
| | | | 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
* Delete EphyIconEntry, it's unused.Xan Lopez2008-12-313-459/+0
| | | | svn path=/trunk/; revision=8655
* Port EphySearchEntry to use GtkEntry.Xan Lopez2008-12-312-21/+45
| | | | | | | Also fold into the widget the 'clear' icon instead of creating it twice outside. svn path=/trunk/; revision=8653
* ephy-search-entry: use G_DEFINE_TYPE.Xan Lopez2008-12-311-32/+1
| | | | svn path=/trunk/; revision=8652
* 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
* Update documentation for lib/widgets/ephy-spinner.cDiego Escalante Urrelo2008-11-301-83/+86
| | | | svn path=/trunk/; revision=8623
* Document lib/widgets/ephy-zoom-control.cDiego Escalante Urrelo2008-11-301-0/+17
| | | | svn path=/trunk/; revision=8622
* Minor nitpick in the .h filesDiego Escalante Urrelo2008-09-292-9/+9
| | | | svn path=/trunk/; revision=8565
* Correctly mark doc comments for parsingDiego Escalante Urrelo2008-09-291-4/+4
| | | | svn path=/trunk/; revision=8563
* Update docs for ephy-icon-entryDiego Escalante Urrelo2008-09-291-4/+12
| | | | svn path=/trunk/; revision=8559
* Sync argument names in ephy-location-entry and update docsDiego Escalante Urrelo2008-09-292-27/+56
| | | | | | | | | 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
* Document lib/widgets/ephy-icon-entry.cDiego Escalante Urrelo2008-09-292-0/+33
| | | | | | | | | Functions ephy_icon_entry_pack_widget and ephy_icon_entry_get_entry. Not sure how to extract that to proper gtk-docs and stuff. Document lib/widgets/ephy-search-entry.c svn path=/trunk/; revision=8555
* Remove useless ephy-node #includeDiego Escalante Urrelo2008-09-291-2/+0
| | | | svn path=/trunk/; revision=8550
* 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-152-10/+51
| | | | | | | | | | | | | | 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-142-6/+6
| | | | | | | 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-0417-55/+15
| | | | svn path=/trunk/; revision=8268
* Add epiphany.h. Only allow including epiphany.h; all other headers are privateChristian Persch2008-04-129-0/+36
| | | | svn path=/trunk/; revision=8211
* 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
* Remove the ephy-spinner from the toolbar.c, there's enough feebackXan Lopez2008-03-283-179/+0
| | | | | | with the spinners in the tabs and the progress bar. (#524809) svn path=/trunk/; revision=8166
* Add Undo/Redo commands to the location entry, both in the context menuCosimo Cecchi2008-02-152-12/+98
| | | | | | 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-272-3/+5
| | | | | | | Fixes bug #505777. svn path=/trunk/; revision=7828
* Moves the completion_func from lib/widgets/ephy-location-entry.c toDiego Escalante Urrelo2007-12-262-101/+16
| | | | | | | | | | | 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
* Add "node-middle-clicked" signal to EphyNodeView.Cosimo Cecchi2007-12-082-0/+38
| | | | | | Part of bug #385037. svn path=/trunk/; revision=7762
* Adds a EPHY_NODE_VIEW_ELLIPSIZED flag and make history window andCosimo Cecchi2007-11-192-1/+8
| | | | | | | bookmarks editor views use it to display address and title columns. Fix bug #132808. svn path=/trunk/; revision=7719
* Fix a bug in EphyNodeView which caused weird problems when setting columnsCosimo Cecchi2007-11-191-0/+5
| | | | | | | | as resizable; thanks to Kristian Rietveld for finding out the cause. Make history window columns resizable and bookmarks editor columns resizable and sortable. Part of bug #132808. svn path=/trunk/; revision=7718
* 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
* Modifies the EphySearchEntry to inherit from EphyIconEntry instead ofCosimo Cecchi2007-09-102-8/+16
| | | | | | | | | | | | | | | | | | 2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type), (ephy_search_entry_timeout_cb), (ephy_search_entry_changed_cb), (ephy_search_entry_init), (ephy_search_entry_clear): * lib/widgets/ephy-search-entry.h: * src/bookmarks/ephy-bookmarks-editor.c: (search_entry_clear_cb), (build_search_box): Modifies the EphySearchEntry to inherit from EphyIconEntry instead of GtkEntry, to have icons on it. Adds a cleaner icon in the search entry of Bookmarks Editor. Fixes bug #463469. svn path=/trunk/; revision=7358
* Fixes bad state syncing when adding zoom controls to the toolbar. FixesCosimo Cecchi2007-09-091-0/+4
| | | | | | | | | | | | 2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> * lib/widgets/ephy-zoom-action.c: (connect_proxy): Fixes bad state syncing when adding zoom controls to the toolbar. Fixes bug #338005. Patch by Cyril Brulebois. svn path=/trunk/; revision=7355
* 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-102-28/+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
* Port to new tooltips API.Christian Persch2007-07-102-63/+4
| | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): Port to new tooltips API. svn path=/trunk/; revision=7136
* 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-022-2/+36
| | | | | | | | | | | | | | | | * 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-1222-26/+26
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Workaround/semi-fix for bug #351814. The real cause of the problem is theDiego Escalante Urrelo2007-01-091-6/+11
| | | | | | | | | | | | | | | 2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: * lib/widgets/ephy-node-view.c: Workaround/semi-fix for bug #351814. The real cause of the problem is the user_data that is never set on a GtkTreeIter, so the Ephy implementation of the tree makes it to have a stamp of 0 being that way an invalid iter. Patch by Diego Escalante Urrelo. svn path=/trunk/; revision=6796
* .cvsignore files are obsoleteChristian Persch2006-12-301-7/+0
| | | | svn path=/trunk/; revision=6768
* Show favicons in location entry drop-down. Bug #112748, patch by DiegoChristian Persch2006-12-182-3/+15
| | | | | | | | | | | | | | | | 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-182-3/+25
| | | | | | | | | | | | | | | | 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.
* embed/ephy-encodings.c embed/ephy-favicon-cache.c embed/ephy-history.cBjörn Lindqvist2006-12-171-7/+3
| | | | | | | | | | | | | | | | | | 2006-12-17 Björn Lindqvist <bjourne@gmail.com> * embed/ephy-encodings.c * embed/ephy-favicon-cache.c * embed/ephy-history.c * embed/mozilla/GlobalHistory.cpp * lib/ephy-state.c * lib/widgets/ephy-node-view.c * src/ephy-tab.c * src/bookmarks/ephy-bookmarks.c Refactor lots of code by using the function ephy_node_set_property_XXX() instead of ephy_node_set_property(). Also, add emacs mode headers to touched files. Bug #381546.
* Use a define for the default window icon. Bug #385872.Christian Persch2006-12-153-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-module.c: * lib/ephy-password-dialog.c: (ephy_password_dialog_constructor): * lib/ephy-spell-check.c: * lib/ephy-stock-icons.h: * lib/widgets/.cvsignore: * lib/widgets/ephy-spinner-tool-item.c: (ephy_spinner_tool_item_toolbar_reconfigured): * lib/widgets/testspinner.c: * plugins/desktop-file/plugin.cpp: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-history-window.c: (confirmation_dialog_construct): * src/ephy-main.c: (main): * src/ephy-session.c: (confirm_shutdown_cb), (session_command_autoresume): * src/ephy-shell.c: (ephy_shell_add_sidebar_cb): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor): * src/ephy-window.c: (construct_confirm_close_dialog): * src/pdm-dialog.c: (pdm_dialog_init): * src/window-commands.c: (window_cmd_help_about): Use a define for the default window icon. Bug #385872. * lib/ephy-module.c: The symbol can be NULL even though the symbol lookup succeeded.
* Fix typoChristian Persch2006-12-051-2/+2
|
* Version 2.17.3.Christian Persch2006-12-051-60/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-04 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Version 2.17.3. * embed/mozilla/GtkNSSDialogs.cpp: Use NULL for gtk_label_new instead of "". * lib/ephy-print-utils.c: (ephy_print_utils_page_setup_new_from_key_file): Fix possible invalid free. * lib/widgets/ephy-spinner.c: (ephy_spinner_images_unref), (ephy_spinner_images_load), (ephy_spinner_load_images), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_stop): Fix compliance with icon theme spec by skipping the first frame in the animation when in spinning mode. Bug #382207. Try the "process-working" icon first and fall back to "gnome-spinner" when it's not available. * m4/gecko.m4: Updated. 2006-12-04 Luca Ferretti <elle.uca@libero.it>
* Lower the priority of the spinner animation so that the animation does notBenjamin Berg2006-11-181-3/+5
| | | | | | | | 2006-11-17 Benjamin Berg <benjamin@sipsolutions.net> * lib/widgets/ephy-spinner.c: (ephy_spinner_start): Lower the priority of the spinner animation so that the animation does not stop page loading. Fixes bug #374623.
* A lib/widgets/ephy-spinner-tool-item.c: AChristian Persch2006-10-181-0/+2
| | | | | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/ephy-spinner-tool-item.c: A lib/widgets/ephy-spinner-tool-item.h: * lib/widgets/testspinner.c: (change_toolbar_style_cb), (change_toolbar_icon_size_cb), (spin_toolbar_spinner_cb), (main): * src/ephy-toolbar.c: (ephy_toolbar_update_spinner), (ephy_toolbar_constructor): Add EphySpinnerToolItem which encapsulates a spinner and automatically adapts its size to toolbar style changes, and use it in EphyToolbar.
* A lib/widgets/ephy-spinner-tool-item.c: AChristian Persch2006-10-183-4/+282
| | | | | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/ephy-spinner-tool-item.c: A lib/widgets/ephy-spinner-tool-item.h: * lib/widgets/testspinner.c: (change_toolbar_style_cb), (change_toolbar_icon_size_cb), (spin_toolbar_spinner_cb), (main): * src/ephy-toolbar.c: (ephy_toolbar_update_spinner), (ephy_toolbar_constructor): Add EphySpinnerToolItem which encapsulates a spinner and automatically adapts its size to toolbar style changes, and use it in EphyToolbar.
* Fix a crash after failing to get the spinner animation or rest icons.Christian Persch2006-10-182-18/+14
| | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (ephy_spinner_get_type), (ephy_spinner_init), (ephy_spinner_new): * lib/widgets/ephy-spinner.h: Fix a crash after failing to get the spinner animation or rest icons. Derive EphySpinner from GtkWidget not GtkEventBox.
* Fix compile warnings.Christian Persch2006-10-012-5/+4
| | | | | | | | | | 2006-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (bump_spinner_frame_cb): * lib/widgets/testspinner.c: (add_spinner), (main): Fix compile warnings.
* Fix compile warnings.Christian Persch2006-10-011-6/+1
| | | | | | | | | | 2006-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (bump_spinner_frame_cb): * lib/widgets/testspinner.c: (add_spinner), (main): Fix compile warnings.
* Simplify code and save some memory.Christian Persch2006-09-301-104/+111
| | | | | | | | | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_ref), (ephy_spinner_images_unref), (ephy_spinner_cache_data_unload), (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (ephy_spinner_load_images), (ephy_spinner_unload_images), (ephy_spinner_init), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_size_request): Simplify code and save some memory.
* Fix spinner with new g-i-t. Fixes bug #330415. Fix a crash when failing toChristian Persch2006-09-302-164/+172
| | | | | | | | | | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_free), (ephy_spinner_cache_data_unload), (scale_to_size), (ephy_spinner_images_load), (ephy_spinner_cache_data_new), (ephy_spinner_cache_data_free), (ephy_spinner_cache_get_images), (ephy_spinner_cache_finalize), (ephy_spinner_cache_class_init), (ephy_spinner_cache_ref), (ephy_spinner_init), (ephy_spinner_set_size), (ephy_spinner_size_request): * lib/widgets/testspinner.c: Fix spinner with new g-i-t. Fixes bug #330415. Fix a crash when failing to load some icon data, Gedit bug #357456.
* 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-1320-30/+30
|
* Remove some unnecessary static data.Christian Persch2006-09-079-12/+12
| | | | | | | | 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.
* Work around bug #346662 by not changing selection while removing theChristian Persch2006-07-111-0/+15
| | | | | | | | | | 2006-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_selection_changed_cb), (ephy_node_view_remove): Work around bug #346662 by not changing selection while removing the nodes. Fixes crash with gtk 2.10.
* 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-292-4/+2
| | | | | | | | | | | | | | 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.
* When adding a column that can be sorted on, re-create the sort model, soCrispin Flowerday2006-01-181-0/+8
| | | | | | | | | | 2006-01-17 Crispin Flowerday <gnome@flowerday.cx> * lib/widgets/ephy-node-view.c (ephy_node_view_add_column): When adding a column that can be sorted on, re-create the sort model, so that it sets up the sort method correctly. Fixes bug #320686
* 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.
* Mark strings in param specs as static.Christian Persch2005-11-084-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/mozilla/mozilla-download.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_class_init): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_class_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): * lib/ephy-dialog.c: (ephy_dialog_class_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_class_init): * lib/ephy-node-db.c: (ephy_node_db_class_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_class_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_class_init): * src/ephy-history-window.c: (ephy_history_window_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-navigation-action.c: (ephy_navigation_action_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init): * src/ephy-window.c: (ephy_window_class_init): Mark strings in param specs as static.
* 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.
* Skip spinner update when we're not loaded. Should fix bug #320079.Christian Persch2005-10-291-7/+11
| | | | | | | | | | 2005-10-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (bump_spinner_frame_cb), (ephy_spinner_start): Skip spinner update when we're not loaded. Should fix bug #320079.
* Ensure the images are loaded before starting to spin. Should fix crashesChristian Persch2005-10-091-7/+16
| | | | | | | | | * lib/widgets/ephy-spinner.c: (ephy_spinner_start), (ephy_spinner_dispose), (ephy_spinner_finalize), (ephy_spinner_class_init): Ensure the images are loaded before starting to spin. Should fix crashes on start/new tab.
* Add style properties for 'secure-[bg|fg]-color', and apply them when theChristian Persch2005-10-072-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove unused code.Christian Persch2005-10-021-1/+3
| | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * lib/widget/ephy-spinner.c: Remove unused code.
* Don't include config.h here.Christian Persch2005-10-023-56/+362
| | | | | | | | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.h: Don't include config.h here. * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_data_unload), (ephy_spinner_cache_data_load), (ephy_spinner_cache_data_new), (ephy_spinner_cache_data_free), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize), (ephy_spinner_load_images), (ephy_spinner_init), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_set_timeout), (ephy_spinner_finalize), (ephy_spinner_screen_changed), (ephy_spinner_class_init): Make spinner multihead safe. * lib/widgets/testspinner.c: Add a tiny spinner test program.
* Don't spin unmapped spinners. Slightly decrease the frequency. Might helpChristian Persch2005-10-021-4/+45
| | | | | | | | | | | 2005-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_start), (ephy_spinner_stop), (ephy_spinner_map), (ephy_spinner_unmap), (ephy_spinner_class_init): Don't spin unmapped spinners. Slightly decrease the frequency. Might help with bug #315232.
* Reset the IM context before activating the entry.Christian Persch2005-10-012-5/+10
| | | | | | | | | | | | | 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.
* Version 1.9.Christian Persch2005-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-28 Christian Persch <chpe@cvs.gnome.org> * ChangeLog-20050828: * Makefile.am: * autogen.sh: * configure.ac: * data/Makefile.am: * data/epiphany-1.10.pc.in: * data/epiphany-1.8.pc.in: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_session_bus), (ephy_dbus_disconnect_bus): * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Version 1.9.
* Add switch to disable focus fix, and to disable PSM. Error out if PSMChristian Persch2005-08-082-0/+10
| | | | | | | | | | | | | | | | | | | 2005-08-07 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add switch to disable focus fix, and to disable PSM. Error out if PSM isn't found but --disable-psm not given. Should prevent accidental compilation without PSM. * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_entry): * lib/widgets/ephy-icon-entry.h: Add ephy_icon_entry_get_entry. * src/epiphany.defs: Updated python bindings.
* No need to add focus_width to borders anymore. Now we get the same heightChristian Persch2005-08-031-6/+0
| | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders): No need to add focus_width to borders anymore. Now we get the same height as a normal entry.
* Use the entry's style's [xy]thickness, not our own. Fixes rendering withChristian Persch2005-08-031-25/+33
| | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders), (ephy_icon_entry_size_allocate): Use the entry's style's [xy]thickness, not our own. Fixes rendering with current Clearlooks engine.
* A lib/widgets/testiconentry.c: A lib/widgets/ephy-icon-entry.c: AChristian Persch2005-08-035-92/+524
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-262-44/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Check all selected nodes if they allow dragging.Christian Persch2005-07-121-1/+39
| | | | | | | | | | | | | | | | | | | 2005-07-11 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (check_node_is_drag_source), (can_drag_selection), (button_release_cb), (motion_notify_cb): Check all selected nodes if they allow dragging. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (key_pressed_cb): Don't allow to delete or rename local sites, or to put them on the bookmarks bar. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): Fix capitalisation.
* Implement a way to disallow dragging from resp. dropping on certain nodes.Christian Persch2005-07-111-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node-common.h: * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_signal_disconnect), (ephy_node_set_is_drag_source), (ephy_node_get_is_drag_source), (ephy_node_set_is_drag_dest), (ephy_node_get_is_drag_dest): * lib/ephy-node.h: * lib/widgets/ephy-node-view.c: (drag_motion_cb), (drag_data_received_cb): Implement a way to disallow dragging from resp. dropping on certain nodes. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks.c: (save_filter), (save_filter_local), (ephy_bookmarks_save), (update_bookmark_keywords), (bookmark_is_categorized), (resolve_cb), (browse_cb), (ephy_local_bookmarks_init), (ephy_local_bookmarks_stop), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_get_topic_uri), (ephy_bookmarks_find_keyword), (ephy_bookmarks_get_favorites), (ephy_bookmarks_get_local): * src/bookmarks/ephy-bookmarks.h: Implement "Local Sites" topic, filled with zeroconf-discovered bookmarks. Patch by Bastien Nocera, fixes bug #144969.
* 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-193-7/+6
| | | | | | | | | | | | | | | | | | | | | | | 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-112-0/+34
| | | | | | | | | | | | 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.
* Remove custom search, and use gtktreeview typeaheadfind. Fixes bugChristian Persch2005-03-141-18/+9
| | | | | | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_is_middle_click): * lib/ephy-gui.h: * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb), (ephy_node_view_add_column), (ephy_node_view_init): Remove custom search, and use gtktreeview typeaheadfind. Fixes bug #118107.
* Don't set the lock icon as drag source. Actually emit the lock-clickedChristian Persch2005-02-062-14/+31
| | | | | | | | | | | | | | | | | | | 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-294-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 proper _NETSCAPE_URL drag support, supplying the URL as well as theJorn Baayen2005-01-224-65/+97
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-21 Jorn Baayen <jbaayen@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_init), (ephy_tree_model_sort_multi_row_draggable), (ephy_tree_model_sort_set_base_drag_column_id), (ephy_tree_model_sort_set_extra_drag_column_id), (each_property_get_data_binder): * lib/widgets/ephy-tree-model-sort.h: * src/bookmarks/ephy-bookmark-action.c: (drag_data_get_cb): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_constructor): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-history-window.c: (ephy_history_window_construct): Add proper _NETSCAPE_URL drag support, supplying the URL as well as the title. As a side effect most data_columns in NodeViews have been obsoleted. Fixes #163937.
* Don't focus the combo on click.Christian Persch2005-01-151-0/+1
| | | | | | | | 2005-01-14 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): Don't focus the combo on click.
* Add GDK_ACTION_ASK, and prefer _NETSCAPE_URL over uri-list drag types.Jorn Baayen2005-01-142-5/+5
| | | | | | | | | | | | | | | | 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-142-12/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-133-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make all structs prefixed by _.Christian Persch2005-01-0912-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.h: * embed/ephy-download.c: * embed/ephy-download.h: * embed/ephy-embed-dialog.c: * embed/ephy-embed-dialog.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-encodings.c: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.c: * embed/ephy-favicon-cache.h: * embed/ephy-history.c: * embed/ephy-history.h: * embed/ephy-password-manager.h: * embed/ephy-permission-manager.h: * lib/ephy-file-chooser.c: * lib/ephy-file-chooser.h: * lib/ephy-node-db.c: * lib/ephy-node-db.h: * lib/ephy-node-filter.c: * lib/ephy-node-filter.h: * lib/ephy-node.c: * lib/ephy-node.h: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-action.h: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar-model.h: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-bookmarksbar.h: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topics-selector.c: * src/bookmarks/ephy-topics-selector.h: * src/ephy-completion-model.c: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.c: * src/ephy-encoding-dialog.h: * src/ephy-history-window.c: * src/ephy-history-window.h: Make all structs prefixed by _.
* Unify the location and favicon actions.Christian Persch2005-01-082-29/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use ngettext to get the Open in New Tab[s]/Window[s] label.Christian Persch2005-01-052-20/+0
| | | | | | | | | | | | | | 2005-01-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-history-window.c: (ephy_history_window_update_menu): Use ngettext to get the Open in New Tab[s]/Window[s] label. 2005-01-04 Christian Persch <chpe@cvs.gnome.org>
* 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.
* Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessaryChristian Persch2004-12-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | 2004-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (elide_underscores), (add_encoding): * embed/mozilla/FilePicker.cpp: * lib/ephy-dnd.c: * lib/ephy-node.c: * lib/ephy-string.c: (ephy_string_blank_chr): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: * src/ephy-encoding-menu.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-statusbar.c: * src/ephy-tab.c: (ephy_tab_set_title): * src/ephy-tabs-menu.c: (connect_proxy_cb): * src/ppview-toolbar.c: Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessary ephy-string.h includes.
* Add deprecated defines to AM_CPPFLAGS in maintainer-mode.Christian Persch2004-12-011-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-01 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add deprecated defines to AM_CPPFLAGS in maintainer-mode. * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/egg/eggintl.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: INCLUDES is deprecated, use AM_CPPFLAGS and AM_CFLAGS instead. * lib/eel-gconf-extensions.c: (eel_gconf_client_get_global): Removed usage of deprecated gconf API. * src/ephy-main.c: (main): Removed usage of deprecated glade API.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-11-261-0/+1
| | | | | | | | | | | | | | | | | | 2004-11-25 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Fix build out of src directory. * src/window-commands.c: (editor_open_uri), (window_cmd_view_page_source): Rework the code to not use deprecated API.
* When popping up the context menu with keyboard, select the first menuChristian Persch2004-11-081-3/+8
| | | | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_popup): * src/bookmarks/ephy-bookmark-action.c: (show_context_menu), (popup_menu_cb), (button_press_cb): * src/bookmarks/ephy-topic-action.c: (button_toggled_cb), (show_context_menu), (popup_menu_cb), (button_press_cb): * src/ephy-window.c: (show_embed_popup): When popping up the context menu with keyboard, select the first menu item. Fixes bug #154907.
* Make tooltips on the zoom control also work on Ctrl-F1.Christian Persch2004-11-071-13/+44
| | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init), (set_combo_tooltip), (combo_realized), (ephy_zoom_control_set_tooltip): Make tooltips on the zoom control also work on Ctrl-F1.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-038-16/+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.
* Fix zoom control so that it shows tooltips again. Fixes bug #155826.Christian Persch2004-11-021-7/+15
| | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init), (ephy_zoom_control_set_tooltip): Fix zoom control so that it shows tooltips again. Fixes bug #155826.
* 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.
* Removing debug spewChristian Persch2004-11-011-1/+0
|
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-282-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_to_string): * embed/ephy-embed-shell.c: (ephy_embed_shell_init): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_modal), (ephy_dialog_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_init): * lib/ephy-node-db.c: (ephy_node_db_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_init): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_init): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_init): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-location-action.c: (ephy_location_action_init): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-session.c: (ephy_session_init): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_init): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/ppview-toolbar.c: (ppview_toolbar_init): Private data is 0-initialised, no need to set members to NULL, 0, or FALSE.
* Remove unused signal from EphyNodeView struct.Christian Persch2004-10-271-1/+0
| | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.h: Remove unused signal from EphyNodeView struct.
* 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.
* Use gtk_icon_size_lookup_for_settings() here.Christian Persch2004-10-251-4/+6
| | | | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_images), (ephy_spinner_size_request): * src/ephy-notebook.c: (tab_label_style_set_cb): * src/window-commands.c: (window_cmd_help_about): Use gtk_icon_size_lookup_for_settings() here.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-248-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use gtk_selection_data_get_uris().Christian Persch2004-10-231-1/+1
| | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (drag_data_received_cb): * src/ephy-notebook.c: (notebook_drag_data_received_cb): Use gtk_selection_data_get_uris().
* Remove ephy_string_parse_uri_list, and use new glib functionChristian Persch2004-10-231-4/+4
| | | | | | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_double_underscores): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: (drag_data_received_cb): * src/bookmarks/ephy-bookmarks-editor.c: (node_dropped_cb): * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-window.c: (ephy_window_load_in_tabs): * src/ephy-window.h: Remove ephy_string_parse_uri_list, and use new glib function g_uri_list_extract_uris() instead.
* Add api to show a context menu. Useful to make distinction between key andMarco Pesenti Gritti2004-09-152-0/+28
| | | | | | | | | | | | | | | | | | 2004-09-15 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_toggle), (ephy_node_view_popup): * lib/widgets/ephy-node-view.h: Add api to show a context menu. Useful to make distinction between key and mouse events. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb): * src/ephy-history-window.c: (ephy_history_window_show_popup_cb): Use it. Fix #152431
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-137-4456/+0
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Sync.Christian Persch2004-08-241-5/+8
| | | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: (ephy_label_ensure_layout), (ephy_label_size_allocate): Sync.
* Just use the popup_menu signal. Fixes bug #150830.Christian Persch2004-08-231-18/+3
| | | | | | | | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb), (ephy_node_view_button_press_cb), (ephy_node_view_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb), (ephy_bookmarks_editor_construct): * src/ephy-history-window.c: (ephy_history_window_show_popup_cb), (ephy_history_window_construct), (ephy_history_window_dispose): Just use the popup_menu signal. Fixes bug #150830.
* Fix a warning when moving tabs between windows; see bug #150822.Christian Persch2004-08-231-1/+4
| | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: (ephy_label_size_allocate): Fix a warning when moving tabs between windows; see bug #150822.
* Change guint to correct enum type.Christian Persch2004-08-182-3/+3
| | | | | | | | | | | 2004-08-18 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_render): * lib/widgets/ephy-tree-model-node.c: * src/ephy-completion-model.c: Change guint to correct enum type.
* Note original cvs versionsChristian Persch2004-08-092-0/+4
|
* Include config.h upfront.Christian Persch2004-08-091-4/+4
| | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: Include config.h upfront.
* Only use this for gtk < 2.5.1, and just add a few #defines otherwise.Christian Persch2004-08-092-1/+23
| | | | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: * lib/widgets/ephy-label.h: Only use this for gtk < 2.5.1, and just add a few #defines otherwise.
* R lib/widgets/ephy-ellipsizing-label.c: RChristian Persch2004-08-085-856/+3622
| | | | | | | | | | | | | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * lib/widgets/Makefile.am: R lib/widgets/ephy-ellipsizing-label.c: R lib/widgets/ephy-ellipsizing-label.h: A lib/widgets/ephy-label.c: A lib/widgets/ephy-label.h: * src/ephy-notebook.c: (sync_label), (build_tab_label): * src/pdm-dialog.c: (show_cookies_properties): * src/prefs-dialog.c: (create_download_path_label), (download_path_response_cb): Kill our ellipsizing label implementation, and import GtkLabel into our prefix. * configure.in: Depend on pango 1.5.1 for ellipsisation support.
* Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioningChristian Persch2004-08-061-55/+2
| | | | | | | | | | | | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_parse_uri_list): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: (drag_data_received_cb), (ephy_node_view_class_init): * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-notebook.h: * src/ephy-session.c: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_load_in_tabs): Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioning when opening tabs from drags.
* Do not remove the topic when rename is cancelled.Marco Pesenti Gritti2004-07-232-3/+13
| | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (cell_renderer_edited), (renderer_editing_canceled_cb), (ephy_node_view_init), (ephy_node_view_edit): * lib/widgets/ephy-node-view.h: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_add_topic), (cmd_rename): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_new_topic): Do not remove the topic when rename is cancelled.
* Add support for toggles. When editing is canceled remove the node.Marco Pesenti Gritti2004-07-232-22/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-marshal.list: * lib/widgets/ephy-node-view.c: (path_toggled), (ephy_node_view_key_press_cb), (get_selection_refs), (ephy_node_view_button_press_cb), (cell_renderer_edited), (renderer_editing_canceled_cb), (ephy_node_view_add_column), (ephy_node_view_init), (ephy_node_view_edit), (ephy_node_view_constructor), (ephy_node_view_add_toggle), (ephy_node_view_class_init): * lib/widgets/ephy-node-view.h: Add support for toggles. When editing is canceled remove the node. * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type), (ephy_topics_selector_set_bookmarks), (ephy_topics_selector_set_property), (ephy_topics_selector_apply), (provide_toggle), (ephy_topics_selector_constructor), (topic_destroy_cb), (node_toggled_cb), (ephy_topics_selector_init), (ephy_topics_selector_new), (ephy_topics_selector_new_topic), (ephy_topics_selector_class_init): * src/bookmarks/ephy-topics-selector.h: Use EphyNodeView instead of a list store. Share a lot of code and we get updating for free. Fix bug #144770
* Simplify node view filtering code and make it a normal property (no moreMarco Pesenti Gritti2004-07-233-118/+70
| | | | | | | | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (filter_changed_cb), (ephy_node_view_set_filter), (ephy_node_view_set_property), (ephy_node_view_init), (ephy_node_view_select_node), (filter_visible_func), (ephy_node_view_constructor), (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_set_property), (ephy_tree_model_node_get_property), (ephy_tree_model_node_class_init), (ephy_tree_model_node_init), (ephy_tree_model_node_new), (ephy_tree_model_node_get_column_type), (ephy_tree_model_node_get_value): * lib/widgets/ephy-tree-model-node.h: * src/prefs-dialog.c: (create_node_combo): Simplify node view filtering code and make it a normal property (no more constructor only)
* Use gobject constructorMarco Pesenti Gritti2004-07-231-118/+113
| | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_new), (ephy_node_view_constructor), (ephy_node_view_class_init): Use gobject constructor
* Improve sort/priority API.Marco Pesenti Gritti2004-07-152-65/+126
| | | | | | | | | | | | | | | | | | | 2004-07-14 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (compare_string_values), (ephy_node_view_sort_func), (ephy_node_view_add_data_column), (ephy_node_view_add_column), (ephy_node_view_set_priority), (ephy_node_view_set_sort), (ephy_node_view_init): * lib/widgets/ephy-node-view.h: Improve sort/priority API. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-history-window.c: (ephy_history_window_construct): Sort history items by last visit
* Cache the scaled spinner images to make creating new spinners very fast,Christian Persch2004-07-051-303/+516
| | | | | | | | | | | | | | | | | | | | | 2004-07-05 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_images_free), (ephy_spinner_images_copy), (ephy_spinner_cache_unload), (extract_frame), (ephy_spinner_cache_load), (compare_size), (scale_to_size), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize), (ephy_spinner_cache_class_init), (ephy_spinner_cache_ref), (ephy_spinner_load_images), (ephy_spinner_unload_images), (icon_theme_changed_cb), (ephy_spinner_init), (select_spinner_image), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_set_size), (ephy_spinner_size_request), (ephy_spinner_finalize), (ephy_spinner_class_init): Cache the scaled spinner images to make creating new spinners very fast, now that we use so many of them.
* Add profiler calls.Christian Persch2004-07-031-0/+9
| | | | | | | | 2004-07-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_load_images): Add profiler calls.
* Add G_[BEGIN|END]_DECLSChristian Persch2004-07-031-21/+22
|
* Codestyle and whitespace cleanupChristian Persch2004-07-032-59/+60
|
* R data/art/epiphany-tab-loading.gif:Christian Persch2004-07-032-41/+61
| | | | | | | | | | | | | | | | 2004-07-02 Christian Persch <chpe@cvs.gnome.org> * data/art/Makefile.am: R data/art/epiphany-tab-loading.gif: * lib/widgets/ephy-spinner.c: (get_spinner_dimensions), (ephy_spinner_init), (ephy_spinner_expose), (ephy_spinner_unload_images), (scale_to_real_size), (ephy_spinner_set_size), (ephy_spinner_size_request): * lib/widgets/ephy-spinner.h: * src/ephy-notebook.c: (sync_load_status), (build_tab_label): * src/toolbar.c: (fixed_toolbar_reconfigured_cb), (toolbar_init): Remove our tab loading animation and use mini-spinners instead.
* Factor out the helper to select a treeview row by column and use it alsoMarco Pesenti Gritti2004-06-221-54/+8
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-21 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-gui.c: (ephy_gui_help), (ephy_gui_select_row_by_key): * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb): * src/bookmarks/ephy-topics-selector.c: (topic_key_pressed): Factor out the helper to select a treeview row by column and use it also in the topic selector. * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-new-bookmark.c: * src/ephy-history-window.c: * src/pdm-dialog.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/window-commands.c: * embed/downloader-view.c: Remove braindead gtk.h inclusion and deal with fallout headers.
* Make spinner not use a visible window, and fix coordinates accordingly.Christian Persch2004-06-121-6/+7
| | | | | | | | | | 2004-06-12 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_new), (ephy_spinner_init), (ephy_spinner_expose): Make spinner not use a visible window, and fix coordinates accordingly. Patch by Crispin Flowerday, fixes bug #134686.
* Backported fixes from gtk+ cvs head.Christian Persch2004-05-201-17/+19
| | | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_init), (compute_dimensions), (ephy_cell_renderer_progress_get_size), (ephy_cell_renderer_progress_render): Backported fixes from gtk+ cvs head.
* Backport changed from the new gtkcellrendererprogress which was based onChristian Persch2004-05-132-240/+328
| | | | | | | | | | | | | | | | | | | | 2004-05-12 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_class_init), (ephy_cell_renderer_progress_init), (ephy_cell_renderer_progress_new), (ephy_cell_renderer_progress_finalize), (ephy_cell_renderer_progress_get_property), (ephy_cell_renderer_progress_set_property), (ephy_cell_renderer_progress_set_value), (ephy_cell_renderer_progress_set_text), (compute_dimensions), (ephy_cell_renderer_progress_get_size), (ephy_cell_renderer_progress_render): * lib/widgets/ephy-cell-renderer-progress.h: Backport changed from the new gtkcellrendererprogress which was based on ephy's, to support RTL.
* Document UTF-8 requirement.Christian Persch2004-04-222-2/+2
| | | | | | | | | | | | | | | 2004-04-22 Christian Persch <chpe@cvs.gnome.org> * HACKING: Document UTF-8 requirement. * lib/widgets/ephy-cell-renderer-progress.c: * lib/widgets/ephy-cell-renderer-progress.h: * src/bookmarks/ephy-bookmarks-menu.h: * ChangeLog: Converted to UTF-8.
* Make select-by-key support unsorted lists. Fuzzy matching is gone though.Xan Lopez2004-03-191-1/+1
| | | | | | | | * lib/widgets/ephy-node-view.c: (ephy_node_view_select_node_by_key): Make select-by-key support unsorted lists. Fuzzy matching is gone though. Oh well ... :) (bug #137054)
* *** empty log message ***Marco Pesenti Gritti2004-03-171-1/+0
|
* merging pre-gnome-2-8 branchMarco Pesenti Gritti2004-03-1714-5/+44
|
* Copy and modify gnome_vfs_uri_list_parse() so that we get a list of stringChristian Persch2004-03-042-4/+57
| | | | | | | | | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (uri_list_parse), (drag_data_received_cb): Copy and modify gnome_vfs_uri_list_parse() so that we get a list of string uris instead of GnomeVFSURIs. Change signature of ::node-dropped accordingly. Fixes bug #120231. * src/bookmarks/ephy-bookmarks-editor.c: (node_dropped_cb): Adapt to the changed ::node-dropped signal signature.
* 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-112-15/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix toolbar overflow menu creation. Don't connect zoom control signals toChristian Persch2004-02-053-87/+88
| | | | | | | | | | | | | | 2004-02-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type), (zoom_to_level_cb), (connect_proxy), (proxy_menu_activate_cb), (create_menu_item), (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/ephy-history-window.c: (cmd_delete), Fix toolbar overflow menu creation. Don't connect zoom control signals to a menu item.
* Fix mem leak.Christian Persch2004-02-051-1/+1
| | | | | | | | | 2004-02-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_finalize): Fix mem leak.
* ==> ChangeLog <==Christian Persch2004-01-261-0/+1
| | | | | | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_finalize): Fix mem leak. 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_finalize):
* Fix mem leak.Christian Persch2004-01-261-0/+5
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_finalize): Fix mem leak.
* 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.
* *** empty log message ***Marco Pesenti Gritti2003-12-172-6/+0
|
* Really committing it this timeChristian Persch2003-12-151-1/+2
|
* Use g_signal_connect_object so the signal isn't emitted for a deadChristian Persch2003-12-141-4/+4
| | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_init): Use g_signal_connect_object so the signal isn't emitted for a dead spinner.
* Reformatted to conform to epiphany coding style. Fix some error conditionChristian Persch2003-12-091-47/+84
| | | | | | | | | | | | | | | | 2003-12-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_get_type), (ephy_spinner_new), (get_spinner_dimensions), (ephy_spinner_init), (select_spinner_image), (ephy_spinner_expose), (bump_spinner_frame), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_unload_images), (scale_to_real_size), (extract_frame), (ephy_spinner_load_images), (ephy_spinner_set_small_mode): Reformatted to conform to epiphany coding style. Fix some error condition checks, and initialise variables.
* Remove unused includes.Christian Persch2003-12-041-2/+0
| | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: Remove unused includes.
* Readd gtk deprecates (only in maintainer mode).Marco Pesenti Gritti2003-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | 2003-11-30 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Readd gtk deprecates (only in maintainer mode). * src/ephy-location-action.c: (sync_editable): Use not deprecated api. * lib/ephy-dialog.c: (set_value_from_info), (set_info_from_value), (connect_signals), (init_props): Remove optionmenu deprecated control.
* Port from option menu to GtkComboBox.Christian Persch2003-11-282-68/+46
| | | | | | | | | | | | 2003-11-28 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type), (proxy_menu_activate_cb), (combo_changed_cb), (sync_zoom_cb), (ephy_zoom_control_init), (ephy_zoom_control_set_tooltip), (ephy_zoom_control_class_init), (ephy_zoom_control_finalize): * lib/widgets/ephy-zoom-control.h: Port from option menu to GtkComboBox.
* Try out a different layout for downloads rows. Make the file columnMarco Pesenti Gritti2003-11-261-1/+1
| | | | | | | | | | | | 2003-11-26 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (update_download_row), (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui): * lib/widgets/ephy-cell-renderer-progress.c: Try out a different layout for downloads rows. Make the file column expand.
* Complete docs base implementation. Should work more or less.Marco Pesenti Gritti2003-11-2011-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-19 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/.cvsignore: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/config.sgml: * doc/reference/tmpl/ephy-session.sgml: * doc/reference/tmpl/ephy-shell.sgml: Complete docs base implementation. Should work more or less. * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Cleanup a bit libs build and use a static lib also for the src/ code so that we can use it for documents. * src/ephy-nautilus-view.c: Bad chpe forgot to modify func signature. 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.h: * embed/ephy-download.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.h: * embed/ephy-embed-shell.h: * embed/ephy-embed-single.h: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.h: * embed/ephy-history.h: * embed/find-dialog.h: * embed/mozilla/EphyBrowser.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-persist.h: * embed/mozilla/mozilla-embed-single.h: * embed/print-dialog.h: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.h: * lib/ephy-debug.h: * lib/ephy-dialog.h: * lib/ephy-dnd.h: * lib/ephy-file-chooser.h: * lib/ephy-node-db.h: * lib/ephy-node-filter.h: * lib/ephy-node.h: * lib/ephy-prefs.h: * lib/ephy-state.h: * lib/ephy-string.h: * lib/ephy-zoom.h: * lib/widgets/ephy-arrow-toolbutton.h: * lib/widgets/ephy-cell-renderer-progress.h: * lib/widgets/ephy-ellipsizing-label.h: * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.h: * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topics-selector.h: * src/ephy-automation.h: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.h:
* *** empty log message ***Marco Pesenti Gritti2003-11-151-6/+6
|
* Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation looksMarco Pesenti Gritti2003-11-091-1/+1
| | | | | | | | | | | 2003-11-08 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_flags): * src/ephy-completion-model.c: (ephy_completion_model_get_flags): Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation looks already ok with it to me. Hopefully not missing something ...
* Change some more i18n inclusion and remove several unused includes.Marco Pesenti Gritti2003-11-061-2/+3
| | | | | | | | | | | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-file-helpers.c: * lib/widgets/ephy-search-entry.c: Change some more i18n inclusion and remove several unused includes.
* Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.Christian Persch2003-11-063-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/ephy-encodings.c: * embed/ephy-history.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/ephy-file-helpers.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-node.c: * lib/ephy-zoom.h: * lib/widgets/ephy-cell-renderer-progress.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-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-notebook.c: * src/ephy-shell.c: * src/ephy-tab.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/session.c: * src/toolbar.c: * src/window-commands.c: Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.
* Resync with eel.Marco Pesenti Gritti2003-11-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * lib/eel-gconf-extensions.c: (global_client_free), (eel_gconf_client_get_global), (eel_gconf_handle_error), (eel_gconf_set_string), (eel_gconf_is_default), (eel_gconf_key_is_writable), (eel_gconf_monitor_add), (eel_gconf_monitor_remove), (eel_gconf_preload_cache), (eel_gconf_get_default_value), (eel_strcmp), (eel_str_is_equal), (simple_value_is_equal), (eel_gconf_value_is_equal), (eel_gconf_value_get_string_list), (eel_gconf_value_set_string_list), (eel_gconf_set_float), (eel_gconf_get_float): * lib/eel-gconf-extensions.h: Resync with eel. * lib/ephy-prefs.h: * lib/widgets/ephy-spinner.c: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Migrate old font size settings. This will screw things for 1.1 users, not much we can do about it now.
* Remove unused ephy-prefs includesMarco Pesenti Gritti2003-11-051-1/+0
| | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/widgets/ephy-spinner.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/language-editor.c: * src/session.c: Remove unused ephy-prefs includes
* Remove unused types.Christian Persch2003-11-041-1/+1
| | | | | | | | | | | | | | | | | | | 2003-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: Remove unused types. * embed/ephy-embed.c: (ephy_embed_base_init): * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): Use g_cclosure_marshal_* instead of our own ephy_marshal_* where there is a one. For signals returning a boolean, use the g_signal_accumulator_true_handled accumulator.
* Add a title param to dnd iterator and remove unused screen locationMarco Pesenti Gritti2003-10-301-1/+1
| | | | | | | | | | | | | | 2003-10-30 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-dnd.c: (add_one_netscape_url), (add_one_uri), (add_one_topic): * lib/ephy-dnd.h: * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/ephy-favicon-action.c: (each_url_get_data_binder): Add a title param to dnd iterator and remove unused screen location params.
* Merge new-downloader branch. We reworked the backend, the userMarco Pesenti Gritti2003-10-173-0/+367
| | | | interface is still incomplete.
* Make location a normal entry.Marco Pesenti Gritti2003-10-142-186/+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
* *** empty log message ***Marco Pesenti Gritti2003-10-121-25/+26
|
* Merge completion branchMarco Pesenti Gritti2003-10-124-1471/+335
|
* Reenable deprecated api where necessary, fixup some header inclusions.Marco Pesenti Gritti2003-10-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | 2003-10-10 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/mozilla-embed-single.cpp: * lib/Makefile.am: * lib/ephy-dialog.c: (get_pref_type_from_widget), (prefs_connect_signals), (load_props), (save_props): * lib/ephy-gui.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-topic-action.c: * src/ephy-history-window.c: Reenable deprecated api where necessary, fixup some header inclusions. Remove unused color picker control in ephy-dialog. Remove unused file types optionmenu in Filepicker.
* Merge fixes from branch and clean up.Marco Pesenti Gritti2003-10-072-206/+163
| | | | | | | | | | | | | | | | | | | | | | | | 2003-10-07 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-tree-model-node.c: (root_child_removed_cb), (get_path_real), (root_child_added_cb), (ephy_tree_model_node_update_node), (root_child_changed_cb), (root_children_reordered_cb), (root_destroy_cb), (ephy_tree_model_node_class_init), (ephy_tree_model_node_init), (ephy_tree_model_node_finalize), (ephy_tree_model_node_add_prop_column), (ephy_tree_model_node_add_func_column), (ephy_tree_model_node_get_column_type), (ephy_tree_model_node_get_value), (ephy_tree_model_node_get_iter), (ephy_tree_model_node_get_path), (ephy_tree_model_node_iter_next), (ephy_tree_model_node_iter_children), (ephy_tree_model_node_iter_n_children), (ephy_tree_model_node_iter_nth_child), (ephy_tree_model_node_iter_from_node), (ephy_tree_model_node_tree_model_init): * lib/widgets/ephy-tree-model-node.h: Merge fixes from branch and clean up.
* Do not unselect all on single selection mode, to not generate useless nodeMarco Pesenti Gritti2003-10-061-1/+5
| | | | | | | | | | | | | | 2003-10-06 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (did_not_drag): Do not unselect all on single selection mode, to not generate useless node selection changes. * src/ephy-history-window.c: (site_node_selected_cb): Do not refilter if the new selected node is the same as the old one.
* Simpler implementation.Marco Pesenti Gritti2003-09-271-1/+1
| | | | | | | | | | | | | 2003-09-27 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-gui.c: (ephy_gui_get_pixbuf_from_mime_type): Simpler implementation. * lib/widgets/ephy-spinner.c: (ephy_spinner_load_images): * src/ephy-shell.c: (ephy_shell_init): Pass 0 as flags
* Use gtkicontheme, and use it also for mime icons.Marco Pesenti Gritti2003-09-271-15/+20
| | | | | | | | | | | | | | | 2003-09-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * lib/ephy-gui.c: (make_mime_name), (ephy_gui_get_pixbuf_from_mime_type): * lib/ephy-gui.h: * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_theme_changed), (ephy_spinner_load_images), (ephy_spinner_finalize): * src/ephy-shell.c: (ephy_shell_init): Use gtkicontheme, and use it also for mime icons.
* Implement a way to choose visible column in a menu. Not finished I need toMarco Pesenti Gritti2003-09-211-3/+0
| | | | | | | | | | | | 2003-09-21 Marco Pesenti Gritti <marco@gnome.org> * data/ui/epiphany-bookmark-editor-ui.xml: * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_view_columns), (ephy_bookmarks_editor_construct): Implement a way to choose visible column in a menu. Not finished I need to persist state in a gconf key.
* *** 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-202-26/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove spurious code.Christian Persch2003-09-201-8/+0
| | | | | | | | | 2003-09-20 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_init): Remove spurious code.
* 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.
* gtk+ now supports invisible event boxes. Remove our custom implementationChristian Persch2003-09-093-287/+0
| | | | | | | | | | | | | | 2003-09-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/ephy-event-box.c: * lib/widgets/ephy-event-box.h: * src/ephy-favicon-action.c: (create_tool_item): * src/ephy-notebook.c: (build_tab_label): * src/statusbar.c: (create_statusbar_security_icon): gtk+ now supports invisible event boxes. Remove our custom implementation and use gtk+ api instead.
* *** empty log message ***Marco Pesenti Gritti2003-09-041-3/+2
|
* Use x,y only on drop, otherwise they are invalid. Damn that api suck.Marco Pesenti Gritti2003-09-041-10/+13
| | | | | | | | | 2003-09-04 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (drag_data_received_cb): Use x,y only on drop, otherwise they are invalid. Damn that api suck.
* Check if the target type match before highlighting the row and returnMarco Pesenti Gritti2003-09-041-1/+3
| | | | | | | | | 2003-09-04 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (drag_motion_cb): Check if the target type match before highlighting the row and return success status.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-0212-104/+98
|
* Fix problems with EphyNodeView, bookmarks and history dialogs and updateMarco Pesenti Gritti2003-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2003-08-31 Marco Pesenti Gritti <marco@gnome.org> * data/ui/epiphany-history-window-ui.xml.in: * data/ui/epiphany-ui.xml.in: * lib/widgets/ephy-node-view.c: (get_selection): * src/bookmarks/ephy-bookmarks-editor.c: (add_widget), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu), (ephy_bookmarks_menu_rebuild): * src/ephy-encoding-menu.c: (build_group), (build_encoding), (ephy_encoding_menu_rebuild): * src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/ephy-history-window.c: (add_widget), (ephy_history_window_construct): * src/ephy-tabs-menu.c: (ephy_tabs_menu_clean), (ephy_tabs_menu_update): * src/ephy-window.c: (setup_window), (ephy_window_init): Fix problems with EphyNodeView, bookmarks and history dialogs and update dynamic menus to the new xml format.
* Part of gtk 2.3 port, changelog too long to paste itMarco Pesenti Gritti2003-08-309-61/+53
|
* Convert erroneous g_return_if_fail into a simple conditional return.Christian Persch2003-08-241-1/+2
| | | | | | | | 2003-08-24 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_remove): Convert erroneous g_return_if_fail into a simple conditional return.