aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Simplfiy the rule a bit.Christian Persch2005-01-071-2/+2
| | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: Simplfiy the rule a bit.
* Use glib-mkenums to generate the enum and flags get_type functions.Christian Persch2005-01-073-28/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/Makefile.am: * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-permission-manager.c: * embed/ephy-permission-manager.h: * lib/egg/Makefile.am: * lib/egg/egg-toolbars-model.c: * lib/egg/egg-toolbars-model.h: * src/Makefile.am: * src/ephy-link.c: * src/ephy-link.h: * src/ephy-navigation-action.c: * src/ephy-shell.c: (ephy_shell_error_quark): * src/ephy-shell.h: * src/ephy-tab.c: * src/ephy-tab.h: * src/ephy-window.c: Use glib-mkenums to generate the enum and flags get_type functions.
* Use ngettext to get the Open in New Tab[s]/Window[s] label.Christian Persch2005-01-052-20/+0
| | | | | | | | | | | | | | 2005-01-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-history-window.c: (ephy_history_window_update_menu): Use ngettext to get the Open in New Tab[s]/Window[s] label. 2005-01-04 Christian Persch <chpe@cvs.gnome.org>
* Add type for flags.Christian Persch2005-01-042-4/+30
| | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-state.c: (ephy_state_window_flags_get_type): * lib/ephy-state.h: Add type for flags.
* Prefix class structs with '_' so that the python code generator finds it.Crispin Flowerday2005-01-042-6/+6
| | | | | | | | 2005-01-03 Crispin Flowerday <gnome@flowerday.cx> * lib/ephy-dialog.c: * lib/ephy-dialog.h: Prefix class structs with '_' so that the python code generator finds it.
* Add type for flags.Christian Persch2005-01-042-0/+27
| | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_flags_get_type): * lib/egg/egg-toolbars-model.h: Add type for flags.
* Another enum type.Christian Persch2005-01-041-1/+0
| | | | | | | | | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-permission-manager.c: (ephy_permission_get_type): * embed/ephy-permission-manager.h: Another enum type. * lib/ephy-marshal.list: Remove unused marshal. * src/ephy-tab.c: (ephy_tab_class_init): Use enum for security level type.
* Add types for some enums and flags.Christian Persch2005-01-041-0/+1
| | | | | | | | | | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_context_get_type), (ephy_embed_event_type_get_type): * embed/ephy-embed-event.h: * embed/ephy-embed.c: (ephy_embed_net_state_get_type), (ephy_embed_ppv_navigation_get_type), (ephy_embed_security_level_get_type), (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/ephy-marshal.list: * src/ephy-tab.c: (update_net_state_message), (build_progress_from_requests), (ephy_tab_net_state_cb): Add types for some enums and flags.
* Move mime permission checks to ephy-file-helpers.Christian Persch2005-01-012-0/+108
| | | | | | | | | | | | | | | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize), (ephy_embed_shell_get_encodings): * embed/ephy-embed-shell.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown), (ephy_file_delete_on_exit), (load_mime_from_xml), (ephy_file_check_mime): * lib/ephy-file-helpers.h: Move mime permission checks to ephy-file-helpers. * src/popup-commands.c: (image_open_uri), (save_source_completed_cb), (popup_cmd_open_image): Only open the image if its mime type is 'safe'.
* Add context to ambiguous strings. Fixes bug #113932.Christian Persch2004-12-261-17/+17
| | | | | | | | | | | | | 2004-12-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (ephy_encodings_init): * lib/ephy-langs.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/ephy-window.c: (show_embed_popup), (tab_context_menu_cb), (ephy_window_set_active_tab): * src/prefs-dialog.c: (create_fonts_language_menu): Add context to ambiguous strings. Fixes bug #113932.
* Remove tons of unused marshals.Christian Persch2004-12-251-6/+1
| | | | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: Remove tons of unused marshals. * src/ephy-link.c: (ephy_link_base_init): Fix marshaler to match actual signal signature.
* A src/ephy-home-action.c: (ephy_home_action_activate),Christian Persch2004-12-242-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * src/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (create_tool_item), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb), (connect_proxy), (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type), (add_action_for_bookmark), (ephy_bookmarks_menu_class_init): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (menu_activate_cb), (open_in_tabs_activate_cb), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: A src/ephy-home-action.c: (ephy_home_action_activate), (ephy_home_action_class_init), (ephy_home_action_get_type): A src/ephy-home-action.h: A src/ephy-link-action.c: (ephy_link_action_get_type): A src/ephy-link-action.h: A src/ephy-link.c: (ephy_link_flags_get_type), (ephy_link_base_init), (ephy_link_get_type), (ephy_link_open): A src/ephy-link.h: * src/ephy-location-action.c: (ephy_location_action_get_type), (action_activated_cb), (location_url_activate_cb), (connect_proxy), (disconnect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-navigation-action.c: (ephy_navigation_action_get_type), (activate_back_or_forward_menu_item_cb), (activate_up_menu_item_cb), (build_back_or_forward_menu), (build_up_menu): * src/ephy-navigation-action.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (setup_ui_manager), (open_link_cb), (ephy_window_init): * src/toolbar.c: (toolbar_get_type), (toolbar_setup_actions): * src/window-commands.c: * src/window-commands.h: Consolidate link opening in one place by introducing an EphyLink interface which bookmarks, topics, navigation, location, home, toolbars, bookmarks menu and favourites menu implement, forwarding the link opening to the window.
* EphyEmbedChrome is flags, not enum.Christian Persch2004-12-241-1/+1
| | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * lib/ephy-marshal.list: EphyEmbedChrome is flags, not enum.
* A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): AChristian Persch2004-12-234-0/+89
| | | | | | | | | | | | | | | 2004-12-23 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/ephy-marshal.list: A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): A lib/ephy-signal-accumulator.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): Fix new_window signal.
* Forgot to commit thisChristian Persch2004-12-211-0/+3
|
* Fix a mem leak, and update copyright notice.Christian Persch2004-12-202-21/+3
| | | | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-langs.c: (ephy_langs_append_languages), (load_iso_entries): * lib/ephy-langs.h: Fix a mem leak, and update copyright notice.
* Remove inline help. Fixes bug #137603.Christian Persch2004-12-201-17/+0
| | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (setup_editor): Remove inline help. Fixes bug #137603.
* Fix my nameChristian Persch2004-12-191-1/+1
|
* Remove stray g_printChristian Persch2004-12-192-2/+2
|
* Make sure we don't have any app-modal dialogues. Fixes bug #110479.Christian Persch2004-12-193-3/+30
| | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * lib/ephy-gui.c: (ephy_gui_ensure_window_group), (ephy_gui_confirm_overwrite_file): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (ephy_bookmarks_editor_construct): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): Make sure we don't have any app-modal dialogues. Fixes bug #110479.
* Disable Zoom items for images, and disable zoom, encoding and view sourceChristian Persch2004-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type), (ephy_embed_document_type_get_type), (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (ephy_tab_get_document_type), (ephy_tab_document_type_cb), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_zoom), (ephy_window_set_active_tab): * src/toolbar.c: (toolbar_update_zoom): * src/toolbar.h: Disable Zoom items for images, and disable zoom, encoding and view source for images and xml (xul) documents. Fixes bug #132240.
* Implement context menu on tray icon, as per HIG. Fixes bug #152903.Christian Persch2004-12-174-38/+80
| | | | | | | | | | | | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (show_downloader_cb), (status_icon_popup_menu_cb), (show_status_icon): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init), (egg_status_icon_init), (egg_status_icon_finalize), (emit_activate_signal), (emit_popup_menu_signal), (egg_status_icon_size_allocate), (egg_status_icon_button_press), (egg_status_icon_set_tooltip): * lib/egg/eggstatusicon.h: * lib/ephy-gui.c: (ephy_gui_menu_position_under_widget), (ephy_gui_menu_position_on_panel): * lib/ephy-gui.h: Implement context menu on tray icon, as per HIG. Fixes bug #152903.
* Small improvement.Christian Persch2004-12-161-2/+1
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Small improvement.
* Move Clear after Select All.Christian Persch2004-12-161-11/+20
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Move Clear after Select All.
* Add "Clear" to entry context menu. Fixes bug #118395.Christian Persch2004-12-161-0/+48
| | | | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_clear_activate_cb), (entry_populate_popup_cb), (ephy_location_entry_construct_contents): Add "Clear" to entry context menu. Fixes bug #118395.
* Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessaryChristian Persch2004-12-145-75/+1
| | | | | | | | | | | | | | | | | | | | | | 2004-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (elide_underscores), (add_encoding): * embed/mozilla/FilePicker.cpp: * lib/ephy-dnd.c: * lib/ephy-node.c: * lib/ephy-string.c: (ephy_string_blank_chr): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: * src/ephy-encoding-menu.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-statusbar.c: * src/ephy-tab.c: (ephy_tab_set_title): * src/ephy-tabs-menu.c: (connect_proxy_cb): * src/ppview-toolbar.c: Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessary ephy-string.h includes.
* Make distcheck fix.Christian Persch2004-12-142-40/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add deprecated defines to AM_CPPFLAGS in maintainer-mode.Christian Persch2004-12-015-66/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Version 1.5.2.Christian Persch2004-11-291-4/+0
| | | | | | | | | | | 2004-11-29 Christian Persch <chpe@cvs.gnome.org> * NEWS: * configure.ac: * doc/reference/tmpl/ephy-embed.sgml: * lib/ephy-file-chooser.c: (ephy_file_chooser_add_pattern_filter): Version 1.5.2.
* Build auto-generated files in builddir, not in srcdir.Christian Persch2004-11-262-12/+7
| | | | | | | | | | 2004-11-25 Christian Persch <chpe@cvs.gnome.org> * data/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: Build auto-generated files in builddir, not in srcdir.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-11-261-0/+1
| | | | | | | | | | | | | | | | | | 2004-11-25 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Fix build out of src directory. * src/window-commands.c: (editor_open_uri), (window_cmd_view_page_source): Rework the code to not use deprecated API.
* Check for iso-codes package.Christian Persch2004-11-252-0/+211
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Better positioning for the context menu popup in a treeview. Patch byChristian Persch2004-11-101-6/+7
| | | | | | | | | | | 2004-11-09 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection): Better positioning for the context menu popup in a treeview. Patch by Crispin Flowerday. Remove obsolete global variables.
* Fix signed/unsigned int confusion exposed by empty accept-lang list.Christian Persch2004-11-101-4/+4
| | | | | | | | | 2004-11-09 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-langs.c: (ephy_langs_sanitise): Fix signed/unsigned int confusion exposed by empty accept-lang list.
* Sanitise the embed popup position. Fixes bug #157162.Christian Persch2004-11-082-4/+14
| | | | | | | | | | | | 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.
* When popping up the context menu with keyboard, select the first menuChristian Persch2004-11-081-3/+8
| | | | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_popup): * src/bookmarks/ephy-bookmark-action.c: (show_context_menu), (popup_menu_cb), (button_press_cb): * src/bookmarks/ephy-topic-action.c: (button_toggled_cb), (show_context_menu), (popup_menu_cb), (button_press_cb): * src/ephy-window.c: (show_embed_popup): When popping up the context menu with keyboard, select the first menu item. Fixes bug #154907.
* Show language code in the string in languages editor. Fixes bug #115355.Christian Persch2004-11-072-2/+146
| | | | | | | | | | | | | | 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 tooltips on the zoom control also work on Ctrl-F1.Christian Persch2004-11-071-13/+44
| | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init), (set_combo_tooltip), (combo_realized), (ephy_zoom_control_set_tooltip): Make tooltips on the zoom control also work on Ctrl-F1.
* Updated glib dependency.Christian Persch2004-11-042-5/+6
| | | | | | | | | | | | 2004-11-04 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Updated glib dependency. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): Use g_filename_display_name() here.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-0330-60/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-command-manager.c: * embed/ephy-cookie-manager.c: * embed/ephy-download.c: * embed/ephy-embed-dialog.c: * embed/ephy-embed-event.c: * embed/ephy-embed-factory.c: * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: * embed/ephy-embed.c: * embed/ephy-encodings.c: * embed/ephy-favicon-cache.c: * embed/ephy-history.c: * embed/ephy-password-manager.c: * embed/ephy-permission-manager.c: * embed/find-dialog.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbars-model.c: * lib/ephy-debug.c: * lib/ephy-debug.h: * lib/ephy-dialog.c: * lib/ephy-dnd.c: * lib/ephy-file-chooser.c: * lib/ephy-file-helpers.c: * lib/ephy-glade.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-loader.c: * lib/ephy-module.c: * lib/ephy-node-db.c: * lib/ephy-node-filter.c: * lib/ephy-node.c: * lib/ephy-shlib-loader.c: * lib/ephy-state.c: * lib/ephy-stock-icons.c: * lib/ephy-string.c: * lib/ephy-zoom.c: * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-export.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/bookmarks/ephy-topics-selector.c: * src/ephy-automation.c: * src/ephy-completion-model.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-extension.c: * src/ephy-extensions-manager.c: * src/ephy-favicon-action.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-location-action.c: * src/ephy-main.c: * src/ephy-navigation-action.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-shell.c: * src/ephy-statusbar.c: * src/ephy-tab.c: * src/ephy-tabs-menu.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/toolbar.c: * src/window-commands.c: We always have config.h, no need to guard its inclusion.
* Fix zoom control so that it shows tooltips again. Fixes bug #155826.Christian Persch2004-11-021-7/+15
| | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init), (ephy_zoom_control_set_tooltip): Fix zoom control so that it shows tooltips again. Fixes bug #155826.
* Don't deactivate the toolbar when another item in the same toolbar gainsChristian Persch2004-11-011-35/+1
| | | | | | | | | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init), (ephy_location_entry_activate): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-window.c: (ephy_window_init): * src/toolbar.c: (toolbar_class_init), (toolbar_finalize), (maybe_finish_activation_cb), (toolbar_activate_location), (toolbar_update_zoom), (toolbar_new): * src/toolbar.h: Don't deactivate the toolbar when another item in the same toolbar gains focus. Fixes bug #155650.
* Fix a nasty bug when removing signal handlers during a node signalChristian Persch2004-11-011-19/+91
| | | | | | | | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (callback), (remove_invalidated_signals), (ephy_node_emit_signal), (signal_object_weak_notify), (ephy_node_new_with_id), (ephy_node_signal_connect_object), (remove_matching_signal_data), (invalidate_matching_signal_data), (ephy_node_signal_disconnect_object), (ephy_node_signal_disconnect): Fix a nasty bug when removing signal handlers during a node signal emission. Don't remove the handler immediately, but invalidate it, and remove it after all emissions are done. Part of bug #155880.
* Removing debug spewChristian Persch2004-11-011-1/+0
|
* Fix restoring window size on crash recovery by moving the setting of theChristian Persch2004-10-311-3/+3
| | | | | | | | | | | | 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.
* Check for nsIDOMNSEvent::GetIsTrusted.Christian Persch2004-10-311-0/+1
| | | | | | | | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for nsIDOMNSEvent::GetIsTrusted. * embed/mozilla/EphyBrowser.cpp: Conditionally compile this code. * lib/ephy-marshal.list: Forgot to commit this.
* Move idle unreffing to extensions manager. Makes sure that extensions areChristian Persch2004-10-301-14/+1
| | | | | | | | | | 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.
* Print dialogue isn't an EphyEmbedDialog anymore, remove theChristian Persch2004-10-281-2/+0
| | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_new): Print dialogue isn't an EphyEmbedDialog anymore, remove the
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-285-25/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_to_string): * embed/ephy-embed-shell.c: (ephy_embed_shell_init): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_modal), (ephy_dialog_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_init): * lib/ephy-node-db.c: (ephy_node_db_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_init): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_init): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_init): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-location-action.c: (ephy_location_action_init): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-session.c: (ephy_session_init): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_init): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/ppview-toolbar.c: (ppview_toolbar_init): Private data is 0-initialised, no need to set members to NULL, 0, or FALSE.
* Remove unused signal from EphyNodeView struct.Christian Persch2004-10-271-1/+0
| | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.h: Remove unused signal from EphyNodeView struct.
* Avoid strdups in entry completion func. Patch by Peter Harvey.Christian Persch2004-10-271-19/+18
| | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Avoid strdups in entry completion func. Patch by Peter Harvey.
* Use new gtk+ HIG message dialogue API. Fixes bug #130232.Christian Persch2004-10-271-35/+20
| | | | | | | | | | | | | 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 gtk_icon_size_lookup_for_settings() here.Christian Persch2004-10-251-4/+6
| | | | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_images), (ephy_spinner_size_request): * src/ephy-notebook.c: (tab_label_style_set_cb): * src/window-commands.c: (window_cmd_help_about): Use gtk_icon_size_lookup_for_settings() here.
* Add EPHY_NODE_CHANGED signal. Patch by Peter Harvey.Christian Persch2004-10-252-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2418-67/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_get_type): * embed/ephy-command-manager.c: (ephy_command_manager_get_type): * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_manager_get_type): * embed/ephy-download.c: (ephy_download_get_type): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_type): * embed/ephy-embed-event.c: (ephy_embed_event_get_type): * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type): * embed/ephy-embed-single.c: (ephy_embed_single_get_type): * embed/ephy-embed.c: (ephy_embed_get_type): * embed/ephy-encodings.c: (ephy_encodings_get_type): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type): * embed/ephy-history.c: (ephy_history_get_type): * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_manager_get_type): * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_manager_get_type): * embed/find-dialog.c: (find_dialog_get_type): * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_type): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_get_type): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type): * lib/ephy-dialog.c: (ephy_dialog_get_type): * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type): * lib/ephy-loader.c: (ephy_loader_get_type): * lib/ephy-module.c: (ephy_module_get_type): * lib/ephy-node-db.c: (ephy_node_db_get_type): * lib/ephy-node-filter.c: (ephy_node_filter_get_type): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * lib/widgets/ephy-node-view.c: (ephy_node_view_get_type): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_get_type): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_type): * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_get_type): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_type): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_get_type): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_type): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_get_type): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type): * src/ephy-completion-model.c: (ephy_completion_model_get_type): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): * src/ephy-extension.c: (ephy_extension_get_type): * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type): * src/ephy-favicon-action.c: (ephy_favicon_action_get_type): * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-history-window.c: (ephy_history_window_get_type): * src/ephy-location-action.c: (ephy_location_action_get_type): * src/ephy-navigation-action.c: (ephy_navigation_action_get_type): * src/ephy-notebook.c: (ephy_notebook_get_type): * src/ephy-session.c: (ephy_session_get_type): * src/ephy-shell.c: (ephy_shell_get_type): * src/ephy-statusbar.c: (ephy_statusbar_get_type): * src/ephy-tab.c: (ephy_tab_get_type): * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type): * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type): * src/ephy-window.c: (ephy_window_get_type): * src/pdm-dialog.c: (pdm_dialog_get_type): * src/ppview-toolbar.c: (ppview_toolbar_get_type): * src/prefs-dialog.c: (prefs_dialog_get_type): * src/toolbar.c: (toolbar_get_type): Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like the G_TYPE_DEFINE macros do.
* Use gtk_selection_data_get_uris().Christian Persch2004-10-231-1/+1
| | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (drag_data_received_cb): * src/ephy-notebook.c: (notebook_drag_data_received_cb): Use gtk_selection_data_get_uris().
* Remove ephy_string_parse_uri_list, and use new glib functionChristian Persch2004-10-233-58/+4
| | | | | | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_double_underscores): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: (drag_data_received_cb): * src/bookmarks/ephy-bookmarks-editor.c: (node_dropped_cb): * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-window.c: (ephy_window_load_in_tabs): * src/ephy-window.h: Remove ephy_string_parse_uri_list, and use new glib function g_uri_list_extract_uris() instead.
* Add varargs version of ephy_dialog_get_control to get more than oneChristian Persch2004-10-222-0/+29
| | | | | | | | | | | | | | | | | | 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.
* Better fix, taken from bug #135861.Christian Persch2004-10-221-22/+1
| | | | | | | | | 2004-10-21 Christian Persch <chpe@cvs.gnome.org> * lib/egg/eggstatusicon.c: (egg_status_icon_init), (egg_status_icon_button_press): Better fix, taken from bug #135861.
* Activate with double-click, as per HIG. Fixes bug #152899.Christian Persch2004-10-221-1/+3
| | | | | | | | 2004-10-21 Christian Persch <chpe@cvs.gnome.org> * lib/egg/eggstatusicon.c: (egg_status_icon_button_press): Activate with double-click, as per HIG. Fixes bug #152899.
* Fix EphyNode callback data destruction. Patch by Peter Harvey, fixes bugChristian Persch2004-10-171-46/+35
| | | | | | | | | | | 2004-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (signal_object_weak_notify), (destroy_signal_data), (ephy_node_destroy), (ephy_node_new_with_id), (ephy_node_unref): Fix EphyNode callback data destruction. Patch by Peter Harvey, fixes bug #152718.
* R lib/ephy-module-loader.c: R lib/ephy-module-loader.h: AChristian Persch2004-10-179-255/+709
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-111-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-10 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/ephy-embed-single.c: (ephy_embed_single_get_printer_list): * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_new): * lib/ephy-dialog.c: (set_combo_box_from_value): Move current MozillaPrivate helpers to EphyUtils. Use MozillaPrivate for stuff that needs mozilla internal strings. Support multiple printers in the print dialog. This is actually a bug fix because on several distributions using hardcoded Poscript/default will simply not work at all.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-083-3/+7
| | | | | | | | | | | | | | | | | | | | | 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.
* R lib/egg/eggdropdowntoolbutton.c: R lib/egg/eggdropdowntoolbutton.h:Christian Persch2004-10-053-486/+0
| | | | | | | | | | | | | 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-1/+4
| | | | | | | | | | | 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 ephy icon as window icon.Christian Persch2004-10-051-0/+2
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): Set ephy icon as window icon.
* Recognise "Desktop" special downloads directory. Fixes bug #152926.Christian Persch2004-10-022-7/+20
| | | | | | | | | | | | 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.
* Remove "abort", since you can have the same with --g-fatal-warnings.Christian Persch2004-09-281-4/+0
| | | | | | | | 2004-09-28 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: (trap_handler): Remove "abort", since you can have the same with --g-fatal-warnings.
* Don't reference private objects from public headers. Fixes bug #153766.Christian Persch2004-09-281-8/+6
| | | | | | | | | | | | | | | | | | 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.
* Don't reference private objects from public headers. Fixes bug #153766.Christian Persch2004-09-281-4/+3
| | | | | | | | | | | | | | | | | | 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.
* Remove the hack, and just use the libc function for it. Thanks to CrispinChristian Persch2004-09-271-13/+10
| | | | | | | | | | 2004-09-27 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-debug.c: (trap_handler), (ephy_debug_init): Remove the hack, and just use the libc function for it. Thanks to Crispin for suggesting this.
* Improved debugging support. Fixes bug #153805.Christian Persch2004-09-271-2/+56
| | | | | | | | | 2004-09-27 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-debug.c: (trap_handler), (ephy_debug_init): Improved debugging support. Fixes bug #153805.
* Make ephy-state.h public.Christian Persch2004-09-271-2/+2
| | | | | | | | 2004-09-27 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: Make ephy-state.h public.
* Fix compiler warnings.Christian Persch2004-09-271-0/+3
| | | | | | | | | | | | | | | | 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.
* Install egg-toolbars-model.hMarco Pesenti Gritti2004-09-261-6/+9
| | | | | | | | 2004-09-27 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/Makefile.am: Install egg-toolbars-model.h
* Initialise position passed to gtk_editable_insert_text().Christian Persch2004-09-231-1/+1
| | | | | | | | 2004-09-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_editable_from_value): Initialise position passed to gtk_editable_insert_text().
* Add api to show a context menu. Useful to make distinction between key andMarco Pesenti Gritti2004-09-152-0/+28
| | | | | | | | | | | | | | | | | | 2004-09-15 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_toggle), (ephy_node_view_popup): * lib/widgets/ephy-node-view.h: Add api to show a context menu. Useful to make distinction between key and mouse events. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb): * src/ephy-history-window.c: (ephy_history_window_show_popup_cb): Use it. Fix #152431
* Better positioning of context menus for treeviews. Fix #152431Marco Pesenti Gritti2004-09-152-7/+62
| | | | | | | | | | | 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-142-11/+11
| | | | | | /apps/epiphany/general/active_extensions. Update documentation a bit (i.e., make sure it actually builds).
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-1317-5242/+507
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Sync.Christian Persch2004-08-241-5/+8
| | | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: (ephy_label_ensure_layout), (ephy_label_size_allocate): Sync.
* Just use the popup_menu signal. Fixes bug #150830.Christian Persch2004-08-231-18/+3
| | | | | | | | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb), (ephy_node_view_button_press_cb), (ephy_node_view_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb), (ephy_bookmarks_editor_construct): * src/ephy-history-window.c: (ephy_history_window_show_popup_cb), (ephy_history_window_construct), (ephy_history_window_dispose): Just use the popup_menu signal. Fixes bug #150830.
* Fix a warning when moving tabs between windows; see bug #150822.Christian Persch2004-08-231-1/+4
| | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: (ephy_label_size_allocate): Fix a warning when moving tabs between windows; see bug #150822.
* Change guint to correct enum type.Christian Persch2004-08-182-3/+3
| | | | | | | | | | | 2004-08-18 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_render): * lib/widgets/ephy-tree-model-node.c: * src/ephy-completion-model.c: Change guint to correct enum type.
* Remove unused variables.Christian Persch2004-08-111-4/+0
| | | | | | | | | 2004-08-11 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source), (egg_editable_toolbar_set_model): Remove unused variables.
* Fix object property naming leftover from EggMenuMerge days, to UI manager.Christian Persch2004-08-104-55/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2004-08-09 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-08-101-7/+2
| | | | | * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_deconstruct):
* Fix compilation with gcc 2.95.Christian Persch2004-08-091-4/+2
| | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (compare_actions): Fix compilation with gcc 2.95.
* Note original cvs versionsChristian Persch2004-08-092-0/+4
|
* Include config.h upfront.Christian Persch2004-08-091-4/+4
| | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: Include config.h upfront.
* Only use this for gtk < 2.5.1, and just add a few #defines otherwise.Christian Persch2004-08-092-1/+23
| | | | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: * lib/widgets/ephy-label.h: Only use this for gtk < 2.5.1, and just add a few #defines otherwise.
* R lib/widgets/ephy-ellipsizing-label.c: RChristian Persch2004-08-086-856/+3623
| | | | | | | | | | | | | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * lib/widgets/Makefile.am: R lib/widgets/ephy-ellipsizing-label.c: R lib/widgets/ephy-ellipsizing-label.h: A lib/widgets/ephy-label.c: A lib/widgets/ephy-label.h: * src/ephy-notebook.c: (sync_label), (build_tab_label): * src/pdm-dialog.c: (show_cookies_properties): * src/prefs-dialog.c: (create_download_path_label), (download_path_response_cb): Kill our ellipsizing label implementation, and import GtkLabel into our prefix. * configure.in: Depend on pango 1.5.1 for ellipsisation support.
* Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioningChristian Persch2004-08-063-55/+56
| | | | | | | | | | | | | | | | | | | 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.
* Small code style cleanups.Christian Persch2004-07-312-56/+62
| | | | | | | | | | | | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type), (toolbars_toolbar_new), (toolbars_item_new), (egg_toolbars_model_set_flags), (egg_toolbars_model_add_separator), (impl_add_item), (egg_toolbars_model_add_toolbar), (egg_toolbars_model_class_init), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_get_item_id), (egg_toolbars_model_get_item_data), (egg_toolbars_model_get_item_type): * lib/egg/egg-toolbars-model.h: Small code style cleanups.
* Free node data and destroy nodes on finalize.Christian Persch2004-07-311-10/+21
| | | | | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (free_toolbar_node), (free_item_node), (free_toolbar), (egg_toolbars_model_finalize), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item): Free node data and destroy nodes on finalize.
* Fix a call to egg_toolbars_model_set_flags().Christian Persch2004-07-301-2/+3
| | | | | | | | 2004-07-29 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (parse_toolbars): Fix a call to egg_toolbars_model_set_flags().
* Switch parameter order for egg_toolbars_model_set_flags().Christian Persch2004-07-262-4/+4
| | | | | | | | | | | | 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().
* Make egg_toolbar_editor_add_action public again.Christian Persch2004-07-242-1/+4
| | | | | | | | | 2004-07-24 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: * lib/egg/egg-toolbar-editor.h: Make egg_toolbar_editor_add_action public again.
* Do not remove the topic when rename is cancelled.Marco Pesenti Gritti2004-07-232-3/+13
| | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (cell_renderer_edited), (renderer_editing_canceled_cb), (ephy_node_view_init), (ephy_node_view_edit): * lib/widgets/ephy-node-view.h: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_add_topic), (cmd_rename): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_new_topic): Do not remove the topic when rename is cancelled.
* Add support for toggles. When editing is canceled remove the node.Marco Pesenti Gritti2004-07-233-22/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-marshal.list: * lib/widgets/ephy-node-view.c: (path_toggled), (ephy_node_view_key_press_cb), (get_selection_refs), (ephy_node_view_button_press_cb), (cell_renderer_edited), (renderer_editing_canceled_cb), (ephy_node_view_add_column), (ephy_node_view_init), (ephy_node_view_edit), (ephy_node_view_constructor), (ephy_node_view_add_toggle), (ephy_node_view_class_init): * lib/widgets/ephy-node-view.h: Add support for toggles. When editing is canceled remove the node. * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type), (ephy_topics_selector_set_bookmarks), (ephy_topics_selector_set_property), (ephy_topics_selector_apply), (provide_toggle), (ephy_topics_selector_constructor), (topic_destroy_cb), (node_toggled_cb), (ephy_topics_selector_init), (ephy_topics_selector_new), (ephy_topics_selector_new_topic), (ephy_topics_selector_class_init): * src/bookmarks/ephy-topics-selector.h: Use EphyNodeView instead of a list store. Share a lot of code and we get updating for free. Fix bug #144770
* Simplify node view filtering code and make it a normal property (no moreMarco Pesenti Gritti2004-07-233-118/+70
| | | | | | | | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (filter_changed_cb), (ephy_node_view_set_filter), (ephy_node_view_set_property), (ephy_node_view_init), (ephy_node_view_select_node), (filter_visible_func), (ephy_node_view_constructor), (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_set_property), (ephy_tree_model_node_get_property), (ephy_tree_model_node_class_init), (ephy_tree_model_node_init), (ephy_tree_model_node_new), (ephy_tree_model_node_get_column_type), (ephy_tree_model_node_get_value): * lib/widgets/ephy-tree-model-node.h: * src/prefs-dialog.c: (create_node_combo): Simplify node view filtering code and make it a normal property (no more constructor only)
* Use gobject constructorMarco Pesenti Gritti2004-07-231-118/+113
| | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_new), (ephy_node_view_constructor), (ephy_node_view_class_init): Use gobject constructor
* Ignore the microseconds part of the g_timer_elapsed call, its redundantChristian Persch2004-07-231-4/+3
| | | | | | | | | | | 2004-07-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: (ephy_profiler_dump): Ignore the microseconds part of the g_timer_elapsed call, its redundant information, and breaks when the timer is over a second. (ported from galeon).
* Handle the case where the downloads dir cannot be created gracefully. FixMarco Pesenti Gritti2004-07-222-4/+12
| | | | | | | | | | | | 2004-07-22 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_ensure_dir_exists): * lib/ephy-file-helpers.h: Handle the case where the downloads dir cannot be created gracefully. Fix #146902
* Add disable_quit, disable_new_window, first_window_fullscreen lockdownMarco Pesenti Gritti2004-07-191-0/+2
| | | | | | | | | | | | | | | 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-152-65/+126
| | | | | | | | | | | | | | | | | | | 2004-07-14 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (compare_string_values), (ephy_node_view_sort_func), (ephy_node_view_add_data_column), (ephy_node_view_add_column), (ephy_node_view_set_priority), (ephy_node_view_set_sort), (ephy_node_view_init): * lib/widgets/ephy-node-view.h: Improve sort/priority API. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-history-window.c: (ephy_history_window_construct): Sort history items by last visit
* *** empty log message ***Marco Pesenti Gritti2004-07-111-1/+2
|
* Add api to move items.Marco Pesenti Gritti2004-07-112-0/+36
| | | | | | | | | | | | | | | | | | 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.
* When moving in the same toolbar force GDK_ACTION_MOVE. Fix #145529Marco Pesenti Gritti2004-07-091-0/+5
| | | | | | | | | 2004-07-08 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): When moving in the same toolbar force GDK_ACTION_MOVE. Fix #145529
* Cache the scaled spinner images to make creating new spinners very fast,Christian Persch2004-07-051-303/+516
| | | | | | | | | | | | | | | | | | | | | 2004-07-05 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_images_free), (ephy_spinner_images_copy), (ephy_spinner_cache_unload), (extract_frame), (ephy_spinner_cache_load), (compare_size), (scale_to_size), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize), (ephy_spinner_cache_class_init), (ephy_spinner_cache_ref), (ephy_spinner_load_images), (ephy_spinner_unload_images), (icon_theme_changed_cb), (ephy_spinner_init), (select_spinner_image), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_set_size), (ephy_spinner_size_request), (ephy_spinner_finalize), (ephy_spinner_class_init): Cache the scaled spinner images to make creating new spinners very fast, now that we use so many of them.
* Add profiler calls.Christian Persch2004-07-031-0/+9
| | | | | | | | 2004-07-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_load_images): Add profiler calls.
* Add G_[BEGIN|END]_DECLSChristian Persch2004-07-031-21/+22
|
* Codestyle and whitespace cleanupChristian Persch2004-07-032-59/+60
|
* R data/art/epiphany-tab-loading.gif:Christian Persch2004-07-032-41/+61
| | | | | | | | | | | | | | | | 2004-07-02 Christian Persch <chpe@cvs.gnome.org> * data/art/Makefile.am: R data/art/epiphany-tab-loading.gif: * lib/widgets/ephy-spinner.c: (get_spinner_dimensions), (ephy_spinner_init), (ephy_spinner_expose), (ephy_spinner_unload_images), (scale_to_real_size), (ephy_spinner_set_size), (ephy_spinner_size_request): * lib/widgets/ephy-spinner.h: * src/ephy-notebook.c: (sync_load_status), (build_tab_label): * src/toolbar.c: (fixed_toolbar_reconfigured_cb), (toolbar_init): Remove our tab loading animation and use mini-spinners instead.
* Move in the bookmarks dir.Marco Pesenti Gritti2004-07-023-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* *** empty log message ***Marco Pesenti Gritti2004-07-011-4/+6
|
* Do not allow dragging out of edit mode on ITEMS_ONLY toolbars.Marco Pesenti Gritti2004-07-011-3/+4
| | | | | | | | 2004-07-01 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): Do not allow dragging out of edit mode on ITEMS_ONLY toolbars.
* Popup blocking support. View -> Popup Windows.Adam Hooper2004-07-012-0/+2
|
* Set sane_state to TRUE from user changes, otherwise broken prefs willChristian Persch2004-06-291-0/+8
| | | | | | | | | | 2004-06-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (changed_cb): Set sane_state to TRUE from user changes, otherwise broken prefs will never get overwritten.
* Use guint consistently for node idsMarco Pesenti Gritti2004-06-242-8/+8
| | | | | | | | | | | | | | | | | | | | | | 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
* Factor out the helper to select a treeview row by column and use it alsoMarco Pesenti Gritti2004-06-223-55/+71
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Check for empty attributes before adding the item when parsing theChristian Persch2004-06-211-8/+11
| | | | | | | | | | 2004-06-21 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_flags), (parse_item_list), (parse_toolbars): Check for empty attributes before adding the item when parsing the toolbars file. Should fix bug #144698.
* Whoops. Um. Fixed the build.Adam Hooper2004-06-211-0/+1
|
* Go back to construction the toolbar when the model is set, fixes bugChristian Persch2004-06-162-68/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Allow items to be dragged from toolbar editor also when in items onlyMarco Pesenti Gritti2004-06-132-2/+4
| | | | | | | | | | | | | 2004-06-12 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): Allow items to be dragged from toolbar editor also when in items only mode. * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_add_separator): The type should be the same as tool items.
* Make spinner not use a visible window, and fix coordinates accordingly.Christian Persch2004-06-121-6/+7
| | | | | | | | | | 2004-06-12 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_new), (ephy_spinner_init), (ephy_spinner_expose): Make spinner not use a visible window, and fix coordinates accordingly. Patch by Crispin Flowerday, fixes bug #134686.
* Merging bookmarksbar-separation branch.Christian Persch2004-06-117-93/+293
| | | | | | 2004-06-10 Christian Persch <chpe@cvs.gnome.org> Merging bookmarksbar-separation branch.
* s/get_item_name/get_item_dataMarco Pesenti Gritti2004-06-103-22/+36
| | | | | | | | | | | | | | | | | | | 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.
* Retain custom types when moving items aroundMarco Pesenti Gritti2004-06-094-39/+59
| | | | | | | | | | | | | | | 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
* Update from libeggAdam Hooper2004-06-011-21/+11
|
* Revert varargs change, it doesn't work for LOG("Message") withoutChristian Persch2004-05-291-11/+0
| | | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.h: Revert varargs change, it doesn't work for LOG("Message") without arguments.
* Use ISO style variable argument macros. Patch by Brian Cameron, part ofChristian Persch2004-05-291-0/+11
| | | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.h: Use ISO style variable argument macros. Patch by Brian Cameron, part of bug #141319.
* Add check for 'mkdtemp', since solaris doesn't have it.Christian Persch2004-05-291-0/+4
| | | | | | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: Add check for 'mkdtemp', since solaris doesn't have it. * lib/ephy-file-helpers.c: (ephy_file_tmp_dir): Error out if we don't have mkdtemp.
* Don't return a value in void function, part of bug #141319.Christian Persch2004-05-291-1/+1
| | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_construct): Don't return a value in void function, part of bug #141319.
* Set the drag icon on realize, otherwise the current icon theme isn't used,Crispin Flowerday2004-05-221-21/+22
| | | | | | | | | | | 2004-05-22 Crispin Flowerday <gnome@flowerday.cx> * libegg/toolbareditor/egg-toolbar-editor.c (event_box_realize_cb), (editor_create_item): Set the drag icon on realize, otherwise the current icon theme isn't used, and it falls back to the default theme.
* Backported fixes from gtk+ cvs head.Christian Persch2004-05-201-17/+19
| | | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_init), (compute_dimensions), (ephy_cell_renderer_progress_get_size), (ephy_cell_renderer_progress_render): Backported fixes from gtk+ cvs head.
* Fix mem leak.Christian Persch2004-05-161-3/+7
| | | | | | | | | | 2004-05-15 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_value_from_editable), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_combo_box_from_value): Fix mem leak.
* Fix mem leaks.'Christian Persch2004-05-161-0/+3
| | | | | | | | 2004-05-15 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_finalize): Fix mem leaks.'
* Backport changed from the new gtkcellrendererprogress which was based onChristian Persch2004-05-132-240/+328
| | | | | | | | | | | | | | | | | | | | 2004-05-12 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_class_init), (ephy_cell_renderer_progress_init), (ephy_cell_renderer_progress_new), (ephy_cell_renderer_progress_finalize), (ephy_cell_renderer_progress_get_property), (ephy_cell_renderer_progress_set_property), (ephy_cell_renderer_progress_set_value), (ephy_cell_renderer_progress_set_text), (compute_dimensions), (ephy_cell_renderer_progress_get_size), (ephy_cell_renderer_progress_render): * lib/widgets/ephy-cell-renderer-progress.h: Backport changed from the new gtkcellrendererprogress which was based on ephy's, to support RTL.
* Fix compilation with gcc 2.95.Christian Persch2004-05-121-1/+2
| | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_combo_box_from_value): Fix compilation with gcc 2.95.
* Add convenience functions for creating a filter with a bunch of mime typesChristian Persch2004-05-092-4/+131
| | | | | | | | | | | | | | | | | | | | | | 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.
* title added back to dialog - see notes on bug #133152Patanjali Somayaji2004-05-031-1/+1
| | | | | | | | 2004-05-03 Patanjali Somayaji <patanjali@codito.com> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): title added back to dialog - see notes on bug #133152
* More HIGifying of the overwrite confirmation dialog - - title removed fromPatanjali Somayaji2004-05-031-1/+2
| | | | | | | | | | 2004-05-03 Patanjali Somayaji <patanjali@codito.com> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): More HIGifying of the overwrite confirmation dialog - - title removed from dialog - dialog removed from window list
* Make Escape cancel overwrite dialog.Piers Cornwell2004-05-031-20/+16
| | | | | | | | 2004-05-02 Piers Cornwell <piers@gnome.org> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): Make Escape cancel overwrite dialog.
* More HIG love for overwrite confirmation. Partial fix for bug #133152.Piers Cornwell2004-04-301-3/+5
| | | | | | | | 2004-04-30 Piers Cornwell <piers@gnome.org> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): More HIG love for overwrite confirmation. Partial fix for bug #133152.
* HIGified dialog created with "Cancel" and "Overwrite" buttons.Patanjali Somayaji2004-04-291-11/+38
| | | | | | | | | | | | | | 2204-04-29 Patanjali Somayaji <patanjali@codito.com> * lib/ephy-gui.c ephy_gui_confirm_overwrite () changes: HIGified dialog created with "Cancel" and "Overwrite" buttons. (Fix for bug #133152) * Changelog updated
* Document UTF-8 requirement.Christian Persch2004-04-222-2/+2
| | | | | | | | | | | | | | | 2004-04-22 Christian Persch <chpe@cvs.gnome.org> * HACKING: Document UTF-8 requirement. * lib/widgets/ephy-cell-renderer-progress.c: * lib/widgets/ephy-cell-renderer-progress.h: * src/bookmarks/ephy-bookmarks-menu.h: * ChangeLog: Converted to UTF-8.
* Documented EphyGladeAdam Hooper2004-04-201-5/+19
|
* Fix font selection combo box issues; fixes bug #138560.Christian Persch2004-04-182-66/+86
| | | | | | | | | | | | | | | | 2004-04-18 Christian Persch <chpe@cvs.gnome.org> * configure.in: * lib/ephy-dialog.c: (set_value_from_editable), (set_value_from_combobox), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_value_from_info), (set_combo_box_from_value), (set_pref_from_info_and_emit), (save_info), (ephy_dialog_get_value): * lib/ephy-dialog.h: * src/prefs-dialog.c: (setup_font_combo): Fix font selection combo box issues; fixes bug #138560.
* Resync with eggMarco Pesenti Gritti2004-04-174-4/+23
| | | | | | | | | | | | 2004-04-17 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/Makefile.am: * lib/egg/egg-editable-toolbar.c: (set_drag_cursor): * lib/egg/egg-toolbar-editor.c: (set_drag_cursor): * lib/egg/eggstatusicon.c: (egg_status_icon_init), (egg_status_icon_button_press), (egg_status_icon_button_release): Resync with egg
* Add "Downloads" folder shortcut to our file chooser dialogues.Christian Persch2004-04-141-0/+21
| | | | | | | | | 2004-04-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor), (ephy_file_chooser_class_init): Add "Downloads" folder shortcut to our file chooser dialogues.
* Don't quit the filechooser when selecting "No" from the confirm- overwriteChristian Persch2004-04-101-2/+8
| | | | | | | | | | | | | | | 2004-04-09 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: Don't quit the filechooser when selecting "No" from the confirm- overwrite dialoge. Fixes bug #139400. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): Convert the filename to UTF-8 before showing it in the confirm dialogue.
* Change initial refcound of EphyNode to 1, not 0Adam Hooper2004-04-101-1/+1
|
* Remove unused variable.Christian Persch2004-04-071-2/+0
| | | | | | | | 2004-04-07 Christian Persch <chpe@cvs.gnome.org> * lib/eel-gconf-extensions.c: (eel_gconf_handle_error): Remove unused variable.
* Don't abort on errors, just display a message on console.Christian Persch2004-04-071-11/+0
| | | | | | | | 2004-04-07 Christian Persch <chpe@cvs.gnome.org> * lib/eel-gconf-extensions.c: (eel_gconf_handle_error): Don't abort on errors, just display a message on console.
* Make prefs, pdm and print setup dialogues transient to their parent. FixesChristian Persch2004-04-062-1/+14
| | | | | | | | | | | | | | 2004-04-05 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * lib/ephy-dialog.c: (ephy_dialog_get_parent): * lib/ephy-dialog.h: * src/prefs-dialog.c: (prefs_homepage_current_button_clicked_cb): * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_edit_personal_data), (window_cmd_edit_prefs): Make prefs, pdm and print setup dialogues transient to their parent. Fixes bug #139124.
* Documented EphyNodeDbAdam Hooper2004-04-052-13/+108
|
* Synchronise changes from galeon, this fixes simple usage, stops crashesCrispin Flowerday2004-04-033-16/+44
| | | | | | | | | | | | | | | 2004-04-03 Crispin Flowerday <gnome@flowerday.cx> * lib/egg/egg-editable-toolbar.c: (set_fixed_style), (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbars_clean), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_model): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_load_actions): * lib/egg/egg-toolbars-model.h: Synchronise changes from galeon, this fixes simple usage, stops crashes when dragging items to and from other applications, and adds the ability to override the toolbar style.
* Removed the nautilus view.Christian Persch2004-03-303-142/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/.cvsignore: * data/GNOME_Epiphany_NautilusView.server.in: * data/Makefile.am: * data/ui/.cvsignore: * data/ui/Makefile.am: * data/ui/nautilus-epiphany-view.xml: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-popup-control.c: * embed/ephy-embed-popup-control.h: * lib/Makefile.am: * lib/ephy-bonobo-extensions.c: * lib/ephy-bonobo-extensions.h: * po/POTFILES.in: * src/Makefile.am: * src/ephy-nautilus-view.c: * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_automation_factory_cb): Removed the nautilus view. 2004-03-29 Christian Persch <chpe@cvs.gnome.org>
* Fixes #138263.Federico Mena Quintero2004-03-302-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Federico Mena Quintero <federico@ximian.com> Fixes #138263. * lib/ephy-file-chooser.h: Remove EPHY_RESPONSE_OPEN and EPHY_RESPONSE_SAVE; we'll use GTK_RESPONSE_ACCEPT instead. * lib/ephy-file-chooser.c (ephy_file_chooser_new): Use GTK_RESPONSE_ACCEPT rather than EPHY_RESPONSE_*. * embed/print-dialog.c (print_filechooser_response_cb): Likewise. * src/bookmarks/ephy-bookmarks-editor.c (import_from_file_response_cb): Likewise. * src/prefs-dialog.c (download_path_response_cb): Likewise. * src/window-commands.c (open_response_cb): Likewise. * embed/mozilla/ContentHandler.cpp (PromptForSaveToFile): Likewise. * embed/mozilla/EphyHeaderSniffer.cpp (filechooser_response_cb): Likewise. * embed/mozilla/FilePicker.cpp (Init): Likewise. (Show): Likewise.
* Register our stock icons.Christian Persch2004-03-271-9/+12
| | | | | | | | | | | | 2004-03-27 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Register our stock icons. * embed/mozilla/ContentHandler.cpp: Use stock icon for "Download".
* Make select-by-key support unsorted lists. Fuzzy matching is gone though.Xan Lopez2004-03-191-1/+1
| | | | | | | | * lib/widgets/ephy-node-view.c: (ephy_node_view_select_node_by_key): Make select-by-key support unsorted lists. Fuzzy matching is gone though. Oh well ... :) (bug #137054)
* *** empty log message ***Marco Pesenti Gritti2004-03-171-1/+0
|
* merging pre-gnome-2-8 branchMarco Pesenti Gritti2004-03-1728-8/+94
|
* Deal with the case where data_received signal is emitted asyncrounously.Marco Pesenti Gritti2004-03-141-13/+9
| | | | | | | | | | 2004-03-14 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_received_cb), (toolbar_drag_motion_cb), (egg_editable_toolbar_init): Deal with the case where data_received signal is emitted asyncrounously.
* Check if the dragged item is a separator. Fixes crash when it _is_ aChristian Persch2004-03-092-2/+9
| | | | | | | | | | | | | | | | | | | | 2004-03-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (editor_drag_data_received_cb): Check if the dragged item is a separator. Fixes crash when it _is_ a separator. * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_remove_toolbar): Fix logic check for removable toolbar, & instead of &&. * src/ephy-location-action.c: (create_menu_proxy_cb), (connect_proxy), (ephy_location_action_activate): Don't make a proxy menu item for the location entry. Fixes crash when trying to activate its proxy menu item.
* Don't assume Desktop directory location, check the gconf key if it'sChristian Persch2004-03-051-2/+17
| | | | | | | | | 2004-03-05 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_downloads_dir): Don't assume Desktop directory location, check the gconf key if it's $HOME/Desktop or $HOME. Fixes bug #134951.
* Copy and modify gnome_vfs_uri_list_parse() so that we get a list of stringChristian Persch2004-03-042-4/+57
| | | | | | | | | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (uri_list_parse), (drag_data_received_cb): Copy and modify gnome_vfs_uri_list_parse() so that we get a list of string uris instead of GnomeVFSURIs. Change signature of ::node-dropped accordingly. Fixes bug #120231. * src/bookmarks/ephy-bookmarks-editor.c: (node_dropped_cb): Adapt to the changed ::node-dropped signal signature.
* Don't remember the size of the filechoose dialogue, because it doesn'tChristian Persch2004-03-031-5/+0
| | | | | | | | | | 2004-03-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_init): Don't remember the size of the filechoose dialogue, because it doesn't play nicely with the new save mode when toggling the expander. Fixes bug #135947.
* The icon should be activated by double clickMarco Pesenti Gritti2004-03-021-20/+1
| | | | | | | | | 2004-03-01 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/eggstatusicon.c: (egg_status_icon_init), (egg_status_icon_button_press): The icon should be activated by double click
* Guard against xml reading error, check for NULL subtree before trying toChristian Persch2004-03-011-3/+5
| | | | | | | | | 2003-03-01 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node-db.c: (ephy_node_db_load_from_file): Guard against xml reading error, check for NULL subtree before trying to parse it.
* Sucky but not intrusive hack to make dnd on the address entry work whenMarco Pesenti Gritti2004-02-283-0/+59
| | | | | | | | | | | | | | | | 2004-02-28 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_edit_mode): * lib/egg/egg-editable-toolbar.h: * lib/widgets/ephy-location-entry.c: (toolbar_is_editable), (entry_drag_motion_cb), (entry_drag_drop_cb), (ephy_location_entry_construct_contents): Sucky but not intrusive hack to make dnd on the address entry work when editing toolbar. A better solution will be found when the toolbar editor will get in gtk. Based on a patch from Søren Sandmann, bug 132467.
* Remove an useless check.Marco Pesenti Gritti2004-02-281-2/+10
| | | | | | | | | | | | | 2004-02-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Remove an useless check. * lib/ephy-state.c: (ephy_state_window_set_size): Make sure window is never bigger than screen.
* Fix for gtk+ filechooser API change.Christian Persch2004-02-271-2/+4
| | | | | | | | | | | 2004-02-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_init), (ephy_file_chooser_new): * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): Fix for gtk+ filechooser API change.
* Add $ markersChristian Persch2004-02-223-0/+6
|
* Removed an unused #include.Christian Persch2004-02-224-5/+3
| | | | | | | | | 2004-02-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.h: * lib/ephy-glade.c: Removed an unused #include.
* Always connect signals, not just for PT_AUTOAPPLY props.Christian Persch2004-02-221-3/+0
| | | | | | | | 2004-02-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (connect_signals): Always connect signals, not just for PT_AUTOAPPLY props.
* Fix logic error, spotted by Crispin.Christian Persch2004-02-212-3/+3
| | | | | | | | | | | | 2004-02-20 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (popup_toolbar_context_menu_cb): Fix logic error, spotted by Crispin. * lib/egg/egg-toolbars-model.h: Make it clear that EggTbModelFlags is a bitfield enum.
* #ifdef HAVE_CONFIG_H the inclusion of config.h.Christian Persch2004-02-201-1/+4
| | | | | | | | 2004-02-20 Christian Persch <chpe@cvs.gnome.org> * lib/eel-gconf-extensions.c: #ifdef HAVE_CONFIG_H the inclusion of config.h.
* Remove duplicate entry for ephy-gui.h.Christian Persch2004-02-201-1/+0
| | | | | | | | 2004-02-20 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: Remove duplicate entry for ephy-gui.h.
* Fix off-by-one error when computing the height of the table.Christian Persch2004-02-191-1/+3
| | | | | | | | 2004-02-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (update_editor_sheet): Fix off-by-one error when computing the height of the table.
* When removing a toolbar, make its items available again in the toolbarChristian Persch2004-02-192-19/+44
| | | | | | | | | | | | 2004-02-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_class_init), (update_actions_list), (egg_toolbar_editor_load_actions): * lib/egg/egg-toolbar-editor.h: When removing a toolbar, make its items available again in the toolbar editor. Fixes bug #131182.
* Remove the toolbar height contraint when the first item is added to it.Christian Persch2004-02-181-3/+6
| | | | | | | | | | 2004-02-17 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (item_added_cb), (item_removed_cb), (egg_editable_toolbar_construct): Remove the toolbar height contraint when the first item is added to it. Fixes bug #131181.
* Don't set entries insensitive, only set the non-editable when the gconfChristian Persch2004-02-131-0/+4
| | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_sensitivity): Don't set entries insensitive, only set the non-editable when the gconf key isn't writable.
* Fix numerous places where we weren't properly converting between UTF-8 andChristian Persch2004-02-132-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-popup-control.c: (save_url), (embed_popup_set_image_as_background_cmd): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_class_init), (favicon_name_build), (favicon_download_completed_cb), (ephy_favicon_cache_get): * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_set_persist_key): * lib/ephy-file-helpers.c: (ephy_file_downloads_dir): * src/popup-commands.c: (popup_cmd_set_image_as_background): * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb): Fix numerous places where we weren't properly converting between UTF-8 and filename encoding. * embed/ephy-favicon-cache.c: Bump favicon cache xml version. * embed/mozilla/EphyHeaderSniffer.cpp: Fix mem leak, and use CONF_STATE_SAVE_DIR instead of the download dir key for directory persistence.
* 2004-02-12 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-02-131-0/+6
| | | | | | * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf):
* Simplify and hopefully fix mem corruptionMarco Pesenti Gritti2004-02-121-5/+3
| | | | | | | | 2004-02-12 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (keyword_match): Simplify and hopefully fix mem corruption
* CleanupMarco Pesenti Gritti2004-02-111-3/+3
| | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Cleanup * src/bookmarks/ephy-bookmarks.c: Increase format version
* Better keyword matching function. Should match only words (not middleMarco Pesenti Gritti2004-02-111-1/+36
| | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (keyword_match), (completion_func): Better keyword matching function. Should match only words (not middle parts of them) and maybe be a bit faster.
* Pass the property id to the changed signal.Marco Pesenti Gritti2004-02-114-34/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-node.c: (callback), (child_changed), (ephy_node_set_property): Pass the property id to the changed signal. * lib/ephy-node.h: Cleanup. * embed/ephy-history.c: (hosts_changed_cb), (pages_changed_cb): * lib/widgets/ephy-location-entry.c: (completion_func): * lib/widgets/ephy-tree-model-node.c: (root_child_changed_cb): * src/bookmarks/ephy-bookmark-action.c: (bookmarks_child_changed_cb): * src/bookmarks/ephy-bookmarks-menu.c: (topic_child_changed_cb): * src/bookmarks/ephy-topic-action.c: (topic_child_changed_cb): * src/ephy-completion-model.c: (root_child_changed_cb): * src/ephy-location-action.c: (actions_child_changed_cb): Fixup changed signals signature. * src/bookmarks/ephy-bookmarks.c: (update_bookmark_keywords), (bookmarks_changed_cb), (bookmark_is_categorized), (topics_removed_cb), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): Cleanup keywords building, normalize and case fold it, add the title words as keywords too.
* Include config.h.Christian Persch2004-02-091-0/+6
| | | | | | | | | 2004-02-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: * embed/ephy-embed-popup-control.c: Include config.h.
* Fix toolbar overflow menu creation. Don't connect zoom control signals toChristian Persch2004-02-053-87/+88
| | | | | | | | | | | | | | 2004-02-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type), (zoom_to_level_cb), (connect_proxy), (proxy_menu_activate_cb), (create_menu_item), (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/ephy-history-window.c: (cmd_delete), Fix toolbar overflow menu creation. Don't connect zoom control signals to a menu item.
* Fix mem leak.Christian Persch2004-02-051-1/+1
| | | | | | | | | 2004-02-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_finalize): Fix mem leak.
* typo in icon nameMarco Pesenti Gritti2004-02-021-1/+1
| | | | | | | | 2004-02-01 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-stock-icons.h: typo in icon name
* Only try to rmdir() the tmp directory if we have one.Christian Persch2004-01-271-3/+6
| | | | | | | | 2004-01-27 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown): Only try to rmdir() the tmp directory if we have one.
* Correct a translator name.Marco Pesenti Gritti2004-01-261-42/+46
| | | | | | | | | | | | | | | | | | 2004-01-25 Marco Pesenti Gritti <marco@gnome.org> * NEWS: Correct a translator name. * embed/mozilla/ContentHandler.cpp: Really cancel the download when the user told so. * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_run), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add default width/height properties.
* ==> ChangeLog <==Christian Persch2004-01-261-0/+1
| | | | | | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_finalize): Fix mem leak. 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_finalize):
* Fix mem leak.Christian Persch2004-01-261-0/+5
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_finalize): Fix mem leak.
* 2004-01-25 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-01-261-9/+3
| | | | | * lib/ephy-node-filter.c: (ephy_node_filter_finalize), (ephy_node_filter_new), (ephy_node_filter_add_expression):
* Fix mem leak.Christian Persch2004-01-261-1/+1
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node-db.c: (ephy_node_db_finalize): Fix mem leak.
* Fixed early freeing of tmp_dirAdam Hooper2004-01-251-4/+10
|
* Fix mem leaks.Christian Persch2004-01-251-2/+2
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Fix mem leaks.
* Fix mem leaks.Christian Persch2004-01-251-4/+3
| | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_tmp_dir), (ephy_file_tmp_filename): Fix mem leaks.
* Fix mem leaks.Christian Persch2004-01-251-3/+2
| | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_value_from_pref), (set_combo_box_from_value): Fix mem leaks.
* Add a way to get the downloads dir with a comment for translators. Use dirMarco Pesenti Gritti2004-01-252-2/+17
| | | | | | | | | | | | | | | | | | | 2004-01-25 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-file-helpers.c: (ephy_file_tmp_dir), (ephy_file_downloads_dir): * lib/ephy-file-helpers.h: Add a way to get the downloads dir with a comment for translators. Use dir instead of directory consistently with the other functions. * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): * src/window-commands.c: (save_temp_source): Use the helper.
* Remove totally wrong comment before ephy_string_blank_chrAdam Hooper2004-01-251-10/+0
|
* Make ephy_file_tmp_directory() return a const char * instead of a char *Adam Hooper2004-01-252-2/+2
|
* Prepare for 1.1.5Marco Pesenti Gritti2004-01-251-3/+10
| | | | | | | | | | | | 2004-01-24 Marco Pesenti Gritti <marco@gnome.org> * configure.in: Prepare for 1.1.5 * lib/ephy-dialog.c: (setup_default_size): Fix a bug with downloader dialog size persistance
* Use our eel_gconf_set_path() function to persist the directory.Christian Persch2004-01-241-16/+10
| | | | | | | | | 2004-01-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type), (current_folder_changed_cb): Use our eel_gconf_set_path() function to persist the directory.
* Add a persist-position property.Marco Pesenti Gritti2004-01-241-1/+21
| | | | | | | | | | | | | | | | | | | | 2004-01-24 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add a persist-position property. * embed/downloader-view.c: (downloader_view_new): Persist downloader position. * src/prefs-dialog.c: (get_download_button_label): * embed/mozilla/MozDownload.cpp: * data/epiphany.schemas.in: Default to ~/Desktop/Downloads.
* Sometimes reading gnomedesktop flames is useful:Marco Pesenti Gritti2004-01-241-1/+1
| | | | | | | | | | | | | | 2004-01-23 Marco Pesenti Gritti <marco@gnome.org> * data/epiphany.schemas.in: * lib/ephy-prefs.h: * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): * src/popup-commands.c: (save_property_url): Sometimes reading gnomedesktop flames is useful: Do not use the same pref of 1.0 for the download dir. Use a different key for Save Link As.
* Allow passing the translation domain to ephy_dialog_construct, to makeChristian Persch2004-01-244-14/+27
| | | | | | | | | | | | | | | | | | | | | 2004-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * lib/ephy-dialog.c: (impl_construct), (ephy_dialog_construct): * lib/ephy-dialog.h: * lib/ephy-glade.c: (ephy_glade_widget_new): * lib/ephy-glade.h: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (setup_add_language_dialog), (prefs_dialog_init): Allow passing the translation domain to ephy_dialog_construct, to make extension's dialogues translatable. Fix all callers.
* New function to get temp directory and moved ephy_shell_delete_on_exit toChristopher James Lahey2004-01-233-19/+69
| | | | | | | | | | | | | | | | | | 2004-01-22 Christopher James Lahey <clahey@ximian.com> * lib/ephy-file-helpers.c, lib/ephy-file-helpers.h (ephy_file_tmp_directory, ephy_file_delete_on_exit): New function to get temp directory and moved ephy_shell_delete_on_exit to here. * lib/widgets/ephy-location-entry.c: Changed how this goes about showing itself when hidden and activated. * src/ephy-shell.c, src/ephy-shell.h (ephy_shell_delete_on_exit): Moved to ephy_file_delete_on_exit. * src/window-commands.c: Changed ephy_shell_delete_on_exit to ephy_file_delete_on_exit. Used ephy_file_tmp_directory to save source files for viewing in a directory that isn't world readable.
* Call ephy_file() explicitly for each glade file, letting extensions load ↵Adam Hooper2004-01-221-5/+1
| | | | glade files from any path
* Make uri canonical before passing it as launch argument to make vfs happy.Marco Pesenti Gritti2004-01-201-4/+3
| | | | | | | | | | | | | | 2004-01-19 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/MozDownload.cpp: Make uri canonical before passing it as launch argument to make vfs happy. * lib/eel-gconf-extensions.c: (eel_gconf_set_path): Do not mix utf8/locale. Thanks to chpe to notice it.
* Add a way to store paths.Marco Pesenti Gritti2004-01-192-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-19 Marco Pesenti Gritti <marco@gnome.org> * lib/eel-gconf-extensions.c: (tilde_compress), (eel_gconf_set_path): * lib/eel-gconf-extensions.h: Add a way to store paths. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Actually save the file in downloads dir and then open it. It doesnt seem to open it but it's prolly a gnome-vfs bug. * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb): Simplify the label logic using ~.
* *** empty log message ***Marco Pesenti Gritti2004-01-191-1/+1
|
* Introduce ephy_dialog_hide().Christian Persch2004-01-192-0/+11
| | | | | | | | | 2004-01-18 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_hide): * lib/ephy-dialog.h: Introduce ephy_dialog_hide().
* Implement print and print setup disabling for lockdown mode.Christopher James Lahey2004-01-111-0/+3
| | | | | | | | | | | | 2004-01-10 Christopher James Lahey <clahey@ximian.com> * embed/mozilla/PrintingPromptService.cpp: * lib/ephy-prefs.h: * src/ephy-main.c: (main): * src/ephy-window.c: (update_actions), (ephy_window_init), (ephy_window_finalize), (ephy_window_print): Implement print and print setup disabling for lockdown mode.
* Implement history disabling.Christian Persch2004-01-113-23/+32
| | | | | | | | | | | | | | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_get_type), (ephy_history_set_enabled), (ephy_history_set_property), (ephy_history_get_property), (ephy_history_class_init), (page_removed_from_host_cb), (disable_history_notifier), (ephy_history_init), (ephy_history_finalize), (ephy_history_new), (ephy_history_get_host), (ephy_history_visited), (ephy_history_add_page), (ephy_history_set_page_title), (ephy_history_clear), (ephy_history_is_enabled): * embed/ephy-history.h: * lib/ephy-node-db.c: (ephy_node_db_get_property), (ephy_node_db_set_property), (ephy_node_db_set_immutable): * lib/ephy-node-db.h: * lib/ephy-prefs.h: * src/bookmarks/ephy-bookmarks.c: (clear_favorites), (history_cleared_cb), (ephy_setup_history_notifiers): Implement history disabling.
* Added disable_arbitrary_url, disable_toolbar_editing, and disable_historyChristopher James Lahey2004-01-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-09 Christopher James Lahey <clahey@ximian.com> * data/epiphany-lockdown.schemas.in, lib/ephy-prefs.h: Added disable_arbitrary_url, disable_toolbar_editing, and disable_history keys. * src/ephy-automation.c (impl_ephy_automation_loadurl): Make this ignore a url given on the command line if disable_arbitrary_url is on. * src/ephy-notebook.c (notebook_drag_data_received_cb): Made this ignore drags if disable_arbitrary_url is on. * src/ephy-session.c (ephy_session_load): Don't show history window if disable_history is on. * src/ephy-tab.c (ephy_tab_dom_mouse_click_cb): Disable middle click to paste url if disable_arbitrary_url is on. * src/ephy-window.c: Disable menu actions based on disable_arbitrary_url, disable_toolbar_editing, and disable_history keys.
* Added disable_bookmark_editing key.Chris Lahey2004-01-105-14/+67
| | | | | | | | | | | | | | | | | | | | | | * data/epiphany-lockdown.schemas.in, lib/ephy-prefs.h: Added disable_bookmark_editing key. * lib/ephy-node-db.c, ephy-node-db.h, ephy-node.c: Added immutable property. * lib/egg/egg-editable-toolbar.c (drag_data_received_cb, toolbar_drag_motion_cb), src/ephy-toolbars-model.c (impl_get_item_id): Made these handle immutable models/node_dbs. * src/ephy-automation.c, src/ephy-session.c: Don't show the bookmark editor if disabled. * src/ephy-window.c: Disable a bunch of menus if bookmark editing is disabled. * src/bookmarks/ephy-bookmarks-import.c, src/bookmarks/ephy-bookmarks.c: Disable bookmark editing and importing is key is set. Uses immutable property.
* Fixed a logic error in using & instead of && (bug #130919, Telsa Gwynne).Roozbeh Pournader2004-01-091-1/+1
| | | | | | | 2004-01-09 Roozbeh Pournader <roozbeh@sharif.edu> * lib/ephy-state.c: Fixed a logic error in using & instead of && (bug #130919, Telsa Gwynne).
* Wrong identifier here.Chris Lahey2004-01-091-1/+1
|
* Don't save the file if disable_save_to_disk is on.82004-01-081-0/+3
| | | | | | | | | | | | 2004-01-08 <clahey@ximian.com> * embed/mozilla/ContentHandler.cpp (MIMEAskAction): Don't save the file if disable_save_to_disk is on. * lib/ephy-prefs.h (CONF_DISABLE_SAVE_TO_DISK): Added this key here. * src/ephy-window.c (update_actions): Obey disable_save_to_disk. Also, disable toggling view settings if their keys are locked.
* Brought type macros in line with the rest of libegg; and use gobjectChristian Persch2003-12-276-94/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-27 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (find_action), (drag_data_delete_cb), (drag_data_get_cb), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_merge), (egg_editable_toolbar_class_init), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_new): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (find_action), (egg_toolbar_editor_set_merge), (egg_toolbar_editor_set_model), (egg_toolbar_editor_class_init), (egg_toolbar_editor_finalize), (egg_toolbar_editor_new), (editor_drag_data_received_cb), (editor_drag_data_delete_cb), (update_editor_sheet), (setup_editor), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (egg_toolbars_model_add_separator), (impl_add_item), (egg_toolbars_model_add_toolbar), (egg_toolbars_model_load), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_new), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item): * lib/egg/egg-toolbars-model.h: Brought type macros in line with the rest of libegg; and use gobject instance private data. * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type), (update_toolbar_removeable_flag), (ephy_toolbars_model_set_bookmarks), (toolbar_added), (toolbar_removed), (ephy_toolbars_model_new), (ephy_toolbars_model_has_bookmark): * src/ephy-toolbars-model.h: * src/toolbar.c: (toolbar_get_type), (init_normal_mode): Fix crasher bug #129991.
* Fix popup coordinates in RTL mode.Christian Persch2003-12-201-4/+16
| | | | | | | | 2003-12-20 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_menu_position_under_widget): Fix popup coordinates in RTL mode.
* Destroy file chooser with its parent window; fixes crashes.Christian Persch2003-12-201-0/+2
| | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_new): Destroy file chooser with its parent window; fixes crashes.
* Fix more mem leaks.Christian Persch2003-12-171-0/+3
| | | | | | | | 2003-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Fix more mem leaks.
* Fix mem leak.Christian Persch2003-12-171-0/+2
| | | | | | | | 2003-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Fix mem leak.
* *** empty log message ***Marco Pesenti Gritti2003-12-1710-358/+0
|
* Really committing it this timeChristian Persch2003-12-151-1/+2
|
* Convert control chars to blanks.Christian Persch2003-12-142-28/+31
| | | | | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_shorten), (ephy_string_to_int), (ephy_string_blank_chr), (ephy_string_elide_underscores), (ephy_string_double_underscores): * lib/ephy-string.h: * src/ephy-tab.c: (ephy_tab_set_link_message): Convert control chars to blanks.
* Use stock icon for print setup.Christian Persch2003-12-142-1/+3
| | | | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_setup_dialog_new): * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Use stock icon for print setup.
* Use g_signal_connect_object so the signal isn't emitted for a deadChristian Persch2003-12-141-4/+4
| | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_init): Use g_signal_connect_object so the signal isn't emitted for a dead spinner.
* Make toolbar editing drag icons use the same icon size as the actual toolbar ↵Jorn Baayen2003-12-102-9/+63
| | | | icons; sort actiosn in the toolbar editor; give the zoom action a zoom icon.
* Reformatted to conform to epiphany coding style. Fix some error conditionChristian Persch2003-12-091-47/+84
| | | | | | | | | | | | | | | | 2003-12-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_get_type), (ephy_spinner_new), (get_spinner_dimensions), (ephy_spinner_init), (select_spinner_image), (ephy_spinner_expose), (bump_spinner_frame), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_unload_images), (scale_to_real_size), (extract_frame), (ephy_spinner_load_images), (ephy_spinner_set_small_mode): Reformatted to conform to epiphany coding style. Fix some error condition checks, and initialise variables.
* Split print dialogue in print setup and actual print, and move printChristian Persch2003-12-072-96/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-07 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * data/ui/epiphany-ui.xml: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_info_free), (ephy_print_get_print_info), (ephy_print_dialog_response_cb), (print_filechooser_response_cb), (ephy_print_dialog_browse_button_cb), (ephy_print_setup_dialog_close_button_cb), (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * embed/print-dialog.h: * src/ephy-nautilus-view.c: (ephy_nautilus_view_new_component), (gnv_cmd_file_print): * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_class_init), (ephy_automation_factory_cb), (ephy_automation_factory_new), (ephy_shell_init), (server_timeout), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_session), (ephy_shell_get_bookmarks), (ephy_shell_get_toolbars_model), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window), (ephy_shell_get_print_setup_dialog), (ephy_shell_delete_on_exit): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_set_print_preview), (ephy_window_print): * src/ephy-window.h: * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_file_print_preview): * src/window-commands.h: Split print dialogue in print setup and actual print, and move print preview into the menus too. Made print setup a global dialogue, print a per-window dialogue. * lib/ephy-dialog.c: (set_value_from_pref), (set_pref_from_value), (set_value_from_combobox), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_pref_from_info_and_emit), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (changed_cb), (init_props), (load_info), (save_info), (impl_show), (ephy_dialog_set_size_group), (ephy_dialog_construct), (run_response_cb), (ephy_dialog_run), (ephy_dialog_set_parent), (ephy_dialog_class_init), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * src/language-editor.c: (language_editor_class_init): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (fonts_language_changed_cb), (create_fonts_language_menu), (prefs_dialog_init), (prefs_language_more_button_clicked_cb): Slight api change; port callers.
* Use notify::expanded to persist expander state. Bug found by Crispin.Christian Persch2003-12-061-4/+5
| | | | | | | | 2003-12-05 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-state.c: (sync_expander_cb), (ephy_state_add_expander): Use notify::expanded to persist expander state. Bug found by Crispin.
* Remove unused includes.Christian Persch2003-12-041-2/+0
| | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: Remove unused includes.
* Set sensitivity from gconf key writability, and do it right.Christian Persch2003-12-031-4/+1
| | | | | | | | 2003-12-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_info_from_pref): Set sensitivity from gconf key writability, and do it right.
* Remove gtkoptionmenu.h include.Christian Persch2003-12-011-1/+0
| | | | | | | | | | | | | | 2003-11-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: Remove gtkoptionmenu.h include. * src/language-editor.c: (language_editor_add): * src/prefs-dialog.c: (create_language_menu): Make languages list unique; don't allow to add an entry already in the list.
* Readd gtk deprecates (only in maintainer mode).Marco Pesenti Gritti2003-11-303-67/+3
| | | | | | | | | | | | | | | | | | | | | 2003-11-30 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Readd gtk deprecates (only in maintainer mode). * src/ephy-location-action.c: (sync_editable): Use not deprecated api. * lib/ephy-dialog.c: (set_value_from_info), (set_info_from_value), (connect_signals), (init_props): Remove optionmenu deprecated control.
* Forgot even moreChristian Persch2003-11-303-795/+995
|
* Port from option menu to GtkComboBox.Christian Persch2003-11-282-68/+46
| | | | | | | | | | | | 2003-11-28 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type), (proxy_menu_activate_cb), (combo_changed_cb), (sync_zoom_cb), (ephy_zoom_control_init), (ephy_zoom_control_set_tooltip), (ephy_zoom_control_class_init), (ephy_zoom_control_finalize): * lib/widgets/ephy-zoom-control.h: Port from option menu to GtkComboBox.
* Try out a different layout for downloads rows. Make the file columnMarco Pesenti Gritti2003-11-261-1/+1
| | | | | | | | | | | | 2003-11-26 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (update_download_row), (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui): * lib/widgets/ephy-cell-renderer-progress.c: Try out a different layout for downloads rows. Make the file column expand.
* Remove ephy-types.h from Makefile.am, it's long gone.Christian Persch2003-11-241-1/+0
| | | | | | | | 2003-11-24 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: Remove ephy-types.h from Makefile.am, it's long gone.
* Very basic tray icon for downloader.Marco Pesenti Gritti2003-11-238-10/+2284
| | | | | | | | | | | | | 2003-11-23 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * embed/downloader-view.c: (status_icon_activated), (show_status_icon), (downloader_view_init), (downloader_view_finalize), (download_dialog_delete_cb): * lib/egg/Makefile.am: * lib/egg/update-from-egg.sh: Very basic tray icon for downloader.