aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
Commit message (Collapse)AuthorAgeFilesLines
* Fix file name extension when exporting bookmarks. Bug #358986, patch byChristian Persch2006-12-181-2/+5
| | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_export): Fix file name extension when exporting bookmarks. Bug #358986, patch by Diego Escalante Urrelo.
* Fix a signal leak. Bug #363837, patch by John Millikin.Christian Persch2006-12-181-0/+7
| | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (button_deactivate_cb): Fix a signal leak. Bug #363837, patch by John Millikin.
* embed/ephy-encodings.c embed/ephy-favicon-cache.c embed/ephy-history.cBjörn Lindqvist2006-12-171-125/+89
| | | | | | | | | | | | | | | | | | 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-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use full width for bookmarks search bar. Fixes bug #349349, patch by DiegoWouter Bolsterlee2006-10-151-1/+1
| | | | | | | | | 2006-10-15 Wouter Bolsterlee <wbolster@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Use full width for bookmarks search bar. Fixes bug #349349, patch by Diego Escalante Urrelo.
* Fix unprotected call to ephy_node_remove_child. Bug #362063.Jean-François Rameau2006-10-151-1/+4
| | | | | | | | 2006-10-15 Jean-François Rameau <jframeau@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (update_has_smart_address): Fix unprotected call to ephy_node_remove_child. Bug #362063.
* Fix a bug in the last commit.Christian Persch2006-10-091-1/+1
| | | | | | | | | | | | 2006-10-08 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Fix a bug in the last commit.
* Make the enum/flags values not global.Christian Persch2006-10-081-7/+7
| | | | | | | | | | | | 2006-10-08 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Make the enum/flags values not global.
* Use UTF-8 copyright symbolChristian Persch2006-09-1336-58/+58
|
* Remove some unnecessary static data.Christian Persch2006-09-0711-12/+12
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* Add accel. Bug #337913.Christian Persch2006-07-241-3/+4
| | | | | | | | 2006-07-22 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_export): Add accel. Bug #337913.
* Don't cast to gboolean but check for != NULL instead.Christian Persch2006-07-011-2/+2
| | | | | | | | | 2006-07-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c (ephy_bookmark_action_sync_smart_url): Don't cast to gboolean but check for != NULL instead.
* Don't crash on error from zeroconf bookmarks. Fixes bug #343922.Christian Persch2006-06-061-10/+10
| | | | | | | | 2006-06-04 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (resolve_cb): Don't crash on error from zeroconf bookmarks. Fixes bug #343922.
* Add https and ftp local bookmarks. Based on a patch by Celso Pinto, bugChristian Persch2006-05-151-15/+49
| | | | | | | | | | 2006-05-14 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (resolve_cb), (ephy_local_bookmarks_init), (ephy_local_bookmarks_stop): Add https and ftp local bookmarks. Based on a patch by Celso Pinto, bug #330679.
* Don't crash when adding zeroconf bookmarks while bookmarks are lockedChristian Persch2006-05-111-0/+17
| | | | | | | | | | 2006-05-11 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (add_to_favorites), (resolve_cb), (browse_cb): Don't crash when adding zeroconf bookmarks while bookmarks are locked down. Bug #341379.
* Use header capitalisation. Bug #337915Piers Cornwell2006-04-211-1/+1
| | | | | | | | 2006-04-20 Piers Cornwell <piers@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: Use header capitalisation. Bug #337915
* Disable export when locked down. Bug #337028.Christian Persch2006-04-031-0/+7
| | | | | | | | | 2006-04-03 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Disable export when locked down. Bug #337028.
* Fix item ordering to fix bookmarks export format. Bug #333959, patch hasChristian Persch2006-03-101-2/+3
| | | | | | | | | 2006-03-10 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: Fix item ordering to fix bookmarks export format. Bug #333959, patch has RT approval.
* If we can't detect the mime type, fall back to checking the fileChristian Persch2006-03-031-17/+33
| | | | | | | | | | | | | 2006-03-02 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): If we can't detect the mime type, fall back to checking the file extension. Bug #331468. * src/ephy-main.c: (main): Don't pass NULL to realpath if PATH_MAX is defined. Bug #333051.
* Fix gcc 4.1 warnings (dereferencing type-punned pointer will breakJean-François Rameau2006-03-031-3/+7
| | | | | | | | | | | | | | | 2006-03-02 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-embed-shell.c:(ephy_embed_shell_dispose): * src/ephy-encoding-menu.c: (ephy_encoding_menu_view_dialog_cb): * src/ephy-history-window.c: (cmd_clear), (ephy_history_window_finalize): * src/ephy-shell.c: (ephy_shell_get_pdm_dialog),(ephy_shell_get_prefs_dialog), (ephy_shell_get_print_setup_dialog): * src/prefs-dialog.c: (prefs_dialog_finalize), (font_prefs_button_clicked_cb), (language_editor_add_button_clicked_cb): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_finalize): Fix gcc 4.1 warnings (dereferencing type-punned pointer will break strict-aliasing rules).
* Distinguish different firefox profiles when showing the list to chooseChristian Persch2006-02-251-1/+17
| | | | | | | | | 2006-02-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (add_bookmarks_source): Distinguish different firefox profiles when showing the list to choose which one to import.
* src/bookmarks/ephy-bookmark-action.cPeter Harvey2006-02-241-0/+48
| | | | | | | | | 2006-02-24 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-action.c Set the tooltip for bookmarks on the toolbar, using a 'title\nlocation' format. Bug #332113.
* src/bookmarks/ephy-bookmark-action.cPeter Harvey2006-02-241-0/+9
| | | | | | | | | | 2006-02-24 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-action.c Update the bookmark icon if the toolbar is reconfigured (happens when the theme changes). Everything else should be already handled by the class handler.
* src/bookmarks/ephy-topics-palette.cPeter Harvey2006-02-241-4/+1
| | | | | | | | | | 2006-02-24 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-topics-palette.c Changed selection mode to 'none'. Makes it more usable for mouse users, and we have a text entry for keyboard users anyway.
* src/bookmarks/ephy-topics-entry.cPeter Harvey2006-02-231-40/+26
| | | | | | | | 2006-02-22 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-topics-entry.c Improved behaviour of completion popup.
* data/ui/epiphany-fs-toolbar.xml lib/egg/egg-toolbars-model.cPeter Harvey2006-02-211-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-21 Peter Harvey <peter.a.harvey@gmail.com> * data/ui/epiphany-fs-toolbar.xml * lib/egg/egg-toolbars-model.c * lib/egg/egg-toolbars-model.h Added "editable" attribute for toolbars. * data/ui/epiphany-ui.xml * lib/egg/egg-editable-toolbar.c * lib/egg/egg-editable-toolbar.h * src/ephy-toolbar.c * src/ephy-window.c Many improvements to toolbar menus. Includes changes to show visibility toggles in multiple locations. * lib/ephy-stock-icons.c * lib/ephy-stock-icons.h Additional stock icon for drag and drop. * src/bookmarks/ephy-bookmarks-ui.c Make 'customize toolbar' invisible when editing. * src/ephy-shell.c Mark the full-screen toolbar as non-removable.
* src/bookmarks/ephy-bookmarks-menu.c src/bookmarks/ephy-nodes-cover.cPeter Harvey2006-02-212-5/+21
| | | | | | | | | 2006-02-21 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmarks-menu.c * src/bookmarks/ephy-nodes-cover.c Minor tweaks to improve menu generation.
* src/bookmarks/ephy-bookmark-properties.cPeter Harvey2006-02-211-42/+33
| | | | | | | | 2006-02-21 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-properties.c Switched to using an expander after UI review.
* src/bookmarks/ephy-bookmarks-editor.cPeter Harvey2006-02-141-11/+29
| | | | | | | | | | | | | 2006-02-10 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmarks-editor.c Do not create the bookmarks bar when removing bookmarks from the toolbar. * lib/egg/egg-toolbars-model.c Fix infinite loop when a toolbar has no items on it.
* Don't export the local bookmarks.Christian Persch2006-02-143-3/+20
| | | | | | | | | | | | | | | | | 2006-02-14 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-export.c: (write_rdf): Don't export the local bookmarks. * src/bookmarks/ephy-bookmarks-menu.c: (append_menu): Remove "name" attribute in the UI string, since it's set to same value as "action". * src/bookmarks/ephy-open-tabs-action.c: (node_added_cb): Fix untranslated string!
* Fix crash when resolve returns an error, bug #331028. Restructure 0confChristian Persch2006-02-141-64/+105
| | | | | | | | | | | 2006-02-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (resolve_cb), (browse_cb), (ephy_local_bookmarks_init), (ephy_local_bookmarks_stop), (ephy_bookmarks_finalize), (ephy_bookmarks_new): Fix crash when resolve returns an error, bug #331028. Restructure 0conf code.
* Fix removing zeroconf bookmarks when the service disappears, and updatingChristian Persch2006-02-132-30/+86
| | | | | | | | | | | | | 2006-02-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (add_to_favorites), (history_site_visited_cb), (history_cleared_cb), (get_id_for_service), (get_node_for_service), (resolve_cb), (browse_cb): * src/bookmarks/ephy-bookmarks.h: Fix removing zeroconf bookmarks when the service disappears, and updating them when they reappear. Bugs #329637, #330883.
* Place bookmarks on "BookmarksBar" toolbar, since that's what < 1.9 usedChristian Persch2006-02-131-3/+5
| | | | | | | | | 2006-02-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_toolbar): Place bookmarks on "BookmarksBar" toolbar, since that's what < 1.9 used too.
* Strdup the action name data.Christian Persch2006-02-122-2/+6
| | | | | | | | | | 2006-02-12 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-factory-action.c: (build_menu_for_topic): * src/bookmarks/ephy-topic-factory-action.c: (build_menu): Strdup the action name data.
* Use the right action name.Christian Persch2006-02-121-4/+4
| | | | | | | | | 2006-02-12 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-open-tabs-action.c: (node_added_cb), (node_removed_cb): Use the right action name.
* src/bookmarks/ephy-bookmarks-menu.c src/bookmarks/ephy-bookmarks-ui.cPeter Harvey2006-02-112-32/+13
| | | | | | | | | 2006-02-10 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmarks-menu.c * src/bookmarks/ephy-bookmarks-ui.c Additional minor cleanups.
* Remove *_action_name functions, and use static buffers instead. MinorChristian Persch2006-02-1115-264/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-10 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action-group.c: (smart_added_cb), (smart_removed_cb), (node_changed_cb), (node_added_cb), (node_removed_cb): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-factory-action.c: (build_menu_for_topic): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_toolbar), (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks-menu.c: (append_bookmarks), (append_menu), (ephy_bookmarks_menu_build): * src/bookmarks/ephy-bookmarks-ui.c: (ephy_bookmarks_ui_attach_window), (topic_has_data), (topic_get_data), (topic_get_name), (bookmark_has_data), (bookmark_get_data), (bookmark_get_name), (bookmark_new_name), (toolbar_node_removed_cb): * src/bookmarks/ephy-bookmarks-ui.h: * src/bookmarks/ephy-open-tabs-action.c: (node_added_cb), (node_removed_cb), (ephy_open_tabs_group_new): * src/bookmarks/ephy-open-tabs-action.h: * src/bookmarks/ephy-topic-action-group.c: (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_topic_action_group_new): * src/bookmarks/ephy-topic-action-group.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_new): * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topic-factory-action.c: (build_menu): Remove *_action_name functions, and use static buffers instead. Minor cleanups.
* Misc code cleanups: fewer gobject casts, disconnect handlers, save a fewChristian Persch2006-02-098-214/+282
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-09 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action-group.c: (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_bookmark_group_new): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_smart_url), (ephy_bookmark_action_sync_icon), (connect_proxy), (ephy_bookmark_action_set_bookmark), (ephy_bookmark_action_get_property), (ephy_bookmark_action_init), (ephy_bookmark_action_dispose), (ephy_bookmark_action_class_init), (ephy_bookmark_action_get_type): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-ui.c: (ephy_bookmarks_ui_attach_window): * src/bookmarks/ephy-open-tabs-action.c: (activate_cb), (node_added_cb), (node_removed_cb), (ephy_open_tabs_group_new), (ephy_open_tabs_action_name): * src/bookmarks/ephy-related-action.c: (node_changed), (node_destroyed), (open_link), (ephy_related_action_new): * src/bookmarks/ephy-topics-entry.c: * src/bookmarks/ephy-topics-entry.h: Misc code cleanups: fewer gobject casts, disconnect handlers, save a few strdups etc.
* src/bookmarks/ephy-topics-entry.cPeter Harvey2006-02-091-15/+59
| | | | | | | | | | 2006-02-09 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-topics-entry.c Add enter-to-auto-complete when there is just one possible match. Will close dialog if no current key. Will do nothing otherwise.
* src/bookmarks/ephy-bookmarks.cPeter Harvey2006-02-091-0/+57
| | | | | | | | 2006-02-09 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmarks.c Fix problems with old hierarchical topics scheme.
* data/ui/epiphany-bookmark-editor-ui.xmlPeter Harvey2006-02-091-0/+121
| | | | | | | | | | 2006-02-09 Peter Harvey <peter.a.harvey@gmail.com> * data/ui/epiphany-bookmark-editor-ui.xml * src/bookmarks/ephy-bookmarks-editor.c Restore the 'Show on Toolbar' functionality, implemented very differently now.
* lib/ephy-state.h lib/ephy-state.c src/epiphany.defsPeter Harvey2006-02-041-2/+2
| | | | | | | | | | | | 2006-02-04 Peter Harvey <peter.a.harvey@gmail.com> * lib/ephy-state.h * lib/ephy-state.c * src/epiphany.defs * src/bookmarks/ephy-bookmark-properties.c Combined very similar functions into one. Made the 'similar' bookmark count update immediately at start.
* lib/egg/egg-editable-toolbar.c lib/egg/egg-toolbar-editor.cPeter Harvey2006-02-042-4/+6
| | | | | | | | | | | | | | | | 2006-02-04 Peter Harvey <peter.a.harvey@gmail.com> * lib/egg/egg-editable-toolbar.c * lib/egg/egg-toolbar-editor.c * lib/egg/egg-toolbars-model.c * lib/egg/egg-toolbars-model.h * src/bookmarks/ephy-bookmark-factory-action.c * src/bookmarks/ephy-topic-factory-action.c * src/ephy-toolbars-model.c * src/epiphany.defs Improve the system for testing whether an item has already been used on the toolbar.
* src/bookmarks/ephy-bookmark-properties.c src/bookmarks/ephy-bookmarks-ui.cPeter Harvey2006-02-043-234/+111
| | | | | | | | | | | | | | | | 2006-02-04 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-properties.c * src/bookmarks/ephy-bookmarks-ui.c * src/bookmarks/ephy-bookmarks-ui.h * src/ephy-history-window.c * src/popup-commands.c * src/window-commands.c Restore transient status to the properties dialog when creating a new bookmark. Leave the topics entry sensitive, and store the expanded state of the list. Make the similar button a toggle button. Removed unused function to add topic.
* src/bookmarks/ephy-bookmarks.cPeter Harvey2006-02-041-20/+17
| | | | | | | | 2006-02-04 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmarks.c Improve code quality of function to determine similar bookmarks.
* Fix some memory leaks.Jean-François Rameau2006-02-031-0/+2
| | | | | | | | | 2006-02-02 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_visibility_refresh): * src/bookmarks/ephy-topics-entry.c: (update_database): Fix some memory leaks.
* src/bookmarks/ephy-bookmark-action.cPeter Harvey2006-02-022-1/+25
| | | | | | | | | | | | 2006-02-02 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-action.c Allow bookmarks on the toolbar to be dragged. * src/bookmarks/ephy-topic-action.c Remove redundant function call.
* Use ngettext here.Christian Persch2006-01-311-1/+3
| | | | | | | | 2006-01-31 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (show_duplicate_cb): Use ngettext here.
* src/bookmarks/ephy-bookmark-properties.c src/bookmarks/ephy-bookmarks.cPeter Harvey2006-01-313-90/+117
| | | | | | | | | | | 2006-01-30 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-properties.c * src/bookmarks/ephy-bookmarks.c * src/bookmarks/ephy-bookmarks.h Made the 'Similar' button show more bookmarks, and separate into 'identical' and 'similar'.
* Use ngettext() for plural string. Fixes bug #329242Crispin Flowerday2006-01-311-2/+4
| | | | | | | | | 2006-01-30 Crispin Flowerday <gnome@flowerday.cx> * src/bookmarks/ephy-bookmark-properties.c: (update_warning), (ephy_bookmark_properties_constructor): Use ngettext() for plural string. Fixes bug #329242
* src/bookmarks/ephy-bookmark-properties.cPeter Harvey2006-01-301-2/+5
| | | | | | | | 2006-01-30 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-properties.c Add "Show" text to the items in the "Similar" menu.
* src/bookmarks/ephy-bookmark-properties.c src/bookmarks/ephy-bookmarks.cPeter Harvey2006-01-295-139/+280
| | | | | | | | | | | | | | | | | | 2006-01-29 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-properties.c * src/bookmarks/ephy-bookmarks.c * src/bookmarks/ephy-bookmarks.h Added better widget to handle duplicate bookmarks. * src/bookmarks/ephy-topics-entry.c Corrected handling of UTF8 strings. * src/bookmarks/ephy-topics-palette.c Removed unnecessary use of g_idle_*..
* Open smart bookmark url in new tabs when using Ctrl+Enter (part of bugCrispin Flowerday2006-01-291-1/+38
| | | | | | | | | | 2006-01-29 Crispin Flowerday <gnome@flowerday.cx> * src/bookmarks/ephy-bookmark-action.c: (activate_cb), (entry_key_press_cb), (connect_proxy): Open smart bookmark url in new tabs when using Ctrl+Enter (part of bug #310814)
* src/bookmarks/ephy-topics-entry.c src/bookmarks/ephy-topics-palette.cPeter Harvey2006-01-292-187/+317
| | | | | | | | | | 2006-01-29 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-topics-entry.c * src/bookmarks/ephy-topics-palette.c Make both topcs palette and entry even more robust. Substantially improved behaviour of the topics entry.
* src/bookmarks/ephy-topics-entry.c po/POTFILES.inPeter Harvey2006-01-291-54/+78
| | | | | | | | | | 2006-01-29 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-topics-entry.c * po/POTFILES.in Make the topic entry more robust, and correct its entry in POTFILES.in.
* src/bookmarks/ephy-bookmark-properties.c src/bookmarks/ephy-topics-entry.cPeter Harvey2006-01-296-149/+703
| | | | | | | | | | | | | | | | | | | | | | | | 2006-01-29 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-properties.c * src/bookmarks/ephy-topics-entry.c * src/bookmarks/ephy-topics-entry.h * src/bookmarks/Makefile.am * po/POTFILES.in Ongoing Saga Of The Bookmark Properties Dialog. Dialog is now much more compact, using a text entry by default and offering the palette when desired. * src/bookmarks/ephy-topics-palette.c Simplified code and made more usable. Removed the header from the last patch as well. * src/bookmarks/ephy-bookmarks-ui.c 'Add bookmark' dialogs were not correctly removed from the hashtable.
* src/bookmarks/ephy-bookmark-properties.c src/bookmarks/ephy-bookmarks-ui.cPeter Harvey2006-01-286-159/+198
| | | | | | | | | | | | | | | | | | | | | 2006-01-22 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-properties.c * src/bookmarks/ephy-bookmarks-ui.c * src/bookmarks/ephy-bookmarks-ui.h * src/bookmarks/ephy-bookmarks.c * src/bookmarks/ephy-bookmarks.h * src/ephy-history-window.c * src/popup-commands.c * src/window-commands.c Simplified the bookmark properties dialog and removed the 'duplicate bookmark' warning dialog (now have warning in the bookmark properties dialog itself). * src/bookmarks/ephy-topics-palette.c Added a header which switches topic palette mode.
* src/bookmarks/ephy-bookmarks-ui.cPeter Harvey2006-01-261-2/+11
| | | | | | | | | 2006-01-22 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmarks-ui.c Reverted change which made 'add bookmark' and 'edit bookmark' use-cases have exactly the same dialog.
* Small cleanups.Christian Persch2006-01-261-109/+150
| | | | | | | | | | | | | | | | 2006-01-25 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (drag_data_received_cb), (create_tool_item), (ephy_topic_action_sync_label), (get_popup), (erase_popup), (child_changed_cb), (child_removed_cb), (menu_init_cb), (button_deactivate_cb), (button_toggled_cb), (button_release_cb), (button_press_cb), (connect_proxy), (ephy_topic_action_updated), (ephy_topic_action_get_topic), (ephy_topic_action_set_topic), (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_init), (ephy_topic_action_get_type), (ephy_topic_action_new): Small cleanups.
* Add cvs version markers.Christian Persch2006-01-2515-0/+25
| | | | | | | | | | | | | | | | | | | | | | 2006-01-25 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action-group.c: * src/bookmarks/ephy-bookmark-action-group.h: * src/bookmarks/ephy-bookmark-factory-action.c: * src/bookmarks/ephy-bookmark-factory-action.h: * src/bookmarks/ephy-bookmarks-ui.c: * src/bookmarks/ephy-bookmarks-ui.h: * src/bookmarks/ephy-nodes-cover.c: * src/bookmarks/ephy-nodes-cover.h: * src/bookmarks/ephy-open-tabs-action.c: * src/bookmarks/ephy-open-tabs-action.h: * src/bookmarks/ephy-related-action.c: * src/bookmarks/ephy-topic-action-group.c: * src/bookmarks/ephy-topic-action-group.h: * src/bookmarks/ephy-topic-factory-action.c: * src/bookmarks/ephy-topics-palette.c: Add cvs version markers.
* Don't use favicon as window icon.Christian Persch2006-01-252-45/+14
| | | | | | | | | | | 2006-01-25 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (title_entry_changed_cb), (ephy_bookmark_properties_constructor): * src/bookmarks/ephy-bookmarks-ui.c: (ephy_bookmarks_ui_add_bookmark): Don't use favicon as window icon.
* Refactored, code cleanups. Don't make the bookmark properties windowChristian Persch2006-01-256-435/+495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_bookmark), (bookmark_properties_close_cb), (bookmark_properties_response_cb), (update_entry), (update_window_title), (combo_changed_cb), (title_entry_changed_cb), (location_entry_changed_cb), (set_window_icon), (ephy_bookmark_properties_init), (ephy_bookmark_properties_constructor), (ephy_bookmark_properties_set_property), (ephy_bookmark_properties_get_property), (ephy_bookmark_properties_class_init), (ephy_bookmark_properties_get_type), (ephy_bookmark_properties_new): * src/bookmarks/ephy-bookmark-properties.h: Refactored, code cleanups. Don't make the bookmark properties window transient. * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmark_properties): * src/bookmarks/ephy-bookmarks-ui.c: (activate_bookmark_properties), (activate_bookmark_open_tab), (activate_bookmark_open_window), (selected_bookmark_action), (erase_bookmarks_menu), (tree_changed_cb), (node_added_cb), (node_changed_cb), (node_removed_cb), (ephy_bookmarks_ui_attach_window), (properties_dialog_destroy_cb), (add_bookmark), (duplicate_bookmark_response_cb), (ephy_bookmarks_ui_add_bookmark), (add_topic_changed_cb), (add_topic_response_cb), (ephy_bookmarks_ui_add_topic), (ephy_bookmarks_ui_show_bookmark): * src/bookmarks/ephy-bookmarks-ui.h: Cleanups. Make the New Topic dialogue modal to the bookmark properties window. Change some strings, don't unnecessarily use markup when constructing a message dialog. 2006-01-24 Christian Persch <chpe@cvs.gnome.org>
* Switch extensions when changing the export format from the combo box; andChristian Persch2006-01-251-56/+118
| | | | | | | | | | | 2006-01-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb), (export_format_combo_changed_cb), (export_dialog_response_cb), (cmd_bookmarks_export): Switch extensions when changing the export format from the combo box; and don't use gtk_dialog_run. Bug #328064.
* Fix a couple of memory leaksCrispin Flowerday2006-01-242-0/+2
| | | | | | | | | 2006-01-23 Crispin Flowerday <gnome@flowerday.cx> * src/bookmarks/ephy-open-tabs-action.c: (node_added_cb): * src/bookmarks/ephy-topic-action-group.c: (node_added_cb): Fix a couple of memory leaks
* src/bookmarks/ephy-bookmark-action.cPeter Harvey2006-01-222-210/+8
| | | | | | | | | | | 2006-01-22 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-action.c * src/bookmarks/ephy-bookmark-properties.c Remove the user-icon functionality for now. Too many bugs. Note that support for the user-icon field still exists in the bookmarks database itself.
* src/bookmarks/ephy-bookmarks-editor.c (cmd_bookmarks_export)Crispin Flowerday2006-01-221-0/+2
| | | | | | | | 2006-01-21 Crispin Flowerday <gnome@flowerday.cx> * src/bookmarks/ephy-bookmarks-editor.c (cmd_bookmarks_export) Add back the gtk_widget_destroy() to really fix bug #327438
* Fix bookmark exporting, so that it can be cancelled. Fixes bug #327438Crispin Flowerday2006-01-221-4/+7
| | | | | | | | | 2006-01-21 Crispin Flowerday <gnome@flowerday.cx> * src/bookmarks/ephy-bookmarks-editor.c (cmd_bookmarks_export): Fix bookmark exporting, so that it can be cancelled. Fixes bug #327438
* src/bookmarks/ephy-bookmarks-menu.cPeter Harvey2006-01-181-4/+7
| | | | | | | | | 2006-01-18 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmarks-menu.c Do not add OpenTabs action if too-few items in the menu. Bug #327390.
* src/bookmarks/ephy-bookmark-properties.cPeter Harvey2006-01-181-17/+4
| | | | | | | | | 2006-01-18 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-properties.c Removed inappropriate bold and mnemonic. Bug #327401.
* Add event type to the callback.Christian Persch2006-01-172-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_monitor_timeout_cb), (ephy_file_monitor_cb): * lib/ephy-file-helpers.h: Add event type to the callback. * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: New function, like NS_NewFileURI (which we can't use since nsNetUtil.h conflicts with embed strings). * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: Check that the user CSS file exists before registering it. Also handle file-deleted events. * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_build): * src/bookmarks/ephy-topics-palette.c: (ephy_topics_palette_constructor), (ephy_topics_palette_class_init): Build fixes.
* === Release 1.9.5.1 ===Release1951Christian Persch2006-01-174-985/+0
| | | | | | | | | | | | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> === Release 1.9.5.1 === * NEWS: * configure.ac: * data/Makefile.am: * data/chrome/Makefile.am: * po/POTFILES.in: R src/bookmarks/ephy-new-bookmark.c: R src/bookmarks/ephy-new-bookmark.h: R src/bookmarks/ephy-topics-selector.c: R src/bookmarks/ephy-topics-selector.h: Fix the tarball.
* Fix number of /'s in URI.Christian Persch2006-01-172-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> * data/chrome/epiphany.manifest.in: Fix number of /'s in URI. * data/epiphany.schemas.in: Add new entries. * embed/mozilla/EphyAboutModule.cpp: Fix title. * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * lib/eel-gconf-extensions.c: (eel_gconf_unset_key), (eel_gconf_notify): * lib/eel-gconf-extensions.h: * lib/egg/egg-editable-toolbar.c: (popup_context_menu_cb), (button_press_event_cb), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_selected): * lib/ephy-dialog.c: (set_value_from_pref), (set_pref_from_value), (set_value_from_togglebutton), (strcmp_with_null), (get_index_from_value), (compare_values), (set_togglebutton_from_value), (set_pref_from_info_and_emit), (spinbutton_changed_cb), (save_info): * lib/ephy-dialog.h: * lib/ephy-file-helpers.c: (ephy_file_monitor_timeout_cb), (ephy_file_monitor_cb), (ephy_file_monitor_add), (ephy_file_monitor_cancel): * lib/ephy-file-helpers.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_load_file): * src/ephy-window.c: * src/popup-commands.c: (popup_cmd_bookmark_link): * src/prefs-dialog.c: (prefs_dialog_finalize), (setup_font_combo), (fonts_language_changed_cb), (font_prefs_dialog_response_cb), (row_is_separator), (setup_fonts_dialog), (font_prefs_button_clicked_cb), (css_checkbox_toggled), (css_edit_button_clicked_cb), (prefs_dialog_init): Rework font prefs, and add user stylesheet setting. * src/bookmarks/ephy-bookmark-action-group.c: (node_added_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_local): * src/window-commands.c: (window_cmd_file_bookmark_page): Some build fixes.
* src/bookmarks/ephy-bookmark-action.cPeter Harvey2006-01-171-12/+0
| | | | | | | | 2006-01-17 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmark-action.c Removed left-over function.
* src/bookmarks/ephy-bookmarks-menu.cPeter Harvey2006-01-171-5/+19
| | | | | | | | 2006-01-17 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmarks-menu.c Added the 'Local' topic to bookmarks menu.
* src/bookmarks/Makefile.amPeter Harvey2006-01-171-4/+2
| | | | | | | | | | | | | 2006-01-17 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/Makefile.am Forgotten Makefile changes. * src/epiphany.defs 'Fixes' for the python interface. Probably need to regenerate somehow, but don't know how do it correctly.
* src/Makefile.amPeter Harvey2006-01-177-264/+925
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-17 Peter Harvey <peter.a.harvey@gmail.com> * src/Makefile.am Removed ephy-new-bookmark and ephy-topics-selector from the Makefile. * src/ephy-history-window.c * src/popup-commands.c * src/window-commands.c * src/bookmarks/ephy-bookmarks-editor.c Removed all the slightly different bits of code to create a bookmark and called ephy_bookmarks_ui_add_bookmark instead. * src/bookmarks/ephy-bookmarks.c * src/bookmarks/ephy-bookmarks.h Moved the hashtable for bookmark windows to ephy-bookmarks-ui. Added a new field "usericon" to the ephynode/bookmarks database, to store the URL of the user-defined icon (if any). It can be NULL (use site icon), "" (use none), or a URL. * src/bookmarks/ephy-bookmark-properties.c * src/bookmarks/ephy-bookmark-properties.h Large changes to the bookmark properties window to handle different use cases (adding or changing a bookmark), to use the new topics palette widget, and to support the new usericon. * src/bookmarks/ephy-bookmarks-ui.c * src/bookmarks/ephy-bookmarks-ui.h Large additions to ephy-bookmarks-ui to replace ephy-new-bookmark. Fixed some bugs in the datatype handlers for the toolbar which are supplied by ephy-bookmarks-ui.
* src/bookmarks/ephy-topics-palette.c src/bookmarks/ephy-topics-palette.hPeter Harvey2006-01-172-0/+588
| | | | | | | | | | 2006-01-17 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-topics-palette.c * src/bookmarks/ephy-topics-palette.h Implemented a new widget for topic selection that tries to organise the topics for the user.
* src/bookmarks/ephy-topic-action.cPeter Harvey2006-01-171-0/+58
| | | | | | | | 2006-01-17 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-topic-action.c Handle DnD to topics on the toolbar.
* Cleaned up ephy-bookmark-action.c to match the newPeter Anthony Harvey2006-01-172-99/+26
| | | | gtk-ui-manager based popup menu on the toolbar.
* Do not add bookmarks to a flat menu more than once.Peter Anthony Harvey2006-01-101-3/+17
| | | | Note that bookmarks may still appear at different places in the hierarchy.
* Don't include generated files in the tarball. Bug #319440.Christian Persch2006-01-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | 2006-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Don't include generated files in the tarball. Bug #319440. R help/C/Makefile.am: R help/es/Makefile.am: R help/eu/Makefile.am: R help/fi/Makefile.am: R help/ja/Makefile.am: R help/uk/Makefile.am: Remove obsolete files.
* Don't try to connect signals to the destroyed node!Christian Persch2005-12-061-6/+0
| | | | | | | | 2005-12-05 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-related-action.c: (node_destroyed_cb): Don't try to connect signals to the destroyed node!
* === Release 1.9.2 ===Release192Christian Persch2005-11-131-4/+8
| | | | | | | | | | | | | | | | | | | | | | | 2005-11-12 Christian Persch <chpe@cvs.gnome.org> === Release 1.9.2 === * Makefile.am: Pass make distcheck. * NEWS: * configure.ac: Updated for 1.9.2. * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (parse_data_list), (parse_item_list), (parse_toolbars): * src/bookmarks/ephy-bookmarks-ui.c: (ephy_bookmarks_ui_attach_toolbar_model): Fix compile warnings.
* lib/ephy-file-helpers.c lib/widgets/ephy-location-entry.cCrispin Flowerday2005-11-111-1/+1
| | | | | | | | | | | 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-082-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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-086-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* More curly quotes.Christian Persch2005-11-014-7/+7
| | | | | | | | | | | | | | | | | | | | 2005-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_verify_postscript): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * src/bookmarks/ephy-bookmark-properties.c: (update_window_title): * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (add_bookmarks_source), (import_bookmarks): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): * src/ephy-extensions-manager.c: (dir_changed_cb): * src/ephy-tab.c: (update_net_state_message): More curly quotes.
* Constification.Christian Persch2005-11-012-20/+12
| | | | | | | | | | | 2005-10-31 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dbus.c: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults): Constification.
* Add array bounds check; fixes bug #320169.Christian Persch2005-10-301-1/+1
| | | | | | | | 2005-10-30 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-nodes-cover.c: (ephy_nodes_get_covering): Add array bounds check; fixes bug #320169.
* Remove info text referring to the not-committed markers in H18.Christian Persch2005-10-241-22/+11
| | | | | | | | | | 2005-10-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (build_editing_table), (ephy_new_bookmark_construct), (ephy_new_bookmark_set_property), (ephy_new_bookmark_get_property): Remove info text referring to the not-committed markers in H18.
* Adapt folder import to new menu code, patch by Peter Harvey.Christian Persch2005-10-191-56/+36
| | | | | | | | | 2005-10-18 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (ephy_bookmarks_import_mozilla): Adapt folder import to new menu code, patch by Peter Harvey.
* H18 patch, by Peter Harvey <pah06@uow.edu.au>.Peter Harvey2005-10-1734-3819/+3099
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-16 Peter Harvey <pah06@uow.edu.au> H18 patch, by Peter Harvey <pah06@uow.edu.au>. * data/ui/epiphany-bookmark-editor-ui.xml: * data/ui/epiphany-ui.xml: * lib/egg/egg-editable-toolbar.c: (get_dock_position), (get_toolbar_position), (get_toolbar_nth), (find_action), (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (move_item_cb), (set_dock_visible), (remove_item_cb), (remove_toolbar_cb), (toggle_visibility_cb), (egg_editable_toolbar_add_visibility_items), (egg_editable_toolbar_add_popup_items), (popup_context_menu_cb), (button_press_event_cb), (configure_item_sensitivity), (configure_item_cursor), (connect_widget_signals), (action_sensitive_cb), (create_item_from_action), (create_item_from_position), (toolbar_drag_data_received_cb), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (configure_drag_dest), (create_dock), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (item_added_cb), (item_removed_cb), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_get_edit_mode), (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (compare_items), (item_added_or_removed_cb), (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_finalize), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (editor_create_item), (editor_create_item_from_name), (append_table), (update_editor_sheet), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (toolbar_node_new), (item_node_new), (item_node_free), (toolbar_node_free), (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags), (egg_toolbars_model_get_data), (egg_toolbars_model_get_name), (impl_add_item), (egg_toolbars_model_add_item), (egg_toolbars_model_add_toolbar), (parse_data_list), (parse_item_list), (parse_toolbars), (egg_toolbars_model_load), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth), (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth), (egg_toolbars_model_get_types), (egg_toolbars_model_set_types), (fill_avail_array), (egg_toolbars_model_get_avail), (egg_toolbars_model_get_n_avail), (egg_toolbars_model_set_n_avail): * lib/egg/egg-toolbars-model.h: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action-group.c: (smart_added_cb), (smart_removed_cb), (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_bookmark_group_new): * src/bookmarks/ephy-bookmark-action-group.h: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_icon), (show_context_menu), (popup_menu_cb), (button_press_cb), (button_release_cb), (connect_proxy), (ephy_bookmark_action_updated), (ephy_bookmark_action_get_bookmark), (ephy_bookmark_action_set_bookmark), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (ephy_bookmark_action_init), (ephy_bookmark_action_name), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-factory-action.c: (ephy_bookmark_factory_action_get_type), (activate_item_cb), (build_menu_for_topic), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_bookmark_factory_action_class_init), (ephy_bookmark_factory_action_new): * src/bookmarks/ephy-bookmark-factory-action.h: * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_property), (ephy_bookmark_properties_get_property), (bookmark_properties_response_cb), (update_entry), (location_entry_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (add_entry_monitor), (cmd_add_topic), (delete_topic_dialog_construct), (cmd_bookmarks_import), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_node_activated_cb), (ephy_bookmarks_editor_update_menu), (view_focus_cb), (add_focus_monitor), (remove_focus_monitor), (bookmarks_filter), (search_entry_search_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_set_parent), (ephy_bookmarks_editor_set_property), (ephy_bookmarks_editor_get_property), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks-menu.c: (append_bookmarks), (append_menu), (ephy_bookmarks_menu_build): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks-ui.c: (find_action), (activate_bookmarks_menu), (activate_favorites_menu), (erase_bookmarks_menu), (erase_favorites_menu), (tree_changed_cb), (node_added_cb), (node_changed_cb), (node_removed_cb), (ephy_bookmarks_ui_attach_window), (ephy_bookmarks_ui_detach_window), (toolbar_node_removed_cb), (topic_has_data), (topic_get_data), (topic_get_name), (bookmark_has_data), (bookmark_get_data), (bookmark_get_name), (bookmark_new_name), (ephy_bookmarks_ui_attach_toolbar_model), (ephy_bookmarks_ui_detach_toolbar_model): * src/bookmarks/ephy-bookmarks-ui.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type), (ephy_bookmarks_init_defaults), (ephy_bookmarks_class_init), (ephy_bookmarks_save_delayed), (add_to_favorites), (update_bookmark_keywords), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_add), (ephy_bookmarks_set_address), (ephy_bookmarks_set_icon), (ephy_bookmarks_add_keyword), (ephy_bookmarks_show_bookmark_properties), (ephy_bookmarks_get_from_id), (ephy_bookmarks_compare_topics), (ephy_bookmarks_compare_topic_pointers), (ephy_bookmarks_compare_bookmarks), (ephy_bookmarks_compare_bookmark_pointers): * 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-favorites-menu.c: * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (build_editing_table), (ephy_new_bookmark_construct), (ephy_new_bookmark_set_property), (ephy_new_bookmark_get_property): * src/bookmarks/ephy-nodes-cover.c: (ephy_nodes_count_covered), (ephy_nodes_remove_covered), (ephy_nodes_remove_not_covered), (ephy_nodes_get_covered), (ephy_nodes_covered), (ephy_nodes_get_covering): * src/bookmarks/ephy-nodes-cover.h: * src/bookmarks/ephy-open-tabs-action.c: (activate_cb), (node_added_cb), (node_removed_cb), (ephy_open_tabs_group_new), (ephy_open_tabs_action_name): * src/bookmarks/ephy-open-tabs-action.h: * src/bookmarks/ephy-related-action.c: (node_changed), (node_destroyed), (open_link), (iface_init), (ephy_related_action_get_type), (ephy_related_action_new): * src/bookmarks/ephy-related-action.h: * src/bookmarks/ephy-topic-action-group.c: (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_topic_group_new): * src/bookmarks/ephy-topic-action-group.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (create_tool_item), (ephy_topic_action_sync_label), (get_popup), (erase_popup), (child_added_cb), (child_changed_cb), (child_removed_cb), (menu_destroy_cb), (menu_init_cb), (button_deactivate_cb), (button_toggled_cb), (button_release_cb), (button_press_cb), (connect_proxy), (ephy_topic_action_updated), (ephy_topic_action_get_topic), (ephy_topic_action_set_topic), (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_class_init), (ephy_topic_action_init), (ephy_topic_action_name), (ephy_topic_action_new): * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topic-factory-action.c: (ephy_topic_factory_action_get_type), (sort_topics), (activate_item_cb), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_topic_factory_action_class_init), (ephy_topic_factory_action_new): * src/bookmarks/ephy-topic-factory-action.h: * src/ephy-link-action.c: (ephy_link_action_group_get_type), (ephy_link_action_group_new): * src/ephy-link-action.h: * src/ephy-lockdown.c: (find_name), (find_action_group), (update_window): * src/ephy-notebook.c: (move_tab_to_another_notebook), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (tab_label_style_set_cb), (build_tab_label), (ephy_notebook_add_tab): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor), (ephy_toolbar_editor_finalize), (ephy_toolbar_editor_set_property), (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_realize), (ephy_toolbar_unrealize), (ephy_toolbar_finalize): * src/ephy-toolbars-model.c: (update_flags), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_get_type), (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_key_press_event), (tool_item_enter_cb), (tool_item_leave_cb), (tool_item_drag_begin_cb), (connect_tool_item), (disconnect_tool_item), (disconnect_proxy_cb), (connect_proxy_cb), (update_chromes_actions), (show_embed_popup), (tab_added_cb), (tab_removed_cb), (ephy_window_set_chrome), (ephy_window_dispose), (ephy_window_class_init), (ephy_window_init), (ephy_window_finalize), (ephy_window_remove_tab), (ephy_window_set_zoom), (sync_prefs_with_chrome), (ephy_window_view_toolbar_cb): * src/ephy-window.h: Revision history: h18, released 2005/09/23, for Epiphany 1.8.0 * Just an update for 1.8.0. h17, released 2005/08/30, for Epiphany 1.7.6 or CVS HEAD * Mostly just an update for 1.7.6. * Topic menus on the toolbar now open without releasing the mouse button. * Topic menus on the toolbar are now also hierarchical (see if you like it. h16, released 2005/08/25, for Epiphany 1.7.5 or CVS HEAD * Just an update for 1.7.5. Sorry, I've been busy. :) h15, released 2005/07/19, for Epiphany 1.7.2 or CVS HEAD * Code cleanup h14, released 2005/07/9, for Epiphany 1.7.1 or CVS HEAD * Improved helpful tip when adding a bookmark * Improved toolbar context menu * Toolbar visibility state is now saved * Separated bookmark/topic action groups into separate files * Topics in the overflow menu now behave as submenus * Now importing old bookmarksbar, and saving to new filename * Incremented toolbar file format version number to 1.1 * Fixed the 'sticky' statusbar help * Fixed a crashing bug (dnd then open a topic on the toolbar) h13, released 2005/05/12, for CVS HEAD * Added middle-mouse drag-drop for the editable toolbar. * Fixed some warnings at compile and run time. * Added brief help for the user when adding a new bookmark. * Cleaned up the editable toolbar code a little. h12, released 2005/05/10, for CVS HEAD * Added new editing facilities for the editable toolbar. h11, released 2005/04/29, for CVS HEAD * Fixed bug in statusbar information for toolbar items. * Added an all-new 'Related' toolbar widget which changes to show the most related topic whenever a bookmark is activated. h10, released 2005/04/15, for Epiphany 1.6.2 or CVS HEAD * Added statusbar information for all toolbar items. * Empty toolbars are now only deleted when exiting edit mode. * Fixed regression of middle-click for bookmarks on toolbar. * Fixed regression of ellipsized bookmark names in menus. h9, released 2005/04/12, for Epiphany 1.6.1 * Updated patch for 1.6.1. Long time no see. * Now using EphyLink objects everywhere. h7, released 2004/10/21, for Epiphany 1.4.4 * Updated patch for 1.4.4. * Fixed bugs causing crashes when bookmarks were added (thanks Reinout). * Added "Open in Tabs" back into bookmark menus where suitable. h6, released 2004/09/20, for Epiphany 1.4.0 * Updated patch for 1.4.0. * Removed the bookmarks bar. * Generate shared XML string for bookmarks menu. * Slightly improve performance of node-cover code. * Delay adding bookmarks menu until it is first used. * Fixed bug(?) in ephy-node. h4, released 2004/08/08, for Epiphany 1.3.4 * Updated patch due to changes to topics selector. * Removed 'Most Visited' from the min-cover calculations. * Fixed Epiphany 1.3.4 bug where topics in selector aren't sorted. * Updated patch due to other changes in Epiphany 1.3.4 source. h3, released 2004/07/12, for Epiphany 1.3.2 * Simple update for Epiphany 1.3.2 h3, released 2004/05/24, for Epiphany 1.2.5 * Moved duplicated functions into a seperate file. * Improved topic selector. * Bookmarks toolbar topic menus now have subdivisions. * Topic names in menu now change if modified in the bookmarks editor. h2, released 2004/05/23, for Epiphany 1.2.5 * Significantly cleaned up the code. * 'Most Visited' no longer appears as a submenu. * Subtopics are selected much more intelligently, giving a better approximation to a true minimum cover. * Topic selector now shows suggestions with arrows, not bold font. h1, released 2004/05/19, for Epiphany 1.2.5 * Initial release.
* Use "position" property notification instead of size-allocate to monitorChristian Persch2005-10-031-1/+1
| | | | | | | | | | | | | | | | 2005-10-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-state.c: (paned_sync_position_cb), (ephy_state_add_paned): Use "position" property notification instead of size-allocate to monitor the paned's position. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Use resize=FALSE with gtk_paned_pack1. Fixes growing size of the left pane of the bookmarks editor by repeated opening.
* Add configure switch to disable zeroconf bookmarks, since they're almostChristian Persch2005-10-031-0/+30
| | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * src/bookmarks/ephy-bookmarks.c: (save_filter), (ephy_bookmarks_save), (update_bookmark_keywords), (bookmark_is_categorized), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_get_topic_uri), (ephy_bookmarks_find_keyword): * src/epiphany.defs: Add configure switch to disable zeroconf bookmarks, since they're almost useless since just about nobody ships gnome-vfs with howl support enabled, and have also been reported to cause long delays on startup.
* New function to check the filename/directory for writability, derived fromChristian Persch2005-09-221-3/+6
| | | | | | | | | | | | | | | | | | 2005-09-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-gui.h: New function to check the filename/directory for writability, derived from the now removed ephy_gui_confirm_overwrite_file. * src/bookmarks/ephy-bookmarks-editor.c: * embed/mozilla/FilePicker.cpp: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: Use the filechooser's stock confirm-overwrite checking, but we still need our own writability check.
* Repair the previous b0rkage, see previous logRaphael Slinckx2005-09-172-70/+45
| | | | | | | | | | 2005-09-16 Raphael Slinckx <rslinckx@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (bookmark_activate_with_flags), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb): * src/bookmarks/ephy-bookmarks.c: (impl_resolve_address): Repair the previous b0rkage, see previous log
* If the search term is empty for a smart bookmark use the normal URLRaphael Slinckx2005-09-151-0/+18
| | | | | | | | 2005-09-15 Raphael Slinckx <rslinckx@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (impl_resolve_address): If the search term is empty for a smart bookmark use the normal URL instead of the smart url with the %s replaced by ""
* 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.
* 2005-08-21 Christian Persch <chpe@cvs.gnome.org>Christian Persch2005-08-211-1/+1
| | | | | * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_sync_label):
* Tiny string fix just before string freeze :)Christian Persch2005-08-091-0/+2
| | | | | | | | | 2005-08-08 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-toolbar.c: (ephy_toolbar_set_window): Tiny string fix just before string freeze :)
* Only show the leaf name on bookmarksbar for hierarchical topics.Christian Persch2005-07-281-2/+9
| | | | | | | | | 2005-07-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_sync_label): Only show the leaf name on bookmarksbar for hierarchical topics.
* Unify bookmarks/smart bookmarks address resolution, and add a signal toChristian Persch2005-07-274-60/+115
| | | | | | | | | | | | | | | | | | | 2005-07-26 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * src/bookmarks/ephy-bookmark-action.c: (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_class_init), (impl_resolve_address), (ephy_bookmarks_resolve_address): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-topic-action.c: (menu_activate_cb), (open_in_tabs_activate_cb): * src/ephy-location-action.c: (action_activated_cb), (entry_activate_cb): * src/epiphany.defs: Unify bookmarks/smart bookmarks address resolution, and add a signal to EphyBookmarks for it.
* Use connect_object to connect to the menu's deactivate signal. May fix bugChristian Persch2005-07-261-2/+2
| | | | | | | | | 2005-07-26 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (button_toggled_cb): Use connect_object to connect to the menu's deactivate signal. May fix bug #309918.
* Also ellipsise the menu entries in the toolbar overflow menu.Christian Persch2005-07-252-1/+18
| | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (connect_proxy): * src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu), (connect_proxy): Also ellipsise the menu entries in the toolbar overflow menu.
* *** empty log message ***Christian Persch2005-07-241-1/+1
|
* Make sure the option is in the right option group.Christian Persch2005-07-181-1/+1
| | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (get_option): Make sure the option is in the right option group.
* Only allow alphanumeric option arguments, and limit length to 32Christian Persch2005-07-181-2/+9
| | | | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (get_option), (ephy_bookmarks_get_smart_bookmark_width): Only allow alphanumeric option arguments, and limit length to 32 characters at most. Use g_ascii_strtoull.
* A embed/mozilla/EphyAboutModule.cpp: A embed/mozilla/EphyAboutModule.h: RChristian Persch2005-07-181-2/+1
| | | | | | | | | | | | | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> A embed/mozilla/EphyAboutModule.cpp: A embed/mozilla/EphyAboutModule.h: R embed/mozilla/EphyProtocolHandler.cpp: R embed/mozilla/EphyProtocolHandler.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * po/POTFILES.in: Yet another mozilla API change. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_smart_bookmark_width): Remove stray g_print, and clamp entry width to sane values.
* Fix smart bookmark options parsing. Now encoding= really works, and addedChristian Persch2005-07-173-177/+117
| | | | | | | | | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_smart_url): * src/bookmarks/ephy-bookmarks.c: (resolve_cb), (browse_cb), (ephy_bookmarks_init), (update_has_smart_address), (get_option), (ephy_bookmarks_solve_smart_url), (ephy_bookmarks_get_smart_bookmark_width): * src/bookmarks/ephy-bookmarks.h: Fix smart bookmark options parsing. Now encoding= really works, and added width= for bug #116709. Also fixes bug #132761.
* Check all selected nodes if they allow dragging.Christian Persch2005-07-122-5/+12
| | | | | | | | | | | | | | | | | | | 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-113-6/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Check return value of fgets.Christian Persch2005-05-291-4/+6
| | | | | | | | | 2005-05-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file): Check return value of fgets.
* Replaces all %s in smartbookmarks. Fixes bug #167319, patch by RaphaelChristian Persch2005-04-241-5/+7
| | | | | | | | | 2005-04-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_solve_smart_url): Replaces all %s in smartbookmarks. Fixes bug #167319, patch by Raphael Slinckx.
* Use gtk_action_set_[sensitive|visible] instead of g_object_set.Christian Persch2005-04-191-13/+13
| | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): * src/ephy-history-window.c: (ephy_history_window_update_menu): * src/ephy-toolbar.c: (ephy_toolbar_set_zoom): * src/ephy-window.c: (update_edit_actions_sensitivity), (enable_edit_actions_sensitivity), (sync_tab_load_status), (sync_tab_zoom), (show_embed_popup), (update_tabs_menu_sensitivity): * src/ppview-toolbar.c: (toolbar_update_sensitivity): Use gtk_action_set_[sensitive|visible] instead of g_object_set.
* Implement a more flexible approach at saving a EphyNodeDb, by allowing toChristian Persch2005-04-081-4/+13
| | | | | | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize): * embed/ephy-history.c: (save_filter), (ephy_history_save): * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_save): * src/bookmarks/ephy-bookmarks.c: (save_filter), (ephy_bookmarks_save): Implement a more flexible approach at saving a EphyNodeDb, by allowing to specify a filter func to exclude certain nodes, instead of a fixed list.
* Version 1.7.0.Christian Persch2005-03-081-1/+1
| | | | | | | | | | | | | | | | 2005-03-07 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/Makefile.am: * data/epiphany-1.6.pc.in: * data/epiphany-1.8.pc.in: * doc/reference/tmpl/ephy-embed.sgml: * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Version 1.7.0.
* Make sure folder is != NULL. Fixes bug #163341.Christian Persch2005-02-271-3/+3
| | | | | | | | 2005-02-26 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder): Make sure folder is != NULL. Fixes bug #163341.
* Shut upChristian Persch2005-02-191-0/+2
|
* Define variants with startup ID.Christian Persch2005-02-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: Define variants with startup ID. * lib/ephy-gui.c: (ephy_gui_window_update_user_time): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId), (impl_ephy_automation_loadurl), (impl_ephy_automation_addBookmark), (impl_ephy_automation_importBookmarks), (impl_ephy_automation_loadSessionWithStartupId), (impl_ephy_automation_loadSession), (impl_ephy_automation_openBookmarksEditorWithStartupId), (impl_ephy_automation_openBookmarksEditor), (ephy_automation_class_init): * src/ephy-main.c: (get_startup_id), (main): * src/ephy-session.c: (offer_to_resume), (ephy_session_autoresume), (ephy_session_load): * src/ephy-session.h: * src/ephy-shell.c: (open_urls), (ephy_shell_startup), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: Implement startup ID forwarding to the already-running ephy instance. Part of bug #150085.
* Some sparse fixes.Christian Persch2005-01-311-1/+1
| | | | | | | | | | | | | | 2005-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_new): * lib/ephy-dialog.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_new): * src/ephy-link.c: (ephy_link_open): * src/ephy-statusbar.c: (create_statusbar_security_icon): * src/ephy-window.c: * src/prefs-dialog.c: (get_download_button_label): Some sparse fixes.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-2913-43/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Better wording for the import-failed dialogue.Christian Persch2005-01-251-1/+3
| | | | | | | | 2005-01-24 Christian Persch,,, <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (import_bookmarks): Better wording for the import-failed dialogue.
* `head -5 ChangeLog`Christian Persch2005-01-251-1/+1
|
* Inform the user of failed bookmarks import.Christian Perhristian Persch2005-01-241-5/+40
| | | | | | | | 2005-01-24 Christian Perhristian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (import_bookmarks): Inform the user of failed bookmarks import.
* Add proper _NETSCAPE_URL drag support, supplying the URL as well as theJorn Baayen2005-01-223-23/+27
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make ephy-bookmarks.h's enum a named enum. Auto-generate types forJean-François Rameau2005-01-213-3/+63
| | | | | | | | | | | | 2005-01-20 Jean-François Rameau <jframeau@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type): Make ephy-bookmarks.h's enum a named enum. Auto-generate types for ephy-bookmarks.h's enum. Make sure our enum type is registered.
* Add a translator comment.Christian Persch2005-01-201-0/+1
| | | | | | | | 2005-01-20 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (add_bookmarks_source): Add a translator comment.
* Don't leak the path.Christian Persch2005-01-201-0/+2
| | | | | | | | 2005-01-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (add_bookmarks_source): Don't leak the path.
* Show profile name for mozilla bookmarks, so we can distinguish betweenChristian Persch2005-01-203-57/+98
| | | | | | | | | | | | | | | 2005-01-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_find_file_recursive): * src/bookmarks/ephy-bookmarks-editor.c: (add_bookmarks_files), (add_bookmarks_source), (import_dialog_response_cb), (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.h: Show profile name for mozilla bookmarks, so we can distinguish between different profiles. Don't show firefox bookmarks as mozilla bookmarks. Fixes bug #143982.
* Unify more strings.Christian Persch2005-01-161-2/+2
| | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (add_open_in_tabs_menu): Unify more strings.
* Unify accels to Open in New _Window[s], and also change to Open Link inChristian Persch2005-01-161-3/+3
| | | | | | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-history-window.c: (ephy_history_window_update_menu): * src/ephy-window.c: Unify accels to Open in New _Window[s], and also change to Open Link in New _Window. Fixes bug #164130.
* Don't use <tt> in the strings. Fixes bug #163378.Christian Persch2005-01-161-4/+4
| | | | | | | | | | | | | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Don't use <tt> in the strings. Fixes bug #163378. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): Fix button text and capitalisation in the confirm-redirect-update dialogue. Fixes bug #164131. * src/ephy-window.c: (confirm_close_with_modified_forms): Fix primary text of confirm-close command not to have a period.
* Add GDK_ACTION_ASK, and prefer _NETSCAPE_URL over uri-list drag types.Jorn Baayen2005-01-142-5/+6
| | | | | | | | | | | | | | | | 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.
* Renamed Remove action on bookmarksbar context menu. Fixes bug #162132.Christian Persch2005-01-142-4/+10
| | | | | | | | | 2005-01-14 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (show_context_menu): * src/bookmarks/ephy-topic-action.c: (show_context_menu): Renamed Remove action on bookmarksbar context menu. Fixes bug #162132.
* Make all structs prefixed by _.Christian Persch2005-01-0914-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 _.
* Don't focus the buttons on click.Christian Persch2005-01-052-1/+8
| | | | | | | | | | | | | 2005-01-04 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (create_tool_item): * src/bookmarks/ephy-topic-action.c: (create_tool_item): Don't focus the buttons on click. * src/bookmarks/ephy-topic-action.c: (add_open_in_tabs_menu): Use "Open in New Tabs" label for consistency.
* Use ngettext to get the Open in New Tab[s]/Window[s] label.Christian Persch2005-01-051-27/+26
| | | | | | | | | | | | | | 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>
* Set selection mode to BROWSE. Fixes bug #162331.Christian Persch2005-01-011-0/+6
| | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_constructor): Set selection mode to BROWSE. Fixes bug #162331.
* Save a strdup.Christian Persch2005-01-011-6/+2
| | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct): Save a strdup.
* Add translator's comments to contextualised strings.Christian Persch2004-12-311-3/+9
| | | | | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (progress_cell_data_func): * embed/ephy-encodings.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/prefs-dialog.c: (get_name_for_lang_code): Add translator's comments to contextualised strings.
* Add context to ambiguous strings. Fixes bug #113932.Christian Persch2004-12-261-3/+6
| | | | | | | | | | | | | 2004-12-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (ephy_encodings_init): * lib/ephy-langs.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/ephy-window.c: (show_embed_popup), (tab_context_menu_cb), (ephy_window_set_active_tab): * src/prefs-dialog.c: (create_fonts_language_menu): Add context to ambiguous strings. Fixes bug #113932.
* Open the bookmarks in the new tabs in the same order as they are in theChristian Persch2004-12-241-7/+15
| | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu), (open_in_tabs_activate_cb): Open the bookmarks in the new tabs in the same order as they are in the menu, not in some random order.
* A src/ephy-home-action.c: (ephy_home_action_activate),Christian Persch2004-12-249-276/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * src/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (create_tool_item), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb), (connect_proxy), (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type), (add_action_for_bookmark), (ephy_bookmarks_menu_class_init): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (menu_activate_cb), (open_in_tabs_activate_cb), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: A src/ephy-home-action.c: (ephy_home_action_activate), (ephy_home_action_class_init), (ephy_home_action_get_type): A src/ephy-home-action.h: A src/ephy-link-action.c: (ephy_link_action_get_type): A src/ephy-link-action.h: A src/ephy-link.c: (ephy_link_flags_get_type), (ephy_link_base_init), (ephy_link_get_type), (ephy_link_open): A src/ephy-link.h: * src/ephy-location-action.c: (ephy_location_action_get_type), (action_activated_cb), (location_url_activate_cb), (connect_proxy), (disconnect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-navigation-action.c: (ephy_navigation_action_get_type), (activate_back_or_forward_menu_item_cb), (activate_up_menu_item_cb), (build_back_or_forward_menu), (build_up_menu): * src/ephy-navigation-action.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (setup_ui_manager), (open_link_cb), (ephy_window_init): * src/toolbar.c: (toolbar_get_type), (toolbar_setup_actions): * src/window-commands.c: * src/window-commands.h: Consolidate link opening in one place by introducing an EphyLink interface which bookmarks, topics, navigation, location, home, toolbars, bookmarks menu and favourites menu implement, forwarding the link opening to the window.
* Add "View Properties" to duplicated bookmarks dialogue. Fixes bug #117643Christian Persch2004-12-191-15/+38
| | | | | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct), (duplicate_bookmark_response_cb), (duplicated_node_destroy_cb), (ephy_new_bookmark_is_unique): Add "View Properties" to duplicated bookmarks dialogue. Fixes bug #117643 and bug #138300.
* Make sure we don't have any app-modal dialogues. Fixes bug #110479.Christian Persch2004-12-191-21/+4
| | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * lib/ephy-gui.c: (ephy_gui_ensure_window_group), (ephy_gui_confirm_overwrite_file): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (ephy_bookmarks_editor_construct): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): Make sure we don't have any app-modal dialogues. Fixes bug #110479.
* Prompt for bookmark update.Christian Persch2004-12-141-11/+74
| | | | | | | | | | | | | | 2004-12-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (update_bookmark_response_cb), (update_bookmark_destroy_cb), (redirect_cb): Prompt for bookmark update. * src/prefs-dialog.c: (get_download_button_label): Use gtk domain for Home and Desktop strings to get the same as the filechooser.
* Make distcheck fix.Christian Persch2004-12-141-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | 2004-12-13 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: Make distcheck fix. * lib/ephy-string.c: * lib/ephy-string.h: Finally remove ephy_string_shorten(). * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_label): * src/bookmarks/ephy-bookmarks-menu.c: (connect_proxy_cb): * src/bookmarks/ephy-favorites-menu.c: (connect_proxy_cb): * src/bookmarks/ephy-topic-action.c: (create_tool_item), (ephy_topic_action_sync_label), (append_bookmarks_menu), (build_topics_menu): * src/ephy-navigation-action.c: (new_history_menu_item): Use gtk_label_set_max_width_chars() and ellipsise the labels.
* Make distcheck fix.Christian Persch2004-12-144-31/+19
| | | | | | | | | | | | | | | | | | | | | | | | 2004-12-13 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: Make distcheck fix. * lib/ephy-string.c: * lib/ephy-string.h: Finally remove ephy_string_shorten(). * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_label): * src/bookmarks/ephy-bookmarks-menu.c: (connect_proxy_cb): * src/bookmarks/ephy-favorites-menu.c: (connect_proxy_cb): * src/bookmarks/ephy-topic-action.c: (create_tool_item), (ephy_topic_action_sync_label), (append_bookmarks_menu), (build_topics_menu): * src/ephy-navigation-action.c: (new_history_menu_item): Use gtk_label_set_max_width_chars() and ellipsise the labels.
* A data/epiphany-bookmarks-html.xsl:Christian Persch2004-12-073-25/+209
| | | | | | | | | | | | | | | | | 2004-12-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/Makefile.am: A data/epiphany-bookmarks-html.xsl: * data/ui/epiphany-bookmark-editor-ui.xml: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_export), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks-export.c: (write_rdf), (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-export.h: * src/ephy-main.c: (main): Add bookmarks export to bookmarks editor. Fixes bug #157745.
* Use stock icon for "Open In New Tab".Christian Persch2004-12-031-1/+1
| | | | | | | | 2004-12-03 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: Use stock icon for "Open In New Tab".
* Update bookmarks from HTTP 301. Fixes bug #126312.Christian Persch2004-12-021-0/+25
| | | | | | | | | | | | | | | | | | | | 2004-12-02 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_class_init): * embed/ephy-history.h: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphyHistoryListener.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/Makefile.am: * src/bookmarks/ephy-bookmarks.c: (redirect_cb), (ephy_setup_history_notifiers): * src/ephy-window.c: (confirm_close_with_modified_forms), (ensure_window_group), (ephy_window_init): Update bookmarks from HTTP 301. Fixes bug #126312.
* Add deprecated defines to AM_CPPFLAGS in maintainer-mode.Christian Persch2004-12-011-19/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fixes leak.Vincent Untz2004-11-281-1/+4
| | | | | | | | 2004-11-28 Vincent Untz <vincent@vuntz.net> * src/bookmarks/ephy-bookmarksbar-model.c: (impl_get_item_id): Fixes leak.
* 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.
* Fix signed/unsigned int confusion when iterating over a GPtrArray.Christian Persch2004-11-111-1/+1
| | | | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (remove_obsolete_pages): * src/bookmarks/ephy-bookmarks.c: (clear_favorites): Fix signed/unsigned int confusion when iterating over a GPtrArray.
* Do not warn if topic is empty, better title and primary text.Xan Lopez2004-11-111-10/+25
| | | | | | | * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (cmd_delete): Do not warn if topic is empty, better title and primary text.
* Warn before deleting a topic, fixes #149294Xan Lopez2004-11-111-1/+51
| | | | | | | * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (cmd_delete): Warn before deleting a topic, fixes #149294
* Fix 2 mem leaks; thanks to Xan for noticing them.Christian Persch2004-11-101-0/+2
| | | | | | | | 2004-11-09 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): Fix 2 mem leaks; thanks to Xan for noticing them.
* This dialogue doesn't need to be modal.Christian Persch2004-11-081-2/+3
| | | | | | | | 2004-11-08 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): This dialogue doesn't need to be modal.
* When popping up the context menu with keyboard, select the first menuChristian Persch2004-11-082-13/+61
| | | | | | | | | | | | | | 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.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-0313-26/+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.
* Make sure there's only one bookmark properties dialogue for each bookmark.Christian Persch2004-11-016-61/+80
| | | | | | | | | | | | | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (properties_activate_cb), (bookmark_destroy_cb), (ephy_bookmark_action_finalize): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_new): * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: (show_properties_dialog), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_add_keyword), (prop_dialog_destroy_cb), (bookmark_destroyed_cb), (ephy_bookmarks_show_bookmark_properties): * src/bookmarks/ephy-bookmarks.h: Make sure there's only one bookmark properties dialogue for each bookmark. Fixes bug #148398 and also bug #155880.
* Slightly refactor bookmarks menu, to take a configurable path where toChristian Persch2004-10-302-40/+80
| | | | | | | | | | | | | | | | | 2004-10-29 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (open_bookmark_cb), (open_bookmark_in_tab_cb), (add_action_for_bookmark), (create_submenu), (ephy_bookmarks_menu_rebuild), (ephy_bookmarks_menu_set_property), (ephy_bookmarks_menu_get_property), (ephy_bookmarks_menu_constructor), (ephy_bookmarks_menu_finalize), (ephy_bookmarks_menu_class_init), (ephy_bookmarks_menu_new): * src/bookmarks/ephy-bookmarks-menu.h: * src/ephy-window.c: (open_bookmark_cb), (ephy_window_init): Slightly refactor bookmarks menu, to take a configurable path where to merge its UI.
* Don't open all bookmarks in tabs. Fixes bug #156843.Christian Persch2004-10-301-10/+22
| | | | | | | | | | 2004-10-29 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (can_open_in_tabs), (open_in_tabs_activate_cb), (add_open_in_tabs_menu), (build_bookmarks_menu), (show_context_menu): Don't open all bookmarks in tabs. Fixes bug #156843.
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-286-18/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix label of "All" topic on bookmarksbar.Christian Persch2004-10-271-4/+3
| | | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_sync_label), (connect_proxy): Fix label of "All" topic on bookmarksbar.
* Use ellipsising labels to shorten the bookmarks and topics titles inChristian Persch2004-10-274-76/+122
| | | | | | | | | | | | | | | | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_label), (connect_proxy), (bookmark_changed_cb): * src/bookmarks/ephy-bookmarks-menu.c: (connect_proxy_cb), (ensure_bookmark_actions), (ephy_bookmarks_menu_rebuild): * src/bookmarks/ephy-favorites-menu.c: (connect_proxy_cb), (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_sync_label), (append_bookmarks_menu), (build_topics_menu), (connect_proxy), (topic_changed_cb): Use ellipsising labels to shorten the bookmarks and topics titles in menus, instead of chopping the strings off at the end. Fixes bug #147765. Use gtk_entry_set_width_chars() to set the smart bookmark entry width, not gtk_widget_set_size_request().
* Use new gtk+ HIG message dialogue API. Fixes bug #130232.Christian Persch2004-10-271-50/+17
| | | | | | | | | | | | | 2004-10-26 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): * src/ephy-history-window.c: (confirmation_dialog_response_cb), (confirmation_dialog_construct), (cmd_clear): * src/ephy-session.c: (offer_to_resume): * src/ephy-window.c: (confirm_close_with_modified_forms): Use new gtk+ HIG message dialogue API. Fixes bug #130232.
* Unset the use-underline label property instead of doubling theChristian Persch2004-10-252-20/+14
| | | | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (connect_proxy), (bookmark_changed_cb): * src/bookmarks/ephy-topic-action.c: (create_menu_item), (topic_changed_cb): Unset the use-underline label property instead of doubling the underscores. Saves tons of strdups.
* Add EPHY_NODE_CHANGED signal. Patch by Peter Harvey.Christian Persch2004-10-257-281/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (callback), (ephy_node_set_property), (ephy_node_signal_connect_object), (match_signal_data), (ephy_node_signal_disconnect_object): * lib/ephy-node.h: Add EPHY_NODE_CHANGED signal. Patch by Peter Harvey. * src/bookmarks/ephy-bookmark-action.c: (favicon_cache_changed_cb), (ephy_bookmark_action_sync_icon), (ephy_bookmark_action_sync_label), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb), (drag_data_get_cb), (properties_activate_cb), (bookmark_changed_cb), (bookmark_destroy_cb), (ephy_bookmark_action_set_bookmark), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (smart_child_added_cb), (smart_child_removed_cb), (ephy_bookmark_action_init), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (add_action_for_bookmark): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-topic-action.c: (build_menu), (topic_changed_cb), (ephy_topic_action_set_topic), (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_class_init), (ephy_topic_action_init), (ephy_topic_action_new): * src/bookmarks/ephy-topic-action.h: Changed ephy_[bookmark|topic]_action_new from node-id to node. Saves one round-trip node->node-id->node. Save lots of strdups by using the node's properties directly, instead of storing them again in the action. Listen to changes on the node itself, not for child-changed on the bookmarks node.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-2411-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove ephy_string_parse_uri_list, and use new glib functionChristian Persch2004-10-231-8/+10
| | | | | | | | | | | | | | | 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.
* Fix import of bookmarks in root folder. Fixes bug #152443.Christian Persch2004-10-201-1/+1
| | | | | | | | 2004-10-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_xbel): Fix import of bookmarks in root folder. Fixes bug #152443.
* When adding a bookmark, check if it has same node ID as one scheduled forChristian Persch2004-10-081-0/+17
| | | | | | | | | | 2004-10-08 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (bookmark_added_cb): When adding a bookmark, check if it has same node ID as one scheduled for removal, and if so, process the removal immediately. Fixes bug #154805.
* *** empty log message ***Marco Pesenti Gritti2004-10-083-3/+3
|
* Set window icon.Christian Persch2004-10-053-27/+13
| | | | | | | | | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon), (ephy_bookmark_properties_get_node): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct), (duplicate_dialog_construct): * src/ephy-history-window.c: (ephy_history_window_construct): * src/window-commands.c: (window_cmd_edit_toolbar): Set window icon.
* Don't reference private objects from public headers. Fixes bug #153766.Christian Persch2004-09-285-9/+8
| | | | | | | | | | | | | | | | | | 2004-09-27 Christian Persch <chpe@cvs.gnome.org> * lib/egg/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (remove_from_model), (move_in_model): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_property): * src/bookmarks/ephy-topic-action.c: (remove_from_model), (move_in_model): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): Don't reference private objects from public headers. Fixes bug #153766.
* Fix a mem leak.Christian Persch2004-09-231-0/+2
| | | | | | | | 2004-09-22 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (drag_motion_cb): Fix a mem leak.
* Add api to show a context menu. Useful to make distinction between key andMarco Pesenti Gritti2004-09-151-6/+2
| | | | | | | | | | | | | | | | | | 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
* Better positioning of context menus for treeviews. Fix #152431Marco Pesenti Gritti2004-09-151-2/+4
| | | | | | | | | | | 2004-09-13 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-guy.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-history-window.c: Better positioning of context menus for treeviews. Fix #152431
* Add ephy_window_get_ui_manager(), and remove the manager from the publicChristian Persch2004-09-143-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> * data/art/epiphany-entry.png: * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_set_window): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_clean), (ephy_favorites_menu_rebuild): * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window): * src/ephy-tabs-menu.c: (ephy_tabs_menu_set_window), (ephy_tabs_menu_clean), (ephy_tabs_menu_update): * src/ephy-window.c: (add_widget), (sync_chromes_visibility), (ephy_window_key_press_event), (init_menu_updaters), (setup_ui_manager), (show_embed_popup), (ephy_window_init), (ephy_window_finalize), (ephy_window_set_print_preview), (ephy_window_get_ui_manager): * src/ephy-window.h: * src/ppview-toolbar.c: (ppview_toolbar_set_window): * src/toolbar.c: (toolbar_set_window), (toolbar_new): * src/window-commands.c: (window_cmd_edit_toolbar): Add ephy_window_get_ui_manager(), and remove the manager from the public EphyWindow struct.
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-132-5/+10
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* popup_menu signal handler has to return gboolean, not void.Christian Persch2004-08-281-2/+4
| | | | | | | | | 2004-08-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (popup_menu_cb), (ephy_topic_action_new): popup_menu signal handler has to return gboolean, not void.
* popup_menu signal handler has to return gboolean, not void.Christian Persch2004-08-281-2/+5
| | | | | | | | | 2004-08-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (popup_menu_cb), (ephy_bookmark_action_finalize): popup_menu signal handler has to return gboolean, not void.
* Add debug outputChristian Persch2004-08-281-0/+2
|
* Remove the save timeout on dispose.Christian Persch2004-08-281-6/+12
| | | | | | | | | | 2004-08-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize): Remove the save timeout on dispose.
* === Release 1.3.7 ===Release137Christian Persch2004-08-251-2/+2
| | | | | | | | | | | | | | | | 2004-08-25 Christian Persch <chpe@cvs.gnome.org> === Release 1.3.7 === * src/bookmarks/ephy-bookmarks-menu.c: (open_bookmark_cb), (add_action_for_bookmark): Fix crash when opening a bookmark from the menu. Fixes bug #150982. * NEWS: * configure.in: Version 1.3.7.
* Just use the popup_menu signal. Fixes bug #150830.Christian Persch2004-08-231-4/+8
| | | | | | | | | | | | | | 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.
* Change hierarchy separator to "->". Fixes bug #149150.Christian Persch2004-08-231-1/+1
| | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.h: Change hierarchy separator to "->". Fixes bug #149150.
* Make the hierarchy separator a #define.Christian Persch2004-08-236-197/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (folders_list_to_topic_name): * src/bookmarks/ephy-bookmarks.h: Make the hierarchy separator a #define. * src/bookmarks/ephy-bookmarks-menu.c: (remove_action), (ephy_bookmarks_menu_clean), (open_bookmark_cb), (add_action_for_bookmark), (ensure_bookmark_actions), (create_menu), (create_submenu), (ephy_bookmarks_menu_rebuild), (do_update_cb), (ephy_bookmarks_menu_maybe_update), (ephy_bookmarks_menu_set_window), (ephy_bookmarks_menu_set_property), (ephy_bookmarks_menu_get_property), (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_init), (ephy_bookmarks_menu_constructor), (ephy_bookmarks_menu_finalize), (ephy_bookmarks_menu_class_init), (ephy_bookmarks_menu_new): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks.c: (bookmarks_removed_cb), (topics_removed_cb), (ephy_bookmarks_add): Speed up bookmarks menu with large bookmarks collections, partially fixes bug #141269. Fix topic hierarchy and updating on changes, fixes bug #147470, bug 147786, and bug #150246.
* Fix object property naming leftover from EggMenuMerge days, to UI manager.Christian Persch2004-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (find_action), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_class_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_new), (egg_editable_toolbar_new_with_model), (egg_editable_toolbar_get_model): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (find_action), (egg_toolbar_editor_set_ui_manager), (egg_toolbar_editor_set_property), (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init), (egg_toolbar_editor_finalize), (egg_toolbar_editor_new), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window): * src/toolbar.c: (toolbar_new): Fix object property naming leftover from EggMenuMerge days, to UI manager.
* Fix a mem leak.Christian Persch2004-08-091-8/+15
| | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): Fix a mem leak.
* Free list and filter on finalize; fixes bug #149689. Use g_list_prependChristian Persch2004-08-091-12/+30
| | | | | | | | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type), (ephy_topics_selector_apply), (provide_toggle), (ephy_topics_selector_constructor), (topic_destroy_cb), (node_toggled_cb), (ephy_topics_selector_finalize), (ephy_topics_selector_class_init): Free list and filter on finalize; fixes bug #149689. Use g_list_prepend instead of _append. Mark the column title for translation.
* Sort topics in topic selector by name. Fixes #149639.Christian Neumair2004-08-091-0/+2
|
* Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioningChristian Persch2004-08-061-1/+0
| | | | | | | | | | | | | | | | | | | 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.
* Use s/""/NULL/ in g_string_new().Christian Persch2004-08-061-1/+1
| | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_solve_smart_url): Use s/""/NULL/ in g_string_new().
* Fix submenu creation with non-ascii topic names. Fixes bug #147469.Christian Persch2004-07-311-30/+17
| | | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ensure_folder), (create_submenu): Fix submenu creation with non-ascii topic names. Fixes bug #147469.
* Fix signedness difference warnings with gcc 3.5. Patch by Jon Oberheide.Christian Persch2004-07-316-62/+118
| | | | | | | | | | | | | | | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_data_get_cb): * src/bookmarks/ephy-bookmarks-export.c: (write_topics_list), (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_bookmark), (xbel_parse_folder), (xbel_parse_xbel), (parse_rdf_subjects), (parse_rdf_item), (ephy_bookmarks_import_rdf): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save), (ephy_bookmarks_init): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_node): * src/bookmarks/ephy-topic-action.c: (drag_data_get_cb): * src/ephy-session.c: (write_tab), (write_window_geometry), (write_tool_window), (write_ephy_window), (ephy_session_save), (parse_embed), (ephy_session_load): Fix signedness difference warnings with gcc 3.5. Patch by Jon Oberheide.
* Switch parameter order for egg_toolbars_model_set_flags().Christian Persch2004-07-261-1/+1
| | | | | | | | | | | | 2004-07-26 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_set_flags): * lib/egg/egg-toolbars-model.h: * src/bookmarks/ephy-bookmarksbar-model.c: (update_flags_and_save_changes): * src/ephy-toolbars-model.c: (update_flags_and_save_changes): Switch parameter order for egg_toolbars_model_set_flags().
* Do not remove the topic when rename is cancelled.Marco Pesenti Gritti2004-07-232-4/+4
| | | | | | | | | | | | | | | 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-233-315/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Handle the bookmark in the root folder case correctly. Fix #145611Marco Pesenti Gritti2004-07-221-10/+14
| | | | | | | | | | 2004-07-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla): Handle the bookmark in the root folder case correctly. Fix #145611
* Improve sort/priority API.Marco Pesenti Gritti2004-07-151-5/+9
| | | | | | | | | | | | | | | | | | | 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
* Add a Properties item to bookmark context menuMarco Pesenti Gritti2004-07-131-1/+71
| | | | | | | | | | | | 2004-07-12 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (properties_activate_cb), (show_context_menu), (bookmark_destroy_cb), (ephy_bookmark_action_set_bookmark_id), (ephy_bookmark_action_set_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_init): Add a Properties item to bookmark context menu
* When opening bookmarks in a tab from toolbars jump to them.Marco Pesenti Gritti2004-07-111-1/+2
| | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarksbar.c: (bookmark_open_in_tab_cb): When opening bookmarks in a tab from toolbars jump to them.
* Disable sliding when not in toolbar editing mode. We cant assumeMarco Pesenti Gritti2004-07-112-52/+0
| | | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): * src/bookmarks/ephy-bookmark-action.c: (connect_proxy): * src/bookmarks/ephy-topic-action.c: (connect_proxy): Disable sliding when not in toolbar editing mode. We cant assume GDK_ACTION_MOVE there.
* Make sure we stop the drag check also when button is released while theMarco Pesenti Gritti2004-07-111-6/+14
| | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-topic-action.c: (stop_drag_check), (button_release_cb), (button_press_cb): Make sure we stop the drag check also when button is released while the menu grab is still in effect.
* Add api to move items.Marco Pesenti Gritti2004-07-112-18/+150
| | | | | | | | | | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_move_item): * lib/egg/egg-toolbars-model.h: Add api to move items. * src/bookmarks/ephy-bookmark-action.c: (get_item_position), (remove_from_model), (move_in_model), (move_left_activate_cb), (move_right_activate_cb), (show_context_menu): * src/bookmarks/ephy-topic-action.c: (get_item_position), (remove_from_model), (move_in_model), (move_left_activate_cb), (move_right_activate_cb), (show_context_menu): Add Move Left/Move Right context menus.
* Hide the item when dragging it like we do for normal toolbars.Marco Pesenti Gritti2004-07-112-0/+52
| | | | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_begin_cb), (drag_end_cb), (connect_proxy): * src/bookmarks/ephy-topic-action.c: (drag_begin_cb), (drag_end_cb), (connect_proxy): Hide the item when dragging it like we do for normal toolbars.
* Implement topics drag and drop. Totally tricky but it seem to work fine :)Marco Pesenti Gritti2004-07-111-16/+153
| | | | | | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-topic-action.c: (create_tool_item), (menu_deactivate_cb), (remove_from_model), (remove_activate_cb), (drag_data_get_cb), (drag_data_delete_cb), (stop_drag_check), (check_horizontal_threshold), (drag_motion_cb), (button_toggled_cb), (button_release_cb), (button_press_cb), (connect_proxy): Implement topics drag and drop. Totally tricky but it seem to work fine :)
* Fix a mem leak.Christian Persch2004-07-111-0/+2
| | | | | | | | 2004-07-11 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): Fix a mem leak.
* Support also GDK_ACTION_COPY. Fix #145254.Marco Pesenti Gritti2004-07-051-1/+2
| | | | | | | | | | | | | 2004-07-05 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): Support also GDK_ACTION_COPY. Fix #145254. * src/ephy-notebook.c: (notebook_drag_data_received_cb): Use the notebook to access the toplevel, data passed to the signal can be NULL.
* "Open in tabs" insensitive when there are not multiple bookmarks in theMarco Pesenti Gritti2004-07-041-9/+19
| | | | | | | | | | | 2004-07-03 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-topic-action.c: (can_open_in_tabs), (append_bookmarks_menu), (add_open_in_tabs_menu), (build_bookmarks_menu), (show_context_menu): "Open in tabs" insensitive when there are not multiple bookmarks in the topic.
* Use blank document as default faviconMarco Pesenti Gritti2004-07-031-1/+1
| | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_icon): * src/ephy-favicon-action.c: (ephy_favicon_action_sync_icon): Use blank document as default favicon
* Follow popups keybindings.Marco Pesenti Gritti2004-07-022-9/+32
| | | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (show_context_menu), (popup_menu_cb), (button_press_cb), (connect_proxy): * src/bookmarks/ephy-topic-action.c: (show_context_menu), (popup_menu_cb), (button_press_cb), (connect_proxy): Follow popups keybindings.
* Implement bookmark context menu.Marco Pesenti Gritti2004-07-021-3/+68
| | | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (open_in_tab_activate_cb), (open_in_window_activate_cb), (remove_from_model), (drag_data_delete_cb), (remove_activate_cb), (show_context_menu), (button_press_cb): Implement bookmark context menu.
* Implement topic context menu.Marco Pesenti Gritti2004-07-021-6/+78
| | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-topic-action.c: (remove_activate_cb), (add_open_in_tabs_menu), (build_bookmarks_menu), (show_context_menu), (button_press_cb), (connect_proxy): Implement topic context menu.
* Move in the bookmarks dir.Marco Pesenti Gritti2004-07-029-59/+449
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-favorites-menu.h: Move in the bookmarks dir. * lib/ephy-gui.c: (ephy_gui_select_row_by_key), (ephy_gui_is_middle_click): * lib/ephy-gui.h: Add a function to check if menus was activated by a middle or a ctrl+click (which is equivalent in epiphany) * lib/ephy-marshal.list: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (activate_cb), (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (open_bookmark_cb), (create_menu): * src/bookmarks/ephy-bookmarksbar.c: (bookmark_open_in_tab_cb), (bookmark_open_cb), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-topic-action.c: (menu_activate_cb), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: Add signals to open bookmarks in new window/tab. I'll need them for context menus. Use them for middle/ctrl click.
* Do not show the icon for smartbookmarksMarco Pesenti Gritti2004-07-011-1/+4
| | | | | | | | | 2004-07-01 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_smart_url): Do not show the icon for smartbookmarks
* No need to show the default icon for bookmarks menu.Marco Pesenti Gritti2004-07-011-8/+11
| | | | | | | | | 2004-07-01 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_icon): No need to show the default icon for bookmarks menu.
* Allow to drag bookmarks around also when not in edit mode. Use the defaultMarco Pesenti Gritti2004-07-011-16/+111
| | | | | | | | | | | | | | | 2004-07-01 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (favicon_cache_changed_cb), (ephy_bookmark_action_sync_icon), (stop_drag_check), (drag_data_get_cb), (drag_data_delete_cb), (drag_motion_cb), (button_press_cb), (button_release_cb), (connect_proxy), (ephy_bookmark_action_init): Allow to drag bookmarks around also when not in edit mode. Use the default bookmark icon when there is not a specific one, it acts as a separator. Put some space between the icon and the text.
* Use a new window for "Open in Tabs"Marco Pesenti Gritti2004-07-012-13/+25
| | | | | | | | | | 2004-06-30 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarksbar.c: (open_in_tabs_cb): * src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu), (open_in_tabs_activate_cb), (build_bookmarks_menu): Use a new window for "Open in Tabs"
* Preserve hierarchy in the xbel importer too. Use mime sniffing toMarco Pesenti Gritti2004-06-261-51/+37
| | | | | | | | | | 2004-06-26 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import), (xbel_parse_folder), (xbel_parse_xbel): Preserve hierarchy in the xbel importer too. Use mime sniffing to determine the file mime type.
* Use guint consistently for node idsMarco Pesenti Gritti2004-06-247-14/+14
| | | | | | | | | | | | | | | | | | | | | | 2004-06-24 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_get_id), (child_changed), (write_parent): * lib/ephy-node.h: * src/bookmarks/ephy-bookmark-action.c: (bookmarks_child_changed_cb): * src/bookmarks/ephy-bookmark-properties.c: (toolbar_checkbox_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_bookmarks_bar), (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks-menu.c: (create_menu), (topic_child_changed_cb): * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_set_topic_id), (topic_child_changed_cb): Use guint consistently for node ids
* Implement open in tabs from toolbar topicsMarco Pesenti Gritti2004-06-243-23/+104
| | | | | | | | | | | | | | | | 2004-06-24 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarksbar.c: (open_in_tabs_cb), (go_location_cb), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu), (open_in_tabs_activate_cb), (build_bookmarks_menu), (build_topics_menu), (build_menu), (ephy_topic_action_set_topic_id), (ephy_topic_action_set_property), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: * src/ephy-window.c: (ephy_window_load_in_tabs): Implement open in tabs from toolbar topics
* Use g_signal_connect_after to connect to the toolbar_added signal,Christian Persch2004-06-241-2/+2
| | | | | | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window): * src/toolbar.c: (toolbar_realize): Use g_signal_connect_after to connect to the toolbar_added signal, otherwise the toolbar isn't created yet and we crash when trying to set the drag dests on a newly added toolbar.
* "/" in a topic title is now a submenu in the bookmarks menu.Marco Pesenti Gritti2004-06-232-37/+84
| | | | | | | | | | | | 2004-06-23 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (folders_list_to_topic_name): * src/bookmarks/ephy-bookmarks-menu.c: (create_menu), (ensure_folder), (create_submenu), (ephy_bookmarks_menu_rebuild): "/" in a topic title is now a submenu in the bookmarks menu.
* Keep the whole hierarchy of folders in the topic name, separated by |.Marco Pesenti Gritti2004-06-221-22/+39
| | | | | | | | | | 2004-06-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (folders_list_to_topic_name), (ephy_bookmarks_import_mozilla): Keep the whole hierarchy of folders in the topic name, separated by |. Mozilla importer only for now.
* Drop some unused code.Marco Pesenti Gritti2004-06-221-28/+11
| | | | | | | | | | 2004-06-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (bookmark_add), (xbel_parse_bookmark), (ephy_bookmarks_import_mozilla), (parse_rdf_item): Drop some unused code.
* Factor out the helper to select a treeview row by column and use it alsoMarco Pesenti Gritti2004-06-223-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add a New topic button to the new bookmark dialog.Marco Pesenti Gritti2004-06-223-0/+90
| | | | | | | | | | | | | 2004-06-21 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-new-bookmark.c: (response_cb), (ephy_new_bookmark_construct): * src/bookmarks/ephy-topics-selector.c: (renderer_edited_cb), (renderer_editing_canceled_cb), (ephy_topics_build_ui), (ephy_topics_selector_new), (ephy_topics_selector_new_topic): * src/bookmarks/ephy-topics-selector.h: Add a New topic button to the new bookmark dialog.
* Allow importing from Epiphany bookmarks format (RDF), fixes bug #144699.Christian Persch2004-06-211-0/+4
| | | | | | | | | 2004-06-21 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): Allow importing from Epiphany bookmarks format (RDF), fixes bug #144699.
* Go back to construction the toolbar when the model is set, fixes bugChristian Persch2004-06-161-28/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-16 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_disconnect_model), (egg_editable_toolbar_deconstruct), (egg_editable_toolbar_set_model), (egg_editable_toolbar_class_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_new), (egg_editable_toolbar_new_with_model), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_flags), (parse_toolbars): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window), (ephy_bookmarksbar_class_init): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_init): * src/toolbar.c: (toolbar_style_changed_cb), (parent_set_cb), (toolbar_init), (toolbar_finalize), (toolbar_new): Go back to construction the toolbar when the model is set, fixes bug #144191. 2004-06-15 Marco Pesenti Gritti <marco@gnome.org>
* Use g_markup_print_escaed().Christian Persch2004-06-151-4/+2
| | | | | | | | 2004-06-14 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): Use g_markup_print_escaed().
* Escape strings before using them with markup in labels.Christian Persch2004-06-152-6/+5
| | | | | | | | | 2004-06-14 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): * src/bookmarks/ephy-topic-action.c: (build_topics_menu): Escape strings before using them with markup in labels.
* Save the toolbars models from dispose, not from finalize, since you cannotChristian Persch2004-06-122-9/+18
| | | | | | | | | | | | | | | | 2004-06-11 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_finalize): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize), (ephy_bookmarksbar_model_class_init): * src/ephy-toolbars-model.c: (ephy_toolbars_model_dispose), (ephy_toolbars_model_finalize), (ephy_toolbars_model_class_init): Save the toolbars models from dispose, not from finalize, since you cannot emit signals from the latter (the get_item_* signals are emitted while saving).
* Merging bookmarksbar-separation branch.Christian Persch2004-06-118-202/+288
| | | | | | 2004-06-10 Christian Persch <chpe@cvs.gnome.org> Merging bookmarksbar-separation branch.
* 2004-06-09 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-06-101-20/+34
| | | | | | | | | | | | | | | | | | | | | * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source), (create_item_from_action), (create_item), (drag_data_received_cb), (egg_editable_toolbar_set_edit_mode): * lib/egg/egg-toolbar-editor.c: (model_has_action): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (toolbars_item_new), (free_item_node), (egg_toolbars_model_add_separator), (impl_add_item), (parse_item_list), (egg_toolbars_model_load), (impl_get_item_name), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_item_nth), (egg_toolbars_model_get_item_id), (egg_toolbars_model_get_item_name): * lib/egg/egg-toolbars-model.h: * src/bookmarks/ephy-bookmarksbar-model.c: (get_toolbar_and_item_pos), (item_added_cb), (impl_get_item_name), (ephy_bookmarksbar_model_class_init): * src/toolbar.c: (toolbar_get_type), (toolbar_added_cb), (ephy_toolbar_realize), (ephy_toolbar_unrealize), (toolbar_class_init):
* Separation of bookmarks and normal toolbars.Christian Persch2004-06-094-0/+1123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-08 Christian Persch <chpe@cvs.gnome.org> Separation of bookmarks and normal toolbars. * lib/egg/egg-editable-toolbar.c: (find_action), (create_item), (egg_editable_toolbar_construct), (egg_editable_toolbar_realize), (egg_editable_toolbar_unrealize), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_merge), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_class_init), (egg_editable_toolbar_init), (egg_editable_toolbar_set_edit_mode): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_load), (egg_toolbars_model_init): Only construct the toolbar on realize. When setting a different model, unrealize the toolbar. Connect to model only while realized, fixes crashes when setting flags on the toolbars model. * data/ui/epiphany-bookmarksbar.xml: * data/ui/epiphany-fs-toolbar.xml: * data/ui/epiphany-toolbar.xml: Separated. Fix root name to be "toolbars" which is the name we save the model with. * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_type), (get_toolbar_and_item_pos), (get_toolbar_pos), (ephy_bookmarksbar_model_get_action_name), (ephy_bookmarksbar_model_get_node), (ephy_bookmarksbar_model_add_bookmark), (ephy_bookmarksbar_model_remove_bookmark), (ephy_bookmarksbar_model_has_bookmark), (save_changes_idle), (save_changes), (update_flags_and_save_changes), (bookmark_destroy_cb), (item_added_cb), (impl_add_item), (impl_get_item_id), (impl_get_item_type), (load_toolbars), (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_finalize), (ephy_bookmarksbar_model_set_property), (ephy_bookmarksbar_model_get_property), (ephy_bookmarksbar_model_class_init), (ephy_bookmarksbar_model_new): * src/bookmarks/ephy-bookmarksbar-model.h: * src/ephy-toolbars-model.c: (save_changes_idle), (save_changes), (update_flags_and_save_changes), (get_toolbar_pos), (load_toolbars), (ephy_toolbars_model_init), (ephy_toolbars_model_finalize), (ephy_toolbars_model_class_init), (ephy_toolbars_model_new): * src/ephy-toolbars-model.h: Split toolbars model in bookmarks and non-bookmarks parts. * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type), (go_location_cb), (bookmark_destroy_cb), (ephy_bookmarksbar_action_request), (toolbar_added_cb), (ephy_bookmarksbar_set_window), (ephy_bookmarksbar_realize), (ephy_bookmarksbar_unrealize), (ephy_bookmarksbar_init), (ephy_bookmarksbar_finalize), (ephy_bookmarksbar_set_property), (ephy_bookmarksbar_get_property), (ephy_bookmarksbar_class_init), (ephy_bookmarksbar_new): * src/bookmarks/ephy-bookmarksbar.h: * src/toolbar.c: (go_location_cb), (toolbar_set_property), (toolbar_get_property), (toolbar_class_init), (toolbar_set_window), (toolbar_init), (toolbar_new), (toolbar_set_location), (toolbar_update_navigation_actions): * src/toolbar.h: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (action_request_forward_cb), (ephy_window_init), (ephy_window_get_toolbar), (ephy_window_get_bookmarksbar): * src/ephy-window.h: * src/window-commands.c: (window_cmd_view_fullscreen), (toolbar_editor_destroy_cb), (toolbar_editor_response_cb), (window_cmd_edit_toolbar): Split toolbars in bookmarks and non-bookmarks toolbars. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults), (ephy_bookmarks_get_toolbars_model), (ephy_bookmarks_set_property), (ephy_bookmarks_get_property), (ephy_bookmarks_class_init), (ephy_bookmarks_finalize): * src/bookmarks/ephy-bookmarks.h: * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-shell.h: Made bookmarksbar toolbars model a service of EphyBookmarks. * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_property), (toolbar_checkbox_changed_cb), (build_ui), (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_bookmarks_bar), (ephy_bookmarks_editor_update_menu), (toolbar_items_changed_cb), (ephy_bookmarks_editor_init): Adapt to changes above. * data/ui/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Makefile changes.
* Open bookmark in new tab on middle-click. Fixes bug #106250.Christian Persch2004-05-201-5/+35
| | | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (activate_cb), (button_press_cb), (button_release_cb), (connect_proxy), (ephy_bookmark_action_class_init): * src/toolbar.c: (go_location_cb): Open bookmark in new tab on middle-click. Fixes bug #106250.
* Fix capitalisation.Christian Persch2004-05-191-1/+1
| | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): Fix capitalisation.
* Add convenience functions for creating a filter with a bunch of mime typesChristian Persch2004-05-091-2/+23
| | | | | | | | | | | | | | | | | | | | | | 2004-05-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_add_pattern_filter), (ephy_file_chooser_add_mime_filter), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: Add convenience functions for creating a filter with a bunch of mime types or patterns and add it to a file chooser. Those should really be in gtk+; see bug #142142. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): * src/window-commands.c: (window_cmd_file_open): Add some filters to the file chooser dialogues.
* Document UTF-8 requirement.Christian Persch2004-04-221-1/+1
| | | | | | | | | | | | | | | 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.
* 2004-04-09 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-04-141-7/+16
| | | | | | | | | | | | 2004-04-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu), (ephy_bookmarks_menu_rebuild): * src/ephy-encoding-menu.c: (add_action): * src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/ephy-tabs-menu.c: (tab_added_cb): 2004-04-09 Christian Persch <chpe@cvs.gnome.org>
* Change initial refcound of EphyNode to 1, not 0Adam Hooper2004-04-101-5/+0
|
* Fixes #138263.Federico Mena Quintero2004-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Federico Mena Quintero <federico@ximian.com> Fixes #138263. * lib/ephy-file-chooser.h: Remove EPHY_RESPONSE_OPEN and EPHY_RESPONSE_SAVE; we'll use GTK_RESPONSE_ACCEPT instead. * lib/ephy-file-chooser.c (ephy_file_chooser_new): Use GTK_RESPONSE_ACCEPT rather than EPHY_RESPONSE_*. * embed/print-dialog.c (print_filechooser_response_cb): Likewise. * src/bookmarks/ephy-bookmarks-editor.c (import_from_file_response_cb): Likewise. * src/prefs-dialog.c (download_path_response_cb): Likewise. * src/window-commands.c (open_response_cb): Likewise. * embed/mozilla/ContentHandler.cpp (PromptForSaveToFile): Likewise. * embed/mozilla/EphyHeaderSniffer.cpp (filechooser_response_cb): Likewise. * embed/mozilla/FilePicker.cpp (Init): Likewise. (Show): Likewise.
* Fix opening in new tabs when there is no existing window. Fixes bugChristian Persch2004-03-291-2/+13
| | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_open_bookmarks_in_tabs): Fix opening in new tabs when there is no existing window. Fixes bug #138343.
* Use verb for action button and various minor tidy ups.Piers Cornwell2004-03-281-11/+17
| | | | | | | | 2004-03-27 Piers Cornwell <piers@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): Use verb for action button and various minor tidy ups.
* the xbel mime type is now application/x-xbelMarco Pesenti Gritti2004-03-221-1/+1
| | | | | | | | 2004-03-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): the xbel mime type is now application/x-xbel
* Don't try to unref NULL icon. Fixes bug #137715.Christian Persch2004-03-201-2/+5
| | | | | | | | 2004-03-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon): Don't try to unref NULL icon. Fixes bug #137715.