aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make distcheck fix.Christian Persch2004-12-145-39/+28
| | | | | | | | | | | | | | | | | | | | | | | | 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-074-25/+210
| | | | | | | | | | | | | | | | | 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.
* Deactivate the context menu on window close. Fixes bug #156812.Christian Persch2004-12-041-0/+5
| | | | | | | | 2004-12-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_destroy): Deactivate the context menu on window close. Fixes bug #156812.
* Don't offer to resume if there are open windows. Fixes bug #160345.Christian Persch2004-12-031-1/+1
| | | | | | | | | 2004-12-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (ephy_session_autoresume): Don't offer to resume if there are open windows. Fixes bug #160345.
* Use stock icon for "Open In New Tab".Christian Persch2004-12-031-1/+1
| | | | | | | | 2004-12-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-history-window.c: Use stock icon for "Open In New Tab".
* 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-022-10/+42
| | | | | | | | | | | | | | | | | | | | 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.
* If the gconf key doesn't exist, or has the wrong value type, set it toChristian Persch2004-12-021-2/+25
| | | | | | | | | | 2004-12-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (sync_loaded_extensions): If the gconf key doesn't exist, or has the wrong value type, set it to ["extensions-manager-ui"] to ensure the extensions manager UI is loaded if it's installed.
* Add deprecated defines to AM_CPPFLAGS in maintainer-mode.Christian Persch2004-12-013-41/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix "Open Frame" menu item name. Fixes bug #153816.Christian Persch2004-11-301-2/+2
| | | | | | | | 2004-11-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Fix "Open Frame" menu item name. Fixes bug #153816.
* 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.
* Revert the earlier patch: don't emit tabs-reordered when the tab-addedChristian Persch2004-11-281-12/+2
| | | | | | | | | | 2004-11-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_add_tab): Revert the earlier patch: don't emit tabs-reordered when the tab-added signal handler reordered the tab, since ephy_notebook_move_tab does it already.
* Add translator commentsChristian Persch2004-11-281-0/+9
|
* Better translator's commentChristian Persch2004-11-281-0/+16
|
* Don't move the window, just show it. Fixes bug #158923.Christian Persch2004-11-261-1/+1
| | | | | | | | 2004-11-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_new_tab): Don't move the window, just show it. Fixes bug #158923.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-11-263-57/+13
| | | | | | | | | | | | | | | | | | 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 compile in the !HAVE_ISO_CODES case.Christian Persch2004-11-251-1/+1
| | | | | | | | 2004-11-25 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (create_language_section): Fix compile in the !HAVE_ISO_CODES case.
* Check for iso-codes package.Christian Persch2004-11-251-8/+310
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-25 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for iso-codes package. * data/glade/prefs-dialog.glade: * lib/ephy-langs.c: (ephy_langs_bind_iso_domains), (read_iso_639_entry), (read_iso_3166_entry), (load_iso_entries), (ephy_langs_iso_639_table), (ephy_langs_iso_3166_table): * lib/ephy-langs.h: Load language and locales list from iso-codes package, if available. * src/prefs-dialog.c: (prefs_dialog_finalize), (add_lang_dialog_selection_changed), (add_lang_dialog_response_cb), (get_name_for_lang_code), (add_system_language_entry), (setup_add_language_dialog), (create_language_section): If the iso-codes package is available, use that to translate language names and offer a wider variety of languages. Fixes bug #155498.
* Fix ngettext usage.Christian Persch2004-11-221-2/+2
| | | | | | | | 2004-11-22 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (add_system_language_entry): Fix ngettext usage.
* Fix generic 'site' hostname fallback. Fixes bug #155442.Christian Persch2004-11-211-45/+30
| | | | | | | | 2004-11-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (update_net_state_message): Fix generic 'site' hostname fallback. Fixes bug #155442.
* If the signal handler for tab-added reordered the tabs, emit theChristian Persch2004-11-211-4/+14
| | | | | | | | | 2004-11-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_add_tab): If the signal handler for tab-added reordered the tabs, emit the tabs-reordered signal.
* Add defines and #ifdef to enable validation; disabled for now.Christian Persch2004-11-181-2/+16
| | | | | | | | | | | 2004-11-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (ephy_extensions_manager_load_string), (ephy_extensions_manager_startup), (ephy_extensions_manager_finalize): Add defines and #ifdef to enable validation; disabled for now.
* Remove unused variable.Christian Persch2004-11-141-3/+1
| | | | | | | | 2004-11-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (build_tab_label): Remove unused variable.
* Don't save session_crashed.xml while shutting down.Christian Persch2004-11-141-4/+6
| | | | | | | | | 2004-11-13 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (ephy_session_autoresume), (ephy_session_close), (ephy_session_save): Don't save session_crashed.xml while shutting down.
* Size-allocate the embed if it's not mapped but has never beenChristian Persch2004-11-131-3/+12
| | | | | | | | | 2004-11-12 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_size_allocate), (ephy_tab_map): Size-allocate the embed if it's not mapped but has never been size-allocated before. Fixes bug #156854.
* Add shortcut to Send To menuitem, as per HIG. Fixes bug #148655.Christian Persch2004-11-121-1/+1
| | | | | | | | 2004-11-12 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Add shortcut to Send To menuitem, as per HIG. Fixes bug #148655.
* Don't hardcode "epiphany" as argv[0], use g_get_prgname() instead. FixesChristian Persch2004-11-121-1/+6
| | | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (save_yourself_cb): Don't hardcode "epiphany" as argv[0], use g_get_prgname() instead. Fixes bug #118427.
* Keep a ref on EphyShell in ephy_session_close(). Otherwise we get a crashChristian Persch2004-11-121-0/+7
| | | | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (ephy_session_close): Keep a ref on EphyShell in ephy_session_close(). Otherwise we get a crash when the session manager sends us the "die" signal, and we don't have a tool window (bme, history) open.
* 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.
* Implement history deletion on per-site basis. Fixes bug #116609.Christian Persch2004-11-111-0/+24
| | | | | | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (remove_pages_from_host_cb), (connect_page_removed_from_host), (ephy_history_get_host): * src/ephy-history-window.c: (cmd_delete), (ephy_history_window_construct): * src/ephy-window.c: (ephy_window_fullscreen): Implement history deletion on per-site basis. Fixes bug #116609.
* Change column order for the languages list in the code.Christian Persch2004-11-111-57/+57
| | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: Change column order for the languages list in the code.
* Don't unref, then weak ref, then enter main loop; this won't work whenChristian Persch2004-11-111-2/+8
| | | | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (idle_unref), (main): Don't unref, then weak ref, then enter main loop; this won't work when refcount was 1. Instead weakref and unref on idle. Fixes bug #136170.
* make len a gsize rather than an int to fix compilation on 64-bit systems.James Henstridge2004-11-111-1/+1
| | | | | | | 2004-11-11 James Henstridge <james@jamesh.id.au> * src/ephy-extensions-manager.c (load_file_from_monitor): make len a gsize rather than an int to fix compilation on 64-bit systems.
* 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
* Add resize grip. Fixes bug #137845.Christian Persch2004-11-111-2/+1
| | | | | | | | 2004-11-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (ephy_statusbar_init): Add resize grip. Fixes bug #137845.
* 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.
* Removed a FIXME comment where the problem it pointed to has already been fixed.Christian Persch2004-11-091-1/+0
|
* Simplified the code a bit.Christian Persch2004-11-091-15/+14
| | | | | | | | 2004-11-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-history-window.c: (add_by_date_filter): Simplified the code a bit.
* Make it also correct on DST changes.Christian Persch2004-11-091-10/+18
| | | | | | | | 2004-11-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-history-window.c: (add_by_date_filter): Make it also correct on DST changes.
* Fix time filter for time zones != GMT, and add "Last 30 Minutes" filter.Christian Persch2004-11-091-12/+38
| | | | | | | | | 2004-11-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-history-window.c: (add_by_date_filter), (build_search_box), (save_date_filter): Fix time filter for time zones != GMT, and add "Last 30 Minutes" filter.
* 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.
* Order this in the source code by lang code, not english lang name.Christian Persch2004-11-081-20/+20
| | | | | | | | 2004-11-08 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: Order this in the source code by lang code, not english lang name.
* Fix button sensitivity setting in language editor not to first disable theChristian Persch2004-11-081-9/+10
| | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (language_editor_update_buttons): Fix button sensitivity setting in language editor not to first disable the buttons. Fixes moving an item more than once at a time.
* A idl/.cvsignore: A idl/Makefile.am:Christian Persch2004-11-081-2/+0
| | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: * configure.ac: A idl/.cvsignore: A idl/Makefile.am: * src/Makefile.am: Add idl/Makefile.am and move src/Makefile.am's EXTRA_DIST there.
* Sanitise the embed popup position. Fixes bug #157162.Christian Persch2004-11-081-2/+10
| | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_sanitise_popup_position), (ephy_gui_menu_position_tree_selection), (ephy_gui_menu_position_under_widget): * lib/ephy-gui.h: * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup): Sanitise the embed popup position. Fixes bug #157162.
* Better wording for the crash recovery dialogue. Thanks to Spark for this.Christian Persch2004-11-081-2/+3
| | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (offer_to_resume): Better wording for the crash recovery dialogue. Thanks to Spark for this.
* Don't detach the tab when releasing the mouse button while still over theChristian Persch2004-11-081-30/+14
| | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (find_notebook_at_pointer), (is_in_notebook_window): Don't detach the tab when releasing the mouse button while still over the same window. Fixes bug #143954.
* When popping up the context menu with keyboard, select the first menuChristian Persch2004-11-083-14/+63
| | | | | | | | | | | | | | 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.
* Show language code in the string in languages editor. Fixes bug #115355.Christian Persch2004-11-071-13/+43
| | | | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-langs.c: (ephy_font_n_languages), (ephy_langs_sanitise), (ephy_langs_append_languages), (ephy_langs_get_languages): * lib/ephy-langs.h: * src/prefs-dialog.c: (add_system_language_entry), (setup_add_language_dialog), (create_language_section): Show language code in the string in languages editor. Fixes bug #115355.
* Make static.Christian Persch2004-11-071-7/+1
| | | | | | | | 2004-11-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_show): Make static.
* Also bring the window to the front.Christian Persch2004-11-041-0/+5
| | | | | | | | 2004-11-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (modal_alert_cb): Also bring the window to the front.
* Free XML data after parsing it. Noticed by jfr. I'm an idiot.Adam Hooper2004-11-031-1/+7
|
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-0339-78/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-command-manager.c: * embed/ephy-cookie-manager.c: * embed/ephy-download.c: * embed/ephy-embed-dialog.c: * embed/ephy-embed-event.c: * embed/ephy-embed-factory.c: * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: * embed/ephy-embed.c: * embed/ephy-encodings.c: * embed/ephy-favicon-cache.c: * embed/ephy-history.c: * embed/ephy-password-manager.c: * embed/ephy-permission-manager.c: * embed/find-dialog.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbars-model.c: * lib/ephy-debug.c: * lib/ephy-debug.h: * lib/ephy-dialog.c: * lib/ephy-dnd.c: * lib/ephy-file-chooser.c: * lib/ephy-file-helpers.c: * lib/ephy-glade.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-loader.c: * lib/ephy-module.c: * lib/ephy-node-db.c: * lib/ephy-node-filter.c: * lib/ephy-node.c: * lib/ephy-shlib-loader.c: * lib/ephy-state.c: * lib/ephy-stock-icons.c: * lib/ephy-string.c: * lib/ephy-zoom.c: * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-export.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/bookmarks/ephy-topics-selector.c: * src/ephy-automation.c: * src/ephy-completion-model.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-extension.c: * src/ephy-extensions-manager.c: * src/ephy-favicon-action.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-location-action.c: * src/ephy-main.c: * src/ephy-navigation-action.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-shell.c: * src/ephy-statusbar.c: * src/ephy-tab.c: * src/ephy-tabs-menu.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/toolbar.c: * src/window-commands.c: We always have config.h, no need to guard its inclusion.
* Don't deactivate the toolbar when another item in the same toolbar gainsChristian Persch2004-11-014-25/+94
| | | | | | | | | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init), (ephy_location_entry_activate): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-window.c: (ephy_window_init): * src/toolbar.c: (toolbar_class_init), (toolbar_finalize), (maybe_finish_activation_cb), (toolbar_activate_location), (toolbar_update_zoom), (toolbar_new): * src/toolbar.h: Don't deactivate the toolbar when another item in the same toolbar gains focus. Fixes bug #155650.
* 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.
* Disable extensions description validation for now.Christian Persch2004-11-011-2/+2
| | | | | | | | | 2004-10-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (ephy_extensions_manager_load_string): Disable extensions description validation for now.
* Process xml:lang in extension description files.Christian Persch2004-10-311-4/+51
| | | | | | | | | | 2004-10-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (assign_localised_string), (ephy_extensions_manager_load_string), (ephy_extensions_manager_class_init): Process xml:lang in extension description files.
* Fix restoring window size on crash recovery by moving the setting of theChristian Persch2004-10-311-23/+56
| | | | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-state.c: (ephy_state_window_set_size): * src/ephy-session.c: (write_window_geometry), (int_from_string), (restore_geometry), (ephy_session_load): Fix restoring window size on crash recovery by moving the setting of the size before the initial show which occurs from ephy_shell_new_tab from parse_embed. Fixes bug #156881.
* When showing a modal alert put up by a web page, switch the window to thatChristian Persch2004-10-311-0/+37
| | | | | | | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * src/ephy-window.c: (modal_alert_cb), (tab_added_cb), (tab_removed_cb): When showing a modal alert put up by a web page, switch the window to that tab.
* Move idle unreffing to extensions manager. Makes sure that extensions areChristian Persch2004-10-301-1/+16
| | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-shlib-loader.c: (impl_release_object): * src/ephy-extensions-manager.c: (idle_unref), (unload_extension): Move idle unreffing to extensions manager. Makes sure that extensions are finalised.
* Listen for changes to extension directories usingAdam Hooper2004-10-302-59/+256
| | | | | | gnome_vfs_monitor_add(). Paves the way for drag-and-drop installation of extensions, and makes extensions immediately available when installing via 'make install', 'apt-get install', etc.
* Slightly refactor bookmarks menu, to take a configurable path where toChristian Persch2004-10-303-41/+96
| | | | | | | | | | | | | | | | | 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.
* Correctly change the statusbar children's frams's shadow type when theChristian Persch2004-10-281-3/+2
| | | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (sync_shadow_type), (ephy_statusbar_init): Correctly change the statusbar children's frams's shadow type when the statusbar shadow type changes.
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-2818-74/+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().
* Revert last change, it's a warning after all.Christian Persch2004-10-271-1/+1
| | | | | | | | 2004-10-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (offer_to_resume): Revert last change, it's a warning after all.
* Make the confirm-close-with-form-data dialogue window modal, instead ofChristian Persch2004-10-271-0/+11
| | | | | | | | | 2004-10-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (confirm_close_with_modified_forms): Make the confirm-close-with-form-data dialogue window modal, instead of app modal.
* Make the crash revovery dialogue GTK_MESSAGE_QUESTION instead of _WARNING.Christian Persch2004-10-271-1/+1
| | | | | | | | | 2004-10-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (offer_to_resume): Make the crash revovery dialogue GTK_MESSAGE_QUESTION instead of _WARNING.
* Use new gtk+ HIG message dialogue API. Fixes bug #130232.Christian Persch2004-10-274-229/+87
| | | | | | | | | | | | | 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.
* Use named icon for the logo in about dialogue.Christian Persch2004-10-261-18/+2
| | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Use named icon for the logo in about dialogue.
* De-couple instantiation and initialisation of the extensions manager.Christian Persch2004-10-263-2/+14
| | | | | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (ephy_extensions_manager_init), (ephy_extensions_manager_startup): * src/ephy-extensions-manager.h: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): De-couple instantiation and initialisation of the extensions manager. Fixes double-instance and weirdness and double-type-registration on startup when extensions use the session in their instance_init.
* Move window destruction after tab-removed signal emission. Fixes bugChristian Persch2004-10-252-13/+7
| | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_remove_tab): * src/ephy-window.c: (ephy_window_get_active_tab): Move window destruction after tab-removed signal emission. Fixes bug #151607.
* Fix return type of tab_delete slot.Christian Persch2004-10-251-9/+9
| | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.h: Fix return type of tab_delete slot.
* 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.
* Use gtk_icon_size_lookup_for_settings() here.Christian Persch2004-10-252-2/+4
| | | | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_images), (ephy_spinner_size_request): * src/ephy-notebook.c: (tab_label_style_set_cb): * src/window-commands.c: (window_cmd_help_about): Use gtk_icon_size_lookup_for_settings() here.
* 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.
* Chain up to parent's dispose handler.Christian Persch2004-10-241-0/+2
| | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (mozilla_embed_single_dispose): * lib/ephy-dialog.c: (ephy_dialog_dispose): * src/ephy-session.c: (ephy_session_dispose): Chain up to parent's dispose handler.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-2433-90/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_get_type): * embed/ephy-command-manager.c: (ephy_command_manager_get_type): * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_manager_get_type): * embed/ephy-download.c: (ephy_download_get_type): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_type): * embed/ephy-embed-event.c: (ephy_embed_event_get_type): * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type): * embed/ephy-embed-single.c: (ephy_embed_single_get_type): * embed/ephy-embed.c: (ephy_embed_get_type): * embed/ephy-encodings.c: (ephy_encodings_get_type): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type): * embed/ephy-history.c: (ephy_history_get_type): * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_manager_get_type): * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_manager_get_type): * embed/find-dialog.c: (find_dialog_get_type): * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_type): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_get_type): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type): * lib/ephy-dialog.c: (ephy_dialog_get_type): * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type): * lib/ephy-loader.c: (ephy_loader_get_type): * lib/ephy-module.c: (ephy_module_get_type): * lib/ephy-node-db.c: (ephy_node_db_get_type): * lib/ephy-node-filter.c: (ephy_node_filter_get_type): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * lib/widgets/ephy-node-view.c: (ephy_node_view_get_type): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_get_type): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_type): * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_get_type): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_type): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_get_type): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_type): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_get_type): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type): * src/ephy-completion-model.c: (ephy_completion_model_get_type): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): * src/ephy-extension.c: (ephy_extension_get_type): * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type): * src/ephy-favicon-action.c: (ephy_favicon_action_get_type): * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-history-window.c: (ephy_history_window_get_type): * src/ephy-location-action.c: (ephy_location_action_get_type): * src/ephy-navigation-action.c: (ephy_navigation_action_get_type): * src/ephy-notebook.c: (ephy_notebook_get_type): * src/ephy-session.c: (ephy_session_get_type): * src/ephy-shell.c: (ephy_shell_get_type): * src/ephy-statusbar.c: (ephy_statusbar_get_type): * src/ephy-tab.c: (ephy_tab_get_type): * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type): * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type): * src/ephy-window.c: (ephy_window_get_type): * src/pdm-dialog.c: (pdm_dialog_get_type): * src/ppview-toolbar.c: (ppview_toolbar_get_type): * src/prefs-dialog.c: (prefs_dialog_get_type): * src/toolbar.c: (toolbar_get_type): Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like the G_TYPE_DEFINE macros do.
* Use gtk_selection_data_get_uris().Christian Persch2004-10-231-1/+1
| | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (drag_data_received_cb): * src/ephy-notebook.c: (notebook_drag_data_received_cb): Use gtk_selection_data_get_uris().
* Only multiplex [attach|detach]_window to extensions implementing theChristian Persch2004-10-231-5/+14
| | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (load_extension), (unload_extension): Only multiplex [attach|detach]_window to extensions implementing the EphyExtension interface.
* Remove ephy_string_parse_uri_list, and use new glib functionChristian Persch2004-10-234-39/+39
| | | | | | | | | | | | | | | 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.
* Indentation fixesChristian Persch2004-10-232-49/+49
|
* Add tooltip on close button. Thanks to spark for the string review; fixesChristian Persch2004-10-221-0/+3
| | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (build_tab_label): Add tooltip on close button. Thanks to spark for the string review; fixes bug #155828.
* Add tooltip on the drag handle. Fixes bug #155827.Christian Persch2004-10-222-11/+34
| | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-favicon-action.c: (create_tool_item), (set_tooltip_cb), (connect_proxy), (ephy_favicon_action_set_property), (ephy_favicon_action_get_property): * src/toolbar.c: (toolbar_setup_actions): Add tooltip on the drag handle. Fixes bug #155827.
* Add tooltips on the arrows, and fix the tooltip on the "Up" button to beChristian Persch2004-10-223-11/+57
| | | | | | | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-navigation-action.c: (set_tooltip_cb), (connect_proxy), (ephy_navigation_action_finalize), (ephy_navigation_action_set_property), (ephy_navigation_action_get_property), (ephy_navigation_action_class_init): * src/ephy-navigation-action.h: * src/toolbar.c: (toolbar_setup_actions): Add tooltips on the arrows, and fix the tooltip on the "Up" button to be consistent with nautilus. Thanks to spark for the string review; fixes bug #155825.
* Remove bogus debug output.Christian Persch2004-10-221-3/+0
| | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (ephy_extensions_manager_register): Remove bogus debug output.
* Add varargs version of ephy_dialog_get_control to get more than oneChristian Persch2004-10-222-37/+45
| | | | | | | | | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_get_controls): * lib/ephy-dialog.h: Add varargs version of ephy_dialog_get_control to get more than one control at a time. * embed/downloader-view.c: (downloader_view_build_ui): * src/pdm-dialog.c: (pdm_dialog_show_help), (pdm_dialog_init): * src/prefs-dialog.c: (prefs_dialog_show_help), (setup_add_language_dialog), (create_language_section), (prefs_dialog_init): Use that.
* 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.
* Validate extension XML files against an XSD Schema.Adam Hooper2004-10-191-5/+98
|
* R lib/ephy-module-loader.c: R lib/ephy-module-loader.h: AChristian Persch2004-10-174-274/+677
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: R lib/ephy-module-loader.c: R lib/ephy-module-loader.h: A lib/ephy-module.c: (ephy_module_get_type), (ephy_module_load), (ephy_module_unload), (ephy_module_get_path), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize), (ephy_module_class_init), (ephy_module_new): A lib/ephy-module.h: s/EphyModuleLoader/EphyModule/g since "loader" now means something different. A lib/ephy-loader.c: (ephy_loader_get_type), (ephy_loader_type), (ephy_loader_get_object), (ephy_loader_release_object): A lib/ephy-loader.h: Generic object loader. A lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type), (free_loader_data), (ephy_shlib_loader_init), (ephy_shlib_loader_finalize), (find_library), (find_object), (idle_unref), (impl_get_object), (impl_release_object), (ephy_shlib_loader_iface_init), (ephy_shlib_loader_class_init): A lib/ephy-shlib-loader.h: A .so loader. * src/Makefile.am: * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_register), (ephy_extensions_manager_get_extensions), (free_extension_info), (free_loader_info), (find_extension_info), (ephy_extensions_manager_load_file), (find_loader), (get_loader_for_type), (attach_window), (load_extension), (detach_window), (unload_extension), (ephy_extensions_manager_load_dir), (active_extensions_notifier), (ephy_extensions_manager_init), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (ephy_extensions_manager_class_init): * src/ephy-extensions-manager.h: Read extension descriptions from .xml, load them with the specified loader (for now, just only .so is supported). * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager): Minor API change in extensions manager. * data/epiphany.schemas.in: Add extensions-manager-ui as default active extension. 2004-10-10 Marco Pesenti Gritti <marco@gnome.org>
* Remove duplicate AM_PROG_INTLTOOL, fixes bug #155028. UseChristian Persch2004-10-101-2/+1
| | | | | | | | | | 2004-10-10 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * src/Makefile.am: Remove duplicate AM_PROG_INTLTOOL, fixes bug #155028. Use AM_GLIB_DEFINE_LOCALEDIR to define locale dir.
* No circular dependencies anymore.Christian Persch2004-10-094-15/+10
| | | | | | | | | | | 2004-10-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: * src/ephy-tab.h: * src/ephy-window.c: * src/ephy-window.h: No circular dependencies anymore.
* 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.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-081-7/+124
| | | | | | | | | | | 2004-10-08 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (get_name_from_address_value), (update_popups_tooltips), (show_embed_popup): Add tooltips for context menus. Fix #151764
* *** empty log message ***Marco Pesenti Gritti2004-10-083-3/+3
|
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-084-6/+6
| | | | | | | | | | | | | | | | | | | | | 2004-10-08 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (setup_default_size): * lib/ephy-state.c: (create_window_node), (ephy_state_add_window): * lib/ephy-state.h: * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-window.c: (ephy_window_show): * src/pdm-dialog.c: (show_cookies_properties): * src/window-commands.c: (window_cmd_edit_toolbar): Allow to set the default window state to maximize. Default to maximize for the browser window.
* Notify when entering or leaving print preview mode. Fixes bug #154591.Christian Persch2004-10-061-2/+19
| | | | | | | | | | 2004-10-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init), (ephy_window_set_print_preview): Notify when entering or leaving print preview mode. Fixes bug #154591.
* Fix a warning, noticed by Crispin.Christian Persch2004-10-061-5/+5
| | | | | | | | | 2004-10-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-navigation-action.c: (build_back_or_forward_menu), (build_up_menu), (menu_activated_cb): Fix a warning, noticed by Crispin.
* Don't allow activation of the hidden menubar in ppv mode.Christian Persch2004-10-061-0/+6
| | | | | | | | 2004-10-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_key_press_event): Don't allow activation of the hidden menubar in ppv mode.
* Fix print preview and fullscreen mode interaction. Fixes bug #154456.Christian Persch2004-10-061-37/+28
| | | | | | | | | | | 2004-10-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (get_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_delete_event_cb), (show_embed_popup), (ephy_window_init), (ephy_window_set_print_preview): Fix print preview and fullscreen mode interaction. Fixes bug #154456.
* Don't size-allocate unmapped tabs, fixing slow resizes. Fixes bug #128191.Christian Persch2004-10-051-2/+23
| | | | | | | | | | 2004-10-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_size_allocate), (ephy_tab_map), (ephy_tab_class_init): Don't size-allocate unmapped tabs, fixing slow resizes. Fixes bug #128191.
* R lib/egg/eggdropdowntoolbutton.c: R lib/egg/eggdropdowntoolbutton.h:Christian Persch2004-10-051-6/+12
| | | | | | | | | | | | | 2004-10-05 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/egg/Makefile.am: R lib/egg/eggdropdowntoolbutton.c: R lib/egg/eggdropdowntoolbutton.h: * src/ephy-navigation-action.c: (menu_activated_cb), (connect_proxy), (ephy_navigation_action_class_init): Port to GtkMenuToolButton.
* Set window icon.Christian Persch2004-10-051-4/+6
| | | | | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection), (ephy_gui_confirm_overwrite_file): * src/ephy-window.c: (confirm_close_with_modified_forms), (ephy_window_init): Set window icon.
* Set window icon.Christian Persch2004-10-055-34/+15
| | | | | | | | | | | | | | | 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.
* Set ephy icon as window icon.Christian Persch2004-10-051-1/+5
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * src/pdm-dialog.c: (pdm_dialog_init): Set ephy icon as window icon.
* Same here.Christian Persch2004-10-051-8/+1
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (prefs_dialog_init): Same here.
* Set epiphany icon on the about dialogue.Christian Persch2004-10-051-0/+2
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Set epiphany icon on the about dialogue.
* Clean up a bit.Christian Persch2004-10-042-43/+31
| | | | | | | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * src/ppview-toolbar.c: (ppview_toolbar_get_type), (ppview_toolbar_class_init), (ppview_toolbar_set_property), (ppview_toolbar_get_property), (ppview_toolbar_set_window), (ppview_toolbar_init), (ppview_toolbar_finalize), (ppview_toolbar_new), (toolbar_cmd_ppv_close): * src/ppview-toolbar.h: Clean up a bit.
* Remove unused variable.Christian Persch2004-10-031-1/+0
| | | | | | | | 2004-10-03 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Remove unused variable.
* Recognise "Desktop" special downloads directory. Fixes bug #152926.Christian Persch2004-10-021-0/+4
| | | | | | | | | | | | 2004-10-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_file_downloads_dir), (ephy_file_desktop_dir): * lib/ephy-file-helpers.h: * src/prefs-dialog.c: (get_download_button_label): Recognise "Desktop" special downloads directory. Fixes bug #152926.
* Simply use gtk_icon_theme_load_icon().Christian Persch2004-10-021-17/+5
| | | | | | | | 2004-10-02 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Simply use gtk_icon_theme_load_icon().
* Use gtk_window_set_default_icon_name().Christian Persch2004-10-022-37/+4
| | | | | | | | | 2004-10-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/ephy-window.c: (ephy_window_init): Use gtk_window_set_default_icon_name().
* Don't reference private objects from public headers. Fixes bug #153766.Christian Persch2004-09-286-11/+10
| | | | | | | | | | | | | | | | | | 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 compiler warnings.Christian Persch2004-09-271-1/+4
| | | | | | | | | | | | | | | | 2004-09-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/egg/eggtrayicon.h: Fix compiler warnings. * src/ephy-window.c: (hide_embed_popup_cb), (show_embed_popup): Fix a signal leak.
* Remove some unused code. Patch by Crispin Flowerday.Christian Persch2004-09-261-6/+0
| | | | | | | | | 2004-09-26 Christian Persch <chpe@cvs.gnome.org> * src/popup-commands.c: (popup_cmd_bookmark_link), (popup_cmd_copy_image_location): Remove some unused code. Patch by Crispin Flowerday.
* Fix a mem leak.Christian Persch2004-09-231-1/+3
| | | | | | | | 2004-09-22 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Fix a mem leak.
* 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.
* Show the fullscreen button only when the window is active. Fix #115296.Marco Pesenti Gritti2004-09-161-0/+28
| | | | | | | | | | 2004-09-16 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (ephy_window_focus_in_event), (ephy_window_focus_out_event), (ephy_window_class_init): Show the fullscreen button only when the window is active. Fix #115296.
* Keep popup position synced with his size requisition. Fix #143585Marco Pesenti Gritti2004-09-161-5/+14
| | | | | | | | | | | 2004-09-16 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (update_fullscreen_popup), (screen_size_changed_cb), (fullscreen_popup_size_request_cb), (ephy_window_fullscreen): Keep popup position synced with his size requisition. Fix #143585
* Port to GtkAboutDialog.Christian Persch2004-09-161-20/+19
| | | | | | | | 2004-09-16 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Port to GtkAboutDialog.
* Add api to show a context menu. Useful to make distinction between key andMarco Pesenti Gritti2004-09-152-9/+3
| | | | | | | | | | | | | | | | | | 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-152-3/+6
| | | | | | | | | | | 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
* Load/unload extensions based on GConf keyAdam Hooper2004-09-143-51/+310
| | | | | | /apps/epiphany/general/active_extensions. Update documentation a bit (i.e., make sure it actually builds).
* Add ephy_window_get_ui_manager(), and remove the manager from the publicChristian Persch2004-09-1410-47/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1319-255/+250
| | | | | | | | 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-282-0/+4
|
* 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.
* Make sure to instantiate the toolbars model before instantiating theChristian Persch2004-08-281-4/+9
| | | | | | | | | | 2004-08-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_init): Make sure to instantiate the toolbars model before instantiating the bookmarksbar model; otherwise forwarding doesn't work. Fixes bug #151267.
* Get the position of the new tab after the tab_added signal was emitted, toChristian Persch2004-08-271-0/+3
| | | | | | | | | | 2004-08-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_add_tab): Get the position of the new tab after the tab_added signal was emitted, to get it right in the case the signal handler reorders the tabs. Patch by Justin Wake.
* Make "FileSave" action obey lockdown too. Fixes bug #151039.Christian Persch2004-08-261-0/+2
| | | | | | | | 2004-08-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_actions_sensitivity): Make "FileSave" action obey lockdown too. Fixes bug #151039.
* === 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-232-7/+12
| | | | | | | | | | | | | | 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 crash when removing a password, introduced by the last commit.Christian Persch2004-08-221-2/+2
| | | | | | | | | 2004-08-21 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * src/pdm-dialog.c: (pdm_dialog_password_remove): Fix crash when removing a password, introduced by the last commit.
* Keep the passwords list in the pdm dialogue up-to-date wrt. new passwordsChristian Persch2004-08-221-20/+47
| | | | | | | | | | | | | | | | | 2004-08-21 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-password-manager.c: (ephy_password_manager_get_type), (ephy_password_manager_base_init): * embed/ephy-password-manager.h: * embed/mozilla/EphySingle.cpp: * src/pdm-dialog.c: (cookies_cleared_cb), (pdm_dialog_fill_cookies_list), (passwords_changed_cb), (pdm_dialog_fill_passwords_list), (pdm_dialog_password_remove), (pdm_dialog_finalize): Keep the passwords list in the pdm dialogue up-to-date wrt. new passwords saved from web pages. Fixes bug #150296.
* Set accel for normal zoom, as per HIG.Christian Persch2004-08-221-1/+1
| | | | | | | | 2004-08-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Set accel for normal zoom, as per HIG.
* Add autoconf check for dlopen, and add '-dlopen self' to LDFLAGS. FixesChristian Persch2004-08-211-1/+1
| | | | | | | | | | 2004-08-21 Christian Persch <chpe@cvs.gnome.org> * configure.in: * src/Makefile.am: Add autoconf check for dlopen, and add '-dlopen self' to LDFLAGS. Fixes bug #150673.
* Change guint to correct enum type.Christian Persch2004-08-181-1/+1
| | | | | | | | | | | 2004-08-18 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_render): * lib/widgets/ephy-tree-model-node.c: * src/ephy-completion-model.c: Change guint to correct enum type.
* Fix object property naming leftover from EggMenuMerge days, to UI manager.Christian Persch2004-08-102-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|
* R lib/widgets/ephy-ellipsizing-label.c: RChristian Persch2004-08-083-16/+15
| | | | | | | | | | | | | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * lib/widgets/Makefile.am: R lib/widgets/ephy-ellipsizing-label.c: R lib/widgets/ephy-ellipsizing-label.h: A lib/widgets/ephy-label.c: A lib/widgets/ephy-label.h: * src/ephy-notebook.c: (sync_label), (build_tab_label): * src/pdm-dialog.c: (show_cookies_properties): * src/prefs-dialog.c: (create_download_path_label), (download_path_response_cb): Kill our ellipsizing label implementation, and import GtkLabel into our prefix. * configure.in: Depend on pango 1.5.1 for ellipsisation support.
* Really remove epiphany.inChristian Persch2004-08-081-35/+0
|
* R src/epiphany.in:Christian Persch2004-08-081-4/+5
| | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * configure.in: * src/Makefile.am: R src/epiphany.in: Get rid of the startup script, and use rpath linking instead. Ported from galeon.
* Remove unused variable.Christian Persch2004-08-081-1/+0
| | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): Remove unused variable.
* Include "ephy-string.h", fixes build with -Werror.Christian Persch2004-08-081-0/+1
| | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: Include "ephy-string.h", fixes build with -Werror.
* Make ephy_embed_single_open_window() return the newly opened embed widget.Christian Persch2004-08-081-1/+1
| | | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_open_window): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: (impl_open_window): * src/ephy-tab.c: (popups_manager_show): Make ephy_embed_single_open_window() return the newly opened embed widget.
* Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioningChristian Persch2004-08-067-41/+24
| | | | | | | | | | | | | | | | | | | 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.
* Fix restoring the history window on resume.Christian Persch2004-08-061-10/+10
| | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (write_window_geometry), (write_tool_window), (ephy_session_load): Fix restoring the history window on resume.
* Avoid overwriting the session file while resuming; preserves the crashedChristian Persch2004-08-061-3/+21
| | | | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (ephy_session_init), (ephy_session_autoresume), (ephy_session_save), (ephy_session_get_active_window): Avoid overwriting the session file while resuming; preserves the crashed session when crashing while resuming.
* 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().
* Make ephy_session_get_windows() return only the list of EphyWindows, andChristian Persch2004-08-061-48/+55
| | | | | | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (ephy_session_init), (ephy_session_finalize), (ephy_session_set_property), (ephy_session_class_init), (ephy_session_close), (write_tool_window), (ephy_session_save), (parse_embed), (ephy_session_load), (ephy_session_add_window), (ephy_session_remove_window), (ephy_session_get_active_window): Make ephy_session_get_windows() return only the list of EphyWindows, and store the tool windows internally.
* Fix mem leak; noticed by Jean-François Rameau.Christian Persch2004-08-041-0/+5
| | | | | | | | 2004-08-04 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (editor_can_open_uri): Fix mem leak; noticed by Jean-François Rameau.
* Fix mem leak; noticed by Jean-François Rameau.Christian Persch2004-08-041-0/+2
| | | | | | | | 2004-08-04 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_view_page_source): Fix mem leak; noticed by Jean-François Rameau.
* Adjust comment for fixed bugChristian Persch2004-08-041-2/+4
|
* Move g_set_application_name() call after gnome_program_init(),Christian Persch2004-08-021-1/+2
| | | | | | | | 2004-08-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Move g_set_application_name() call after gnome_program_init(),
* Diconnect from screen's size-changed signal on finalize too.Christian Persch2004-08-011-55/+64
| | | | | | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_type), (update_exit_fullscreen_popup_position), (screen_size_changed_cb), (destroy_exit_fullscreen_popup), (ephy_window_destroy), (add_widget), (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_chromes_actions), (update_actions_sensitivity): Diconnect from screen's size-changed signal on finalize too.
* Rename property to "popups-allowed" consistently. Move page changeAdam Hooper2004-08-011-14/+15
| | | | | code from address_cb to content_change_cb so that the location from the embed is the one of the loaded page.
* Start the directory choose in the home dir. Fixes bug #146055.Christian Persch2004-07-311-0/+2
| | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): Start the directory choose in the home dir. Fixes bug #146055.
* 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-317-91/+147
| | | | | | | | | | | | | | | | | | | | | 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.
* Correctly clear the not-removable toolbar flag.Christian Persch2004-07-311-1/+3
| | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbars-model.c: (update_flags_and_save_changes): Correctly clear the not-removable toolbar flag.
* Switch parameter order for egg_toolbars_model_set_flags().Christian Persch2004-07-262-2/+2
| | | | | | | | | | | | 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().
* Fix "Save Link As" filechooser title, and change capitalisation on theChristian Persch2004-07-251-2/+2
| | | | | | | | | | | 2004-07-25 Christian Persch <chpe@cvs.gnome.org> * src/popup-commands.c: (popup_cmd_download_link), (popup_cmd_download_link_as): Fix "Save Link As" filechooser title, and change capitalisation on the "Download Link" filechooser title. Fixes bug #138208.
* 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
* Simplify node view filtering code and make it a normal property (no moreMarco Pesenti Gritti2004-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (filter_changed_cb), (ephy_node_view_set_filter), (ephy_node_view_set_property), (ephy_node_view_init), (ephy_node_view_select_node), (filter_visible_func), (ephy_node_view_constructor), (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_set_property), (ephy_tree_model_node_get_property), (ephy_tree_model_node_class_init), (ephy_tree_model_node_init), (ephy_tree_model_node_new), (ephy_tree_model_node_get_column_type), (ephy_tree_model_node_get_value): * lib/widgets/ephy-tree-model-node.h: * src/prefs-dialog.c: (create_node_combo): Simplify node view filtering code and make it a normal property (no more constructor only)
* 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
* Add disable_quit, disable_new_window, first_window_fullscreen lockdownMarco Pesenti Gritti2004-07-193-10/+50
| | | | | | | | | | | | | | | 2004-07-19 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_actions_sensitivity), (tab_detached_cb), (tab_delete_cb), (ephy_window_init): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_close_window): Add disable_quit, disable_new_window, first_window_fullscreen lockdown options.
* Improve sort/priority API.Marco Pesenti Gritti2004-07-153-12/+25
| | | | | | | | | | | | | | | | | | | 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-052-2/+3
| | | | | | | | | | | | | 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.
* Show and activate the menubar with F10 when it's hidden. Fixes bugChristian Persch2004-07-041-0/+43
| | | | | | | | | | 2004-07-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (menubar_deactivate_cb), (ephy_window_key_press_event), (ephy_window_class_init): Show and activate the menubar with F10 when it's hidden. Fixes bug #141999.
* "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.
* R data/art/epiphany-tab-loading.gif:Christian Persch2004-07-032-54/+36
| | | | | | | | | | | | | | | | 2004-07-02 Christian Persch <chpe@cvs.gnome.org> * data/art/Makefile.am: R data/art/epiphany-tab-loading.gif: * lib/widgets/ephy-spinner.c: (get_spinner_dimensions), (ephy_spinner_init), (ephy_spinner_expose), (ephy_spinner_unload_images), (scale_to_real_size), (ephy_spinner_set_size), (ephy_spinner_size_request): * lib/widgets/ephy-spinner.h: * src/ephy-notebook.c: (sync_load_status), (build_tab_label): * src/toolbar.c: (fixed_toolbar_reconfigured_cb), (toolbar_init): Remove our tab loading animation and use mini-spinners instead.
* Use blank document as default faviconMarco Pesenti Gritti2004-07-032-2/+2
| | | | | | | | | | 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-0210-64/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* s/Off-Line/Offline/Christian Persch2004-07-021-1/+1
| | | | | | | | 2004-07-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: s/Off-Line/Offline/
* 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.
* Popup blocking support. View -> Popup Windows.Adam Hooper2004-07-014-2/+526
|
* 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"
* Change tabs sizing again. Now we use a width of 20 (estimated) chars.Marco Pesenti Gritti2004-07-011-6/+4
| | | | | | | | | 2004-06-30 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: Change tabs sizing again. Now we use a width of 20 (estimated) chars.
* Implement File->Work Off-Line command and backend. No DBUS/HAL/whateverChristian Persch2004-06-273-0/+55
| | | | | | | | | | | | | | | | | | | | 2004-06-26 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * embed/ephy-embed-single.c: (ephy_embed_single_iface_init), (ephy_embed_single_set_offline_mode), (ephy_embed_single_get_offline_mode): * embed/ephy-embed-single.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-window.c: (network_status_changed), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (window_cmd_file_save_as), (window_cmd_file_work_offline): * src/window-commands.h: Implement File->Work Off-Line command and backend. No DBUS/HAL/whatever integration yet.
* 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.
* Simplify print code. Now there is only one case to deal with, the mozillaMarco Pesenti Gritti2004-06-253-73/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_print), (ephy_embed_set_print_preview_mode): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_dialog_new): * embed/print-dialog.h: * src/ephy-window.c: (ephy_window_delete_event_cb), (ephy_window_finalize), (update_embed_dialogs), (ephy_window_find): * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_file_print_preview), (window_cmd_file_print): Simplify print code. Now there is only one case to deal with, the mozilla prompt dialog. This should help with xprint.
* 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-244-24/+106
| | | | | | | | | | | | | | | | 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-242-4/+4
| | | | | | | | | | | | 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.
* Simply use gtk_container_get_children().Christian Persch2004-06-241-11/+2
| | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_tabs): Simply use gtk_container_get_children().
* Make the "Exit Fullscreen" button toggle the action instead of doing toChristian Persch2004-06-241-1/+11
| | | | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (exit_fullscreen_button_clicked_cb), (get_chromes_visibility), (ephy_window_state_event_cb): Make the "Exit Fullscreen" button toggle the action instead of doing to work itself. Fixes bug #144785.
* Add EphyWindow API to open multiple uris in tabs, use it for dnd on theMarco Pesenti Gritti2004-06-243-49/+62
| | | | | | | | | | | | 2004-06-23 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-window.c: (ephy_window_set_zoom), (ephy_window_load_in_tabs): * src/ephy-window.h: Add EphyWindow API to open multiple uris in tabs, use it for dnd on the notebook.
* "/" 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-228-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make tab labels 1/n-th of the window width (n = number of tabs), with aChristian Persch2004-06-201-63/+60
| | | | | | | | | | | | 2004-06-20 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (sync_label), (tab_label_style_set_cb), (build_tab_label), (ephy_notebook_add_tab): * src/ephy-window.c: (ephy_window_get_tabs): Make tab labels 1/n-th of the window width (n = number of tabs), with a minimum size so they don't get too tiny. Make the tooltip cover the label + favicon, not just the label.
* Append tabs at the end instead of grouping them near the current one.Marco Pesenti Gritti2004-06-206-53/+11
| | | | | | | | | | | | | | | | | 2004-06-19 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: (ephy_notebook_move_tab), (move_tab), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (ephy_notebook_finalize), (ephy_notebook_add_tab), (ephy_notebook_remove_tab): * src/ephy-notebook.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_add_tab): Append tabs at the end instead of grouping them near the current one.
* Set data for close-button on the tab label.Christian Persch2004-06-171-0/+1
| | | | | | | | 2004-06-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (build_tab_label): Set data for close-button on the tab label.
* Go back to construction the toolbar when the model is set, fixes bugChristian Persch2004-06-163-48/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Get rid of EmbedReloadFlags, and use a gboolean force parameter inChristian Persch2004-06-142-4/+1
| | | | | | | | | | | | | | 2004-06-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_reload): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/prefs-dialog.c: * src/window-commands.c: (window_cmd_view_reload): Get rid of EmbedReloadFlags, and use a gboolean force parameter in ephy_embed_reload() instead, since we only had two states anyway - EMBED_RELOAD_NORMAL, and EMBED_RELOAD_FORCE.
* Put proper property IDs on propertiesAdam Hooper2004-06-121-2/+2
|
* Save the toolbars models from dispose, not from finalize, since you cannotChristian Persch2004-06-123-12/+29
| | | | | | | | | | | | | | | | 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-1118-1056/+605
| | | | | | 2004-06-10 Christian Persch <chpe@cvs.gnome.org> Merging bookmarksbar-separation branch.
* s/get_item_name/get_item_dataMarco Pesenti Gritti2004-06-101-4/+4
| | | | | | | | | | | | | | | | | | | 2004-06-09 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (impl_get_item_id), (impl_get_item_data), (egg_toolbars_model_class_init), (egg_toolbars_model_get_item_data): * lib/egg/egg-toolbars-model.h: * src/ephy-toolbars-model.c: (impl_get_item_data), (impl_get_item_id), (ephy_toolbars_model_class_init): s/get_item_name/get_item_data Do not assume data isnt changing, use the id and convert later instead.
* 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):
* Retain custom types when moving items aroundMarco Pesenti Gritti2004-06-091-31/+4
| | | | | | | | | | | | | | | 2004-06-09 Marco Pesenti Gritti <marco@gnome.org> * 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_item_nth): * lib/egg/egg-toolbars-model.h: * src/ephy-toolbars-model.c: (get_toolbar_and_item_pos), (ephy_toolbars_model_class_init), (item_added): Retain custom types when moving items around
* 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.
* Do not hide clipboard items for the input context (Bug #139040)Marco Pesenti Gritti2004-06-081-9/+3
| | | | | | | | | 2004-06-08 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (show_embed_popup): Do not hide clipboard items for the input context (Bug #139040)
* Also load extensions from /home/users/rossRoss Burton2004-06-071-0/+7
|
* merge mozilla-embed-strings branchMarco Pesenti Gritti2004-06-042-2/+9
|
* Move the "Exit Fullscreen" popup to the right in RTL locale. Fixes bugChristian Persch2004-06-031-6/+15
| | | | | | | | | 2004-06-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_exit_fullscreen_popup_position): Move the "Exit Fullscreen" popup to the right in RTL locale. Fixes bug #140828.
* Fix reload logic not to use forced reload by default. Patch by C. J. N.Christian Persch2004-05-301-2/+2
| | | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_view_reload): Fix reload logic not to use forced reload by default. Patch by C. J. N. Breame, fixes bug #143365
* Elimiate indeterminate progress, fixes bugs #142303 and #142305.Christian Persch2004-05-212-20/+8
| | | | | | | | | | 2004-05-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (ephy_statusbar_set_progress): * src/ephy-tab.c: (ephy_tab_class_init), (build_load_percent), (ephy_tab_net_state_cb), (ephy_tab_get_load_percent): Elimiate indeterminate progress, fixes bugs #142303 and #142305.
* Emit the "tab_removed" signal also for the window's last tab. Part of bugChristian Persch2004-05-202-6/+3
| | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_remove_tab): * src/ephy-window.c: (tab_removed_cb): Emit the "tab_removed" signal also for the window's last tab. Part of bug #142078.
* Open bookmark in new tab on middle-click. Fixes bug #106250.Christian Persch2004-05-202-6/+72
| | | | | | | | | | | 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.
* Forgot to change action entries for last commit.Christian Persch2004-05-141-4/+0
| | | | | | | | 2004-05-13 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Forgot to change action entries for last commit.
* Simplify context menu wrt. frames. Fixes bug #138442.Christian Persch2004-05-142-53/+0
| | | | | | | | | | 2004-05-13 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/popup-commands.c: * src/popup-commands.h: Simplify context menu wrt. frames. Fixes bug #138442.
* Make sure we don't add a colon at the end of LD_LIBRARY_PATH, which willChristian Persch2004-05-131-1/+5
| | | | | | | | | | 2004-05-12 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.in: Make sure we don't add a colon at the end of LD_LIBRARY_PATH, which will make LD_LIBRARY_PATH include the current directory. Should fix bug #141576.
* Statusbar re-design: Move lock icon to left; hide progress bar when noChristian Persch2004-05-112-12/+66
| | | | | | | | | | | | | 2004-05-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (create_statusbar_security_icon), (create_statusbar_progress), (sync_shadow_type), (ephy_statusbar_init), (ephy_statusbar_set_progress), (ephy_statusbar_add_widget): * src/ephy-tab.c: (ephy_tab_net_state_cb): Statusbar re-design: Move lock icon to left; hide progress bar when no activity. Part of bug #137845.
* Fix accelerator for OpenImage action.Christian Persch2004-05-091-1/+1
| | | | | | | | 2004-05-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Fix accelerator for OpenImage action.
* Jump to new tabs created from command lines; fixes bug #141168.Christian Persch2004-05-091-3/+3
| | | | | | | | 2004-05-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-automation.c: (impl_ephy_automation_loadurl): Jump to new tabs created from command lines; fixes bug #141168.
* Add convenience functions for creating a filter with a bunch of mime typesChristian Persch2004-05-093-5/+27
| | | | | | | | | | | | | | | | | | | | | | 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.
* Clean up encoding handling.Christian Persch2004-05-022-51/+15
| | | | | | | | | | | | | | | | | | | 2004-05-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_get_encoding), (ephy_embed_has_automatic_encoding): * embed/ephy-embed.h: * embed/ephy-encodings.c: * embed/ephy-encodings.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-encoding-dialog.c: (sync_embed_cb), (activate_choice): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (encoding_activate_cb): Clean up encoding handling.
* Make the statusbar's GtkTooltips publicly accessibly.Christian Persch2004-05-022-7/+7
| | | | | | | | | | 2004-05-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (ephy_statusbar_init), (ephy_statusbar_finalize), (ephy_statusbar_set_security_state): * src/ephy-statusbar.h: Make the statusbar's GtkTooltips publicly accessibly.
* Exit print preview mode before closing a window. Fixes a crasher; EpiphanyChristian Persch2004-04-271-0/+13
| | | | | | | | | 2004-04-27 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_delete_event_cb): Exit print preview mode before closing a window. Fixes a crasher; Epiphany equivalent of galeon bug #121298.
* 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.