aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Switch parameter order for egg_toolbars_model_set_flags().Christian Persch2004-07-262-2/+2
| | | | | | | | | | | | 2004-07-26 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_set_flags): * lib/egg/egg-toolbars-model.h: * src/bookmarks/ephy-bookmarksbar-model.c: (update_flags_and_save_changes): * src/ephy-toolbars-model.c: (update_flags_and_save_changes): Switch parameter order for egg_toolbars_model_set_flags().
* Fix "Save Link As" filechooser title, and change capitalisation on theChristian Persch2004-07-251-2/+2
| | | | | | | | | | | 2004-07-25 Christian Persch <chpe@cvs.gnome.org> * src/popup-commands.c: (popup_cmd_download_link), (popup_cmd_download_link_as): Fix "Save Link As" filechooser title, and change capitalisation on the "Download Link" filechooser title. Fixes bug #138208.
* Do not remove the topic when rename is cancelled.Marco Pesenti Gritti2004-07-232-4/+4
| | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (cell_renderer_edited), (renderer_editing_canceled_cb), (ephy_node_view_init), (ephy_node_view_edit): * lib/widgets/ephy-node-view.h: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_add_topic), (cmd_rename): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_new_topic): Do not remove the topic when rename is cancelled.
* Add support for toggles. When editing is canceled remove the node.Marco Pesenti Gritti2004-07-233-315/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-marshal.list: * lib/widgets/ephy-node-view.c: (path_toggled), (ephy_node_view_key_press_cb), (get_selection_refs), (ephy_node_view_button_press_cb), (cell_renderer_edited), (renderer_editing_canceled_cb), (ephy_node_view_add_column), (ephy_node_view_init), (ephy_node_view_edit), (ephy_node_view_constructor), (ephy_node_view_add_toggle), (ephy_node_view_class_init): * lib/widgets/ephy-node-view.h: Add support for toggles. When editing is canceled remove the node. * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type), (ephy_topics_selector_set_bookmarks), (ephy_topics_selector_set_property), (ephy_topics_selector_apply), (provide_toggle), (ephy_topics_selector_constructor), (topic_destroy_cb), (node_toggled_cb), (ephy_topics_selector_init), (ephy_topics_selector_new), (ephy_topics_selector_new_topic), (ephy_topics_selector_class_init): * src/bookmarks/ephy-topics-selector.h: Use EphyNodeView instead of a list store. Share a lot of code and we get updating for free. Fix bug #144770
* Simplify node view filtering code and make it a normal property (no moreMarco Pesenti Gritti2004-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (filter_changed_cb), (ephy_node_view_set_filter), (ephy_node_view_set_property), (ephy_node_view_init), (ephy_node_view_select_node), (filter_visible_func), (ephy_node_view_constructor), (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_set_property), (ephy_tree_model_node_get_property), (ephy_tree_model_node_class_init), (ephy_tree_model_node_init), (ephy_tree_model_node_new), (ephy_tree_model_node_get_column_type), (ephy_tree_model_node_get_value): * lib/widgets/ephy-tree-model-node.h: * src/prefs-dialog.c: (create_node_combo): Simplify node view filtering code and make it a normal property (no more constructor only)
* Handle the bookmark in the root folder case correctly. Fix #145611Marco Pesenti Gritti2004-07-221-10/+14
| | | | | | | | | | 2004-07-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla): Handle the bookmark in the root folder case correctly. Fix #145611
* Add disable_quit, disable_new_window, first_window_fullscreen lockdownMarco Pesenti Gritti2004-07-193-10/+50
| | | | | | | | | | | | | | | 2004-07-19 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_actions_sensitivity), (tab_detached_cb), (tab_delete_cb), (ephy_window_init): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_close_window): Add disable_quit, disable_new_window, first_window_fullscreen lockdown options.
* Improve sort/priority API.Marco Pesenti Gritti2004-07-153-12/+25
| | | | | | | | | | | | | | | | | | | 2004-07-14 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (compare_string_values), (ephy_node_view_sort_func), (ephy_node_view_add_data_column), (ephy_node_view_add_column), (ephy_node_view_set_priority), (ephy_node_view_set_sort), (ephy_node_view_init): * lib/widgets/ephy-node-view.h: Improve sort/priority API. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-history-window.c: (ephy_history_window_construct): Sort history items by last visit
* Add a Properties item to bookmark context menuMarco Pesenti Gritti2004-07-131-1/+71
| | | | | | | | | | | | 2004-07-12 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (properties_activate_cb), (show_context_menu), (bookmark_destroy_cb), (ephy_bookmark_action_set_bookmark_id), (ephy_bookmark_action_set_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_init): Add a Properties item to bookmark context menu
* When opening bookmarks in a tab from toolbars jump to them.Marco Pesenti Gritti2004-07-111-1/+2
| | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarksbar.c: (bookmark_open_in_tab_cb): When opening bookmarks in a tab from toolbars jump to them.
* Disable sliding when not in toolbar editing mode. We cant assumeMarco Pesenti Gritti2004-07-112-52/+0
| | | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): * src/bookmarks/ephy-bookmark-action.c: (connect_proxy): * src/bookmarks/ephy-topic-action.c: (connect_proxy): Disable sliding when not in toolbar editing mode. We cant assume GDK_ACTION_MOVE there.
* Make sure we stop the drag check also when button is released while theMarco Pesenti Gritti2004-07-111-6/+14
| | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-topic-action.c: (stop_drag_check), (button_release_cb), (button_press_cb): Make sure we stop the drag check also when button is released while the menu grab is still in effect.
* Add api to move items.Marco Pesenti Gritti2004-07-112-18/+150
| | | | | | | | | | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_move_item): * lib/egg/egg-toolbars-model.h: Add api to move items. * src/bookmarks/ephy-bookmark-action.c: (get_item_position), (remove_from_model), (move_in_model), (move_left_activate_cb), (move_right_activate_cb), (show_context_menu): * src/bookmarks/ephy-topic-action.c: (get_item_position), (remove_from_model), (move_in_model), (move_left_activate_cb), (move_right_activate_cb), (show_context_menu): Add Move Left/Move Right context menus.
* Hide the item when dragging it like we do for normal toolbars.Marco Pesenti Gritti2004-07-112-0/+52
| | | | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_begin_cb), (drag_end_cb), (connect_proxy): * src/bookmarks/ephy-topic-action.c: (drag_begin_cb), (drag_end_cb), (connect_proxy): Hide the item when dragging it like we do for normal toolbars.
* Implement topics drag and drop. Totally tricky but it seem to work fine :)Marco Pesenti Gritti2004-07-111-16/+153
| | | | | | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-topic-action.c: (create_tool_item), (menu_deactivate_cb), (remove_from_model), (remove_activate_cb), (drag_data_get_cb), (drag_data_delete_cb), (stop_drag_check), (check_horizontal_threshold), (drag_motion_cb), (button_toggled_cb), (button_release_cb), (button_press_cb), (connect_proxy): Implement topics drag and drop. Totally tricky but it seem to work fine :)
* Fix a mem leak.Christian Persch2004-07-111-0/+2
| | | | | | | | 2004-07-11 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): Fix a mem leak.
* Support also GDK_ACTION_COPY. Fix #145254.Marco Pesenti Gritti2004-07-052-2/+3
| | | | | | | | | | | | | 2004-07-05 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): Support also GDK_ACTION_COPY. Fix #145254. * src/ephy-notebook.c: (notebook_drag_data_received_cb): Use the notebook to access the toplevel, data passed to the signal can be NULL.
* Show and activate the menubar with F10 when it's hidden. Fixes bugChristian Persch2004-07-041-0/+43
| | | | | | | | | | 2004-07-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (menubar_deactivate_cb), (ephy_window_key_press_event), (ephy_window_class_init): Show and activate the menubar with F10 when it's hidden. Fixes bug #141999.
* "Open in tabs" insensitive when there are not multiple bookmarks in theMarco Pesenti Gritti2004-07-041-9/+19
| | | | | | | | | | | 2004-07-03 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-topic-action.c: (can_open_in_tabs), (append_bookmarks_menu), (add_open_in_tabs_menu), (build_bookmarks_menu), (show_context_menu): "Open in tabs" insensitive when there are not multiple bookmarks in the topic.
* R data/art/epiphany-tab-loading.gif:Christian Persch2004-07-032-54/+36
| | | | | | | | | | | | | | | | 2004-07-02 Christian Persch <chpe@cvs.gnome.org> * data/art/Makefile.am: R data/art/epiphany-tab-loading.gif: * lib/widgets/ephy-spinner.c: (get_spinner_dimensions), (ephy_spinner_init), (ephy_spinner_expose), (ephy_spinner_unload_images), (scale_to_real_size), (ephy_spinner_set_size), (ephy_spinner_size_request): * lib/widgets/ephy-spinner.h: * src/ephy-notebook.c: (sync_load_status), (build_tab_label): * src/toolbar.c: (fixed_toolbar_reconfigured_cb), (toolbar_init): Remove our tab loading animation and use mini-spinners instead.
* Use blank document as default faviconMarco Pesenti Gritti2004-07-032-2/+2
| | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_icon): * src/ephy-favicon-action.c: (ephy_favicon_action_sync_icon): Use blank document as default favicon
* Follow popups keybindings.Marco Pesenti Gritti2004-07-022-9/+32
| | | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (show_context_menu), (popup_menu_cb), (button_press_cb), (connect_proxy): * src/bookmarks/ephy-topic-action.c: (show_context_menu), (popup_menu_cb), (button_press_cb), (connect_proxy): Follow popups keybindings.
* Implement bookmark context menu.Marco Pesenti Gritti2004-07-021-3/+68
| | | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (open_in_tab_activate_cb), (open_in_window_activate_cb), (remove_from_model), (drag_data_delete_cb), (remove_activate_cb), (show_context_menu), (button_press_cb): Implement bookmark context menu.
* Implement topic context menu.Marco Pesenti Gritti2004-07-021-6/+78
| | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-topic-action.c: (remove_activate_cb), (add_open_in_tabs_menu), (build_bookmarks_menu), (show_context_menu), (button_press_cb), (connect_proxy): Implement topic context menu.
* Move in the bookmarks dir.Marco Pesenti Gritti2004-07-0210-64/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-favorites-menu.h: Move in the bookmarks dir. * lib/ephy-gui.c: (ephy_gui_select_row_by_key), (ephy_gui_is_middle_click): * lib/ephy-gui.h: Add a function to check if menus was activated by a middle or a ctrl+click (which is equivalent in epiphany) * lib/ephy-marshal.list: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (activate_cb), (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (open_bookmark_cb), (create_menu): * src/bookmarks/ephy-bookmarksbar.c: (bookmark_open_in_tab_cb), (bookmark_open_cb), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-topic-action.c: (menu_activate_cb), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: Add signals to open bookmarks in new window/tab. I'll need them for context menus. Use them for middle/ctrl click.
* s/Off-Line/Offline/Christian Persch2004-07-021-1/+1
| | | | | | | | 2004-07-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: s/Off-Line/Offline/
* Do not show the icon for smartbookmarksMarco Pesenti Gritti2004-07-011-1/+4
| | | | | | | | | 2004-07-01 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_smart_url): Do not show the icon for smartbookmarks
* No need to show the default icon for bookmarks menu.Marco Pesenti Gritti2004-07-011-8/+11
| | | | | | | | | 2004-07-01 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_icon): No need to show the default icon for bookmarks menu.
* Allow to drag bookmarks around also when not in edit mode. Use the defaultMarco Pesenti Gritti2004-07-011-16/+111
| | | | | | | | | | | | | | | 2004-07-01 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (favicon_cache_changed_cb), (ephy_bookmark_action_sync_icon), (stop_drag_check), (drag_data_get_cb), (drag_data_delete_cb), (drag_motion_cb), (button_press_cb), (button_release_cb), (connect_proxy), (ephy_bookmark_action_init): Allow to drag bookmarks around also when not in edit mode. Use the default bookmark icon when there is not a specific one, it acts as a separator. Put some space between the icon and the text.
* Popup blocking support. View -> Popup Windows.Adam Hooper2004-07-014-2/+526
|
* Use a new window for "Open in Tabs"Marco Pesenti Gritti2004-07-012-13/+25
| | | | | | | | | | 2004-06-30 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarksbar.c: (open_in_tabs_cb): * src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu), (open_in_tabs_activate_cb), (build_bookmarks_menu): Use a new window for "Open in Tabs"
* Change tabs sizing again. Now we use a width of 20 (estimated) chars.Marco Pesenti Gritti2004-07-011-6/+4
| | | | | | | | | 2004-06-30 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: Change tabs sizing again. Now we use a width of 20 (estimated) chars.
* Implement File->Work Off-Line command and backend. No DBUS/HAL/whateverChristian Persch2004-06-273-0/+55
| | | | | | | | | | | | | | | | | | | | 2004-06-26 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * embed/ephy-embed-single.c: (ephy_embed_single_iface_init), (ephy_embed_single_set_offline_mode), (ephy_embed_single_get_offline_mode): * embed/ephy-embed-single.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-window.c: (network_status_changed), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (window_cmd_file_save_as), (window_cmd_file_work_offline): * src/window-commands.h: Implement File->Work Off-Line command and backend. No DBUS/HAL/whatever integration yet.
* Preserve hierarchy in the xbel importer too. Use mime sniffing toMarco Pesenti Gritti2004-06-261-51/+37
| | | | | | | | | | 2004-06-26 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import), (xbel_parse_folder), (xbel_parse_xbel): Preserve hierarchy in the xbel importer too. Use mime sniffing to determine the file mime type.
* Simplify print code. Now there is only one case to deal with, the mozillaMarco Pesenti Gritti2004-06-253-73/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_print), (ephy_embed_set_print_preview_mode): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_dialog_new): * embed/print-dialog.h: * src/ephy-window.c: (ephy_window_delete_event_cb), (ephy_window_finalize), (update_embed_dialogs), (ephy_window_find): * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_file_print_preview), (window_cmd_file_print): Simplify print code. Now there is only one case to deal with, the mozilla prompt dialog. This should help with xprint.
* Use guint consistently for node idsMarco Pesenti Gritti2004-06-247-14/+14
| | | | | | | | | | | | | | | | | | | | | | 2004-06-24 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_get_id), (child_changed), (write_parent): * lib/ephy-node.h: * src/bookmarks/ephy-bookmark-action.c: (bookmarks_child_changed_cb): * src/bookmarks/ephy-bookmark-properties.c: (toolbar_checkbox_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_bookmarks_bar), (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks-menu.c: (create_menu), (topic_child_changed_cb): * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_set_topic_id), (topic_child_changed_cb): Use guint consistently for node ids
* Implement open in tabs from toolbar topicsMarco Pesenti Gritti2004-06-244-24/+106
| | | | | | | | | | | | | | | | 2004-06-24 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarksbar.c: (open_in_tabs_cb), (go_location_cb), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu), (open_in_tabs_activate_cb), (build_bookmarks_menu), (build_topics_menu), (build_menu), (ephy_topic_action_set_topic_id), (ephy_topic_action_set_property), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: * src/ephy-window.c: (ephy_window_load_in_tabs): Implement open in tabs from toolbar topics
* Use g_signal_connect_after to connect to the toolbar_added signal,Christian Persch2004-06-242-4/+4
| | | | | | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window): * src/toolbar.c: (toolbar_realize): Use g_signal_connect_after to connect to the toolbar_added signal, otherwise the toolbar isn't created yet and we crash when trying to set the drag dests on a newly added toolbar.
* Simply use gtk_container_get_children().Christian Persch2004-06-241-11/+2
| | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_tabs): Simply use gtk_container_get_children().
* Make the "Exit Fullscreen" button toggle the action instead of doing toChristian Persch2004-06-241-1/+11
| | | | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (exit_fullscreen_button_clicked_cb), (get_chromes_visibility), (ephy_window_state_event_cb): Make the "Exit Fullscreen" button toggle the action instead of doing to work itself. Fixes bug #144785.
* Add EphyWindow API to open multiple uris in tabs, use it for dnd on theMarco Pesenti Gritti2004-06-243-49/+62
| | | | | | | | | | | | 2004-06-23 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-window.c: (ephy_window_set_zoom), (ephy_window_load_in_tabs): * src/ephy-window.h: Add EphyWindow API to open multiple uris in tabs, use it for dnd on the notebook.
* "/" in a topic title is now a submenu in the bookmarks menu.Marco Pesenti Gritti2004-06-232-37/+84
| | | | | | | | | | | | 2004-06-23 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (folders_list_to_topic_name): * src/bookmarks/ephy-bookmarks-menu.c: (create_menu), (ensure_folder), (create_submenu), (ephy_bookmarks_menu_rebuild): "/" in a topic title is now a submenu in the bookmarks menu.
* Keep the whole hierarchy of folders in the topic name, separated by |.Marco Pesenti Gritti2004-06-221-22/+39
| | | | | | | | | | 2004-06-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (folders_list_to_topic_name), (ephy_bookmarks_import_mozilla): Keep the whole hierarchy of folders in the topic name, separated by |. Mozilla importer only for now.
* Drop some unused code.Marco Pesenti Gritti2004-06-221-28/+11
| | | | | | | | | | 2004-06-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (bookmark_add), (xbel_parse_bookmark), (ephy_bookmarks_import_mozilla), (parse_rdf_item): Drop some unused code.
* Factor out the helper to select a treeview row by column and use it alsoMarco Pesenti Gritti2004-06-228-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-21 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-gui.c: (ephy_gui_help), (ephy_gui_select_row_by_key): * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb): * src/bookmarks/ephy-topics-selector.c: (topic_key_pressed): Factor out the helper to select a treeview row by column and use it also in the topic selector. * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-new-bookmark.c: * src/ephy-history-window.c: * src/pdm-dialog.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/window-commands.c: * embed/downloader-view.c: Remove braindead gtk.h inclusion and deal with fallout headers.
* Add a New topic button to the new bookmark dialog.Marco Pesenti Gritti2004-06-223-0/+90
| | | | | | | | | | | | | 2004-06-21 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-new-bookmark.c: (response_cb), (ephy_new_bookmark_construct): * src/bookmarks/ephy-topics-selector.c: (renderer_edited_cb), (renderer_editing_canceled_cb), (ephy_topics_build_ui), (ephy_topics_selector_new), (ephy_topics_selector_new_topic): * src/bookmarks/ephy-topics-selector.h: Add a New topic button to the new bookmark dialog.
* Allow importing from Epiphany bookmarks format (RDF), fixes bug #144699.Christian Persch2004-06-211-0/+4
| | | | | | | | | 2004-06-21 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): Allow importing from Epiphany bookmarks format (RDF), fixes bug #144699.
* Make tab labels 1/n-th of the window width (n = number of tabs), with aChristian Persch2004-06-201-63/+60
| | | | | | | | | | | | 2004-06-20 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (sync_label), (tab_label_style_set_cb), (build_tab_label), (ephy_notebook_add_tab): * src/ephy-window.c: (ephy_window_get_tabs): Make tab labels 1/n-th of the window width (n = number of tabs), with a minimum size so they don't get too tiny. Make the tooltip cover the label + favicon, not just the label.
* Append tabs at the end instead of grouping them near the current one.Marco Pesenti Gritti2004-06-206-53/+11
| | | | | | | | | | | | | | | | | 2004-06-19 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: (ephy_notebook_move_tab), (move_tab), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (ephy_notebook_finalize), (ephy_notebook_add_tab), (ephy_notebook_remove_tab): * src/ephy-notebook.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_add_tab): Append tabs at the end instead of grouping them near the current one.
* Set data for close-button on the tab label.Christian Persch2004-06-171-0/+1
| | | | | | | | 2004-06-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (build_tab_label): Set data for close-button on the tab label.
* Go back to construction the toolbar when the model is set, fixes bugChristian Persch2004-06-163-48/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-16 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_disconnect_model), (egg_editable_toolbar_deconstruct), (egg_editable_toolbar_set_model), (egg_editable_toolbar_class_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_new), (egg_editable_toolbar_new_with_model), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_flags), (parse_toolbars): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window), (ephy_bookmarksbar_class_init): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_init): * src/toolbar.c: (toolbar_style_changed_cb), (parent_set_cb), (toolbar_init), (toolbar_finalize), (toolbar_new): Go back to construction the toolbar when the model is set, fixes bug #144191. 2004-06-15 Marco Pesenti Gritti <marco@gnome.org>
* Use g_markup_print_escaed().Christian Persch2004-06-151-4/+2
| | | | | | | | 2004-06-14 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): Use g_markup_print_escaed().
* Escape strings before using them with markup in labels.Christian Persch2004-06-152-6/+5
| | | | | | | | | 2004-06-14 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): * src/bookmarks/ephy-topic-action.c: (build_topics_menu): Escape strings before using them with markup in labels.
* Get rid of EmbedReloadFlags, and use a gboolean force parameter inChristian Persch2004-06-142-4/+1
| | | | | | | | | | | | | | 2004-06-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_reload): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/prefs-dialog.c: * src/window-commands.c: (window_cmd_view_reload): Get rid of EmbedReloadFlags, and use a gboolean force parameter in ephy_embed_reload() instead, since we only had two states anyway - EMBED_RELOAD_NORMAL, and EMBED_RELOAD_FORCE.
* Put proper property IDs on propertiesAdam Hooper2004-06-121-2/+2
|
* Save the toolbars models from dispose, not from finalize, since you cannotChristian Persch2004-06-123-12/+29
| | | | | | | | | | | | | | | | 2004-06-11 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_finalize): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize), (ephy_bookmarksbar_model_class_init): * src/ephy-toolbars-model.c: (ephy_toolbars_model_dispose), (ephy_toolbars_model_finalize), (ephy_toolbars_model_class_init): Save the toolbars models from dispose, not from finalize, since you cannot emit signals from the latter (the get_item_* signals are emitted while saving).
* Merging bookmarksbar-separation branch.Christian Persch2004-06-1118-1056/+605
| | | | | | 2004-06-10 Christian Persch <chpe@cvs.gnome.org> Merging bookmarksbar-separation branch.
* s/get_item_name/get_item_dataMarco Pesenti Gritti2004-06-101-4/+4
| | | | | | | | | | | | | | | | | | | 2004-06-09 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (impl_get_item_id), (impl_get_item_data), (egg_toolbars_model_class_init), (egg_toolbars_model_get_item_data): * lib/egg/egg-toolbars-model.h: * src/ephy-toolbars-model.c: (impl_get_item_data), (impl_get_item_id), (ephy_toolbars_model_class_init): s/get_item_name/get_item_data Do not assume data isnt changing, use the id and convert later instead.
* 2004-06-09 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-06-101-20/+34
| | | | | | | | | | | | | | | | | | | | | * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source), (create_item_from_action), (create_item), (drag_data_received_cb), (egg_editable_toolbar_set_edit_mode): * lib/egg/egg-toolbar-editor.c: (model_has_action): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (toolbars_item_new), (free_item_node), (egg_toolbars_model_add_separator), (impl_add_item), (parse_item_list), (egg_toolbars_model_load), (impl_get_item_name), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_item_nth), (egg_toolbars_model_get_item_id), (egg_toolbars_model_get_item_name): * lib/egg/egg-toolbars-model.h: * src/bookmarks/ephy-bookmarksbar-model.c: (get_toolbar_and_item_pos), (item_added_cb), (impl_get_item_name), (ephy_bookmarksbar_model_class_init): * src/toolbar.c: (toolbar_get_type), (toolbar_added_cb), (ephy_toolbar_realize), (ephy_toolbar_unrealize), (toolbar_class_init):
* Retain custom types when moving items aroundMarco Pesenti Gritti2004-06-091-31/+4
| | | | | | | | | | | | | | | 2004-06-09 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source), (create_item_from_action), (create_item), (drag_data_received_cb), (egg_editable_toolbar_set_edit_mode): * lib/egg/egg-toolbar-editor.c: (model_has_action): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_item_nth): * lib/egg/egg-toolbars-model.h: * src/ephy-toolbars-model.c: (get_toolbar_and_item_pos), (ephy_toolbars_model_class_init), (item_added): Retain custom types when moving items around
* Separation of bookmarks and normal toolbars.Christian Persch2004-06-094-0/+1123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-08 Christian Persch <chpe@cvs.gnome.org> Separation of bookmarks and normal toolbars. * lib/egg/egg-editable-toolbar.c: (find_action), (create_item), (egg_editable_toolbar_construct), (egg_editable_toolbar_realize), (egg_editable_toolbar_unrealize), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_merge), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_class_init), (egg_editable_toolbar_init), (egg_editable_toolbar_set_edit_mode): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_load), (egg_toolbars_model_init): Only construct the toolbar on realize. When setting a different model, unrealize the toolbar. Connect to model only while realized, fixes crashes when setting flags on the toolbars model. * data/ui/epiphany-bookmarksbar.xml: * data/ui/epiphany-fs-toolbar.xml: * data/ui/epiphany-toolbar.xml: Separated. Fix root name to be "toolbars" which is the name we save the model with. * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_type), (get_toolbar_and_item_pos), (get_toolbar_pos), (ephy_bookmarksbar_model_get_action_name), (ephy_bookmarksbar_model_get_node), (ephy_bookmarksbar_model_add_bookmark), (ephy_bookmarksbar_model_remove_bookmark), (ephy_bookmarksbar_model_has_bookmark), (save_changes_idle), (save_changes), (update_flags_and_save_changes), (bookmark_destroy_cb), (item_added_cb), (impl_add_item), (impl_get_item_id), (impl_get_item_type), (load_toolbars), (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_finalize), (ephy_bookmarksbar_model_set_property), (ephy_bookmarksbar_model_get_property), (ephy_bookmarksbar_model_class_init), (ephy_bookmarksbar_model_new): * src/bookmarks/ephy-bookmarksbar-model.h: * src/ephy-toolbars-model.c: (save_changes_idle), (save_changes), (update_flags_and_save_changes), (get_toolbar_pos), (load_toolbars), (ephy_toolbars_model_init), (ephy_toolbars_model_finalize), (ephy_toolbars_model_class_init), (ephy_toolbars_model_new): * src/ephy-toolbars-model.h: Split toolbars model in bookmarks and non-bookmarks parts. * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type), (go_location_cb), (bookmark_destroy_cb), (ephy_bookmarksbar_action_request), (toolbar_added_cb), (ephy_bookmarksbar_set_window), (ephy_bookmarksbar_realize), (ephy_bookmarksbar_unrealize), (ephy_bookmarksbar_init), (ephy_bookmarksbar_finalize), (ephy_bookmarksbar_set_property), (ephy_bookmarksbar_get_property), (ephy_bookmarksbar_class_init), (ephy_bookmarksbar_new): * src/bookmarks/ephy-bookmarksbar.h: * src/toolbar.c: (go_location_cb), (toolbar_set_property), (toolbar_get_property), (toolbar_class_init), (toolbar_set_window), (toolbar_init), (toolbar_new), (toolbar_set_location), (toolbar_update_navigation_actions): * src/toolbar.h: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (action_request_forward_cb), (ephy_window_init), (ephy_window_get_toolbar), (ephy_window_get_bookmarksbar): * src/ephy-window.h: * src/window-commands.c: (window_cmd_view_fullscreen), (toolbar_editor_destroy_cb), (toolbar_editor_response_cb), (window_cmd_edit_toolbar): Split toolbars in bookmarks and non-bookmarks toolbars. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults), (ephy_bookmarks_get_toolbars_model), (ephy_bookmarks_set_property), (ephy_bookmarks_get_property), (ephy_bookmarks_class_init), (ephy_bookmarks_finalize): * src/bookmarks/ephy-bookmarks.h: * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-shell.h: Made bookmarksbar toolbars model a service of EphyBookmarks. * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_property), (toolbar_checkbox_changed_cb), (build_ui), (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_bookmarks_bar), (ephy_bookmarks_editor_update_menu), (toolbar_items_changed_cb), (ephy_bookmarks_editor_init): Adapt to changes above. * data/ui/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Makefile changes.
* Do not hide clipboard items for the input context (Bug #139040)Marco Pesenti Gritti2004-06-081-9/+3
| | | | | | | | | 2004-06-08 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (show_embed_popup): Do not hide clipboard items for the input context (Bug #139040)
* Also load extensions from /home/users/rossRoss Burton2004-06-071-0/+7
|
* merge mozilla-embed-strings branchMarco Pesenti Gritti2004-06-042-2/+9
|
* Move the "Exit Fullscreen" popup to the right in RTL locale. Fixes bugChristian Persch2004-06-031-6/+15
| | | | | | | | | 2004-06-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_exit_fullscreen_popup_position): Move the "Exit Fullscreen" popup to the right in RTL locale. Fixes bug #140828.
* Fix reload logic not to use forced reload by default. Patch by C. J. N.Christian Persch2004-05-301-2/+2
| | | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_view_reload): Fix reload logic not to use forced reload by default. Patch by C. J. N. Breame, fixes bug #143365
* Elimiate indeterminate progress, fixes bugs #142303 and #142305.Christian Persch2004-05-212-20/+8
| | | | | | | | | | 2004-05-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (ephy_statusbar_set_progress): * src/ephy-tab.c: (ephy_tab_class_init), (build_load_percent), (ephy_tab_net_state_cb), (ephy_tab_get_load_percent): Elimiate indeterminate progress, fixes bugs #142303 and #142305.
* Emit the "tab_removed" signal also for the window's last tab. Part of bugChristian Persch2004-05-202-6/+3
| | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_remove_tab): * src/ephy-window.c: (tab_removed_cb): Emit the "tab_removed" signal also for the window's last tab. Part of bug #142078.
* Open bookmark in new tab on middle-click. Fixes bug #106250.Christian Persch2004-05-202-6/+72
| | | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (activate_cb), (button_press_cb), (button_release_cb), (connect_proxy), (ephy_bookmark_action_class_init): * src/toolbar.c: (go_location_cb): Open bookmark in new tab on middle-click. Fixes bug #106250.
* Fix capitalisation.Christian Persch2004-05-191-1/+1
| | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): Fix capitalisation.
* Forgot to change action entries for last commit.Christian Persch2004-05-141-4/+0
| | | | | | | | 2004-05-13 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Forgot to change action entries for last commit.
* Simplify context menu wrt. frames. Fixes bug #138442.Christian Persch2004-05-142-53/+0
| | | | | | | | | | 2004-05-13 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/popup-commands.c: * src/popup-commands.h: Simplify context menu wrt. frames. Fixes bug #138442.
* Make sure we don't add a colon at the end of LD_LIBRARY_PATH, which willChristian Persch2004-05-131-1/+5
| | | | | | | | | | 2004-05-12 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.in: Make sure we don't add a colon at the end of LD_LIBRARY_PATH, which will make LD_LIBRARY_PATH include the current directory. Should fix bug #141576.
* Statusbar re-design: Move lock icon to left; hide progress bar when noChristian Persch2004-05-112-12/+66
| | | | | | | | | | | | | 2004-05-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (create_statusbar_security_icon), (create_statusbar_progress), (sync_shadow_type), (ephy_statusbar_init), (ephy_statusbar_set_progress), (ephy_statusbar_add_widget): * src/ephy-tab.c: (ephy_tab_net_state_cb): Statusbar re-design: Move lock icon to left; hide progress bar when no activity. Part of bug #137845.
* Fix accelerator for OpenImage action.Christian Persch2004-05-091-1/+1
| | | | | | | | 2004-05-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Fix accelerator for OpenImage action.
* Jump to new tabs created from command lines; fixes bug #141168.Christian Persch2004-05-091-3/+3
| | | | | | | | 2004-05-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-automation.c: (impl_ephy_automation_loadurl): Jump to new tabs created from command lines; fixes bug #141168.
* Add convenience functions for creating a filter with a bunch of mime typesChristian Persch2004-05-093-5/+27
| | | | | | | | | | | | | | | | | | | | | | 2004-05-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_add_pattern_filter), (ephy_file_chooser_add_mime_filter), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: Add convenience functions for creating a filter with a bunch of mime types or patterns and add it to a file chooser. Those should really be in gtk+; see bug #142142. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): * src/window-commands.c: (window_cmd_file_open): Add some filters to the file chooser dialogues.
* Clean up encoding handling.Christian Persch2004-05-022-51/+15
| | | | | | | | | | | | | | | | | | | 2004-05-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_get_encoding), (ephy_embed_has_automatic_encoding): * embed/ephy-embed.h: * embed/ephy-encodings.c: * embed/ephy-encodings.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-encoding-dialog.c: (sync_embed_cb), (activate_choice): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (encoding_activate_cb): Clean up encoding handling.
* Make the statusbar's GtkTooltips publicly accessibly.Christian Persch2004-05-022-7/+7
| | | | | | | | | | 2004-05-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (ephy_statusbar_init), (ephy_statusbar_finalize), (ephy_statusbar_set_security_state): * src/ephy-statusbar.h: Make the statusbar's GtkTooltips publicly accessibly.
* Exit print preview mode before closing a window. Fixes a crasher; EpiphanyChristian Persch2004-04-271-0/+13
| | | | | | | | | 2004-04-27 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_delete_event_cb): Exit print preview mode before closing a window. Fixes a crasher; Epiphany equivalent of galeon bug #121298.
* Document UTF-8 requirement.Christian Persch2004-04-221-1/+1
| | | | | | | | | | | | | | | 2004-04-22 Christian Persch <chpe@cvs.gnome.org> * HACKING: Document UTF-8 requirement. * lib/widgets/ephy-cell-renderer-progress.c: * lib/widgets/ephy-cell-renderer-progress.h: * src/bookmarks/ephy-bookmarks-menu.h: * ChangeLog: Converted to UTF-8.
* Fix font selection combo box issues; fixes bug #138560.Christian Persch2004-04-181-0/+1
| | | | | | | | | | | | | | | | 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.
* Fix chrome for new windows opened from _blank target. Fixes bug #139512.Marco Pesenti Gritti2004-04-181-21/+22
| | | | | | | | | | | | | 2004-04-18 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (ephy_window_set_chrome), (ephy_window_set_property), (ephy_window_class_init): Fix chrome for new windows opened from _blank target. Fixes bug #139512.
* Add debug output.Christian Persch2004-04-141-0/+9
| | | | | | | | | 2004-04-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb): Add debug output.
* 2004-04-09 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-04-144-10/+30
| | | | | | | | | | | | 2004-04-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu), (ephy_bookmarks_menu_rebuild): * src/ephy-encoding-menu.c: (add_action): * src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/ephy-tabs-menu.c: (tab_added_cb): 2004-04-09 Christian Persch <chpe@cvs.gnome.org>
* Add Ctrl+S as an alternate accel for Save As. Fixes bug #139415.Piers Cornwell2004-04-101-0/+3
| | | | | | | | | | 2004-04-09 Piers Cornwell <piers@gnome.org> * src/ephy-window.c: * data/ui/epiphany-ui.xml: Add Ctrl+S as an alternate accel for Save As. Fixes bug #139415.
* Sort the actions in the location entry autocompletion dropdown. Fixes bugChristian Persch2004-04-101-1/+38
| | | | | | | | | | 2004-04-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (compare_actions), (init_actions_list): Sort the actions in the location entry autocompletion dropdown. Fixes bug #139575.
* Change initial refcound of EphyNode to 1, not 0Adam Hooper2004-04-101-5/+0
|
* Track the active window.Christian Persch2004-04-061-0/+66
| | | | | | | | | | 2004-04-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (window_focus_in_event_cb), (impl_attach_window), (ephy_session_set_property), (ephy_session_get_property), (ephy_session_class_init): Track the active window.
* Make prefs, pdm and print setup dialogues transient to their parent. FixesChristian Persch2004-04-062-6/+7
| | | | | | | | | | | | | | 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-051-1/+1
|
* Remove stray semicolon. Fixes bug #138902.Christian Persch2004-04-031-1/+1
| | | | | | | | 2004-04-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): Remove stray semicolon. Fixes bug #138902.
* Fix bookmarks toolbar visibility in fullscreen and print preview mode, asChristian Persch2004-04-011-18/+21
| | | | | | | | | | | | | | | 2004-04-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (update_chromes_actions), (get_default_chrome), (ephy_window_init), (sync_prefs_with_chrome), (ephy_window_view_bookmarksbar_cb): Fix bookmarks toolbar visibility in fullscreen and print preview mode, as well as for javascript popups. Fixes bug #138520.
* Make buttons the same size in Industrial theme and make text selectable.Piers Cornwell2004-03-311-3/+3
| | | | | | | | | 2004-03-30 Piers Cornwell <piers@gnome.org> * src/ephy-history-window.c: (confirmation_dialog_construct): Make buttons the same size in Industrial theme and make text selectable.
* Remove Open Image in New Tab and New Window from the context menu.Christian Persch2004-03-303-50/+0
| | | | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: * src/popup-commands.c: * src/popup-commands.h: * data/ui/epiphany-ui.xml: Remove Open Image in New Tab and New Window from the context menu.
* Removed the nautilus view.Christian Persch2004-03-304-724/+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>
* Make EphyCompletionColumn a typedef enum, fixes bug #136878.Christian Persch2004-03-301-1/+1
| | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-completion-model.h: Make EphyCompletionColumn a typedef enum, fixes bug #136878.
* Fixes #138263.Federico Mena Quintero2004-03-303-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Test with -d, fixes bug #138088.Christian Persch2004-03-291-1/+1
| | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.in: Test with -d, fixes bug #138088.
* Fix opening in new tabs when there is no existing window. Fixes bugChristian Persch2004-03-291-2/+13
| | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_open_bookmarks_in_tabs): Fix opening in new tabs when there is no existing window. Fixes bug #138343.
* Use verb for action button and various minor tidy ups.Piers Cornwell2004-03-281-11/+17
| | | | | | | | 2004-03-27 Piers Cornwell <piers@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): Use verb for action button and various minor tidy ups.
* Log context of event in debug mode.Christian Persch2004-03-271-0/+2
| | | | | | | | 2004-03-27 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (show_embed_popup): Log context of event in debug mode.
* Correctly disconnect the handler not from the proxy but from the entryChristian Persch2004-03-271-6/+9
| | | | | | | | | | 2004-03-27 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (location_url_activate_cb), (disconnect_proxy), (ephy_location_action_set_address): Correctly disconnect the handler not from the proxy but from the entry itself. Rationalise away one strdup.
* Fix duplicate accesskey, use correct case for button text and make messagePiers Cornwell2004-03-271-1/+2
| | | | | | | | | 2004-03-26 Piers Cornwell <piers@gnome.org> * src/ephy-window.c: (confirm_close_with_modified_forms): Fix duplicate accesskey, use correct case for button text and make message selectable.
* Documented EphyEmbedAdam Hooper2004-03-263-11/+11
|
* Tiny doc fixes.Christian Persch2004-03-242-4/+2
| | | | | | | | | 2004-03-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: * src/ephy-window.c: Tiny doc fixes.
* Get rid of ephy_tab_[get|set]_window().Christian Persch2004-03-244-88/+25
| | | | | | | | | | | | | | | | 2004-03-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_get_window), (ephy_tab_action_activate_cb), (ephy_tab_class_init), (ephy_tab_destroy_brsr_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (tab_context_menu_cb), (ephy_window_set_active_tab): * src/ephy-window.h: Get rid of ephy_tab_[get|set]_window().
* Fix the build, bad noda :PChristian Persch2004-03-241-1/+1
| | | | | | | | 2004-03-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_visibility_cb): Fix the build, bad noda :P
* Make the "Go" button actually work. Thanks to aes for alerting us to thisChristian Persch2004-03-241-0/+23
| | | | | | | | | | 2004-03-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-go-action.c: (connect_proxy), (disconnect_proxy), (ephy_go_action_class_init): Make the "Go" button actually work. Thanks to aes for alerting us to this problem.
* Documented EphyTabAdam Hooper2004-03-242-19/+201
|
* API documentationAdam Hooper2004-03-242-6/+128
|
* the xbel mime type is now application/x-xbelMarco Pesenti Gritti2004-03-221-1/+1
| | | | | | | | 2004-03-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): the xbel mime type is now application/x-xbel
* Forgot to s/logo/icon/g.Christian Persch2004-03-211-6/+6
| | | | | | | | 2004-03-21 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Forgot to s/logo/icon/g.
* Set window icon. Fixes bug #137806.Christian Persch2004-03-211-0/+2
| | | | | | | | 2004-03-21 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Set window icon. Fixes bug #137806.
* R data/epiphany-1.2.pc.in: A data/epiphany-1.4.pc.in:Christian Persch2004-03-211-1/+1
| | | | | | | | | | | | | 2004-03-21 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/Makefile.am: R data/epiphany-1.2.pc.in: A data/epiphany-1.4.pc.in: * src/Makefile.am: Make epiphany-extensions for epiphany 1.3 parallel-installable with those for epiphany 1.2.
* Don't try to unref NULL icon. Fixes bug #137715.Christian Persch2004-03-201-2/+5
| | | | | | | | 2004-03-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon): Don't try to unref NULL icon. Fixes bug #137715.
* Cleanups chromes code and register a type for the enum.Marco Pesenti Gritti2004-03-196-292/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-16 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Cleanups chromes code and register a type for the enum. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): Adapt to the api changes * src/ephy-tab.c: (ephy_tab_new_window_cb): Move js chrome lockdown pref check here. * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_chromes_actions), (update_actions_sensitivity), (show_embed_popup), (get_default_chrome), (ephy_window_set_property), (ephy_window_class_init), (actions_notifier), (navigation_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_show), (sync_prefs_with_chrome), (sync_chrome_with_view_toggle), (ephy_window_view_statusbar_cb), (ephy_window_view_toolbar_cb), (ephy_window_view_bookmarksbar_cb): Rework chrome handling so that it's not applied to all windows. Changes are now saved on the fly like for window size. * src/ephy-window.h: Use a construct property instead of a _set for chrome. * src/window-commands.c: * src/window-commands.h: Move chromes actions to EphyWindow so we dont need to expose chrome handling.
* Make secure description better (Bug #136443).Piers Cornwell2004-03-192-3/+3
| | | | | | | | | | | | | | | | 2004-03-18 Piers Cornwell <piers@gnome.org> * src/pdm-dialog.c: (show_cookies_properties): Make secure description better (Bug #136443). * src/window-commands.c: (window_cmd_help_about): Add my email address. * embed/mozilla/GtkNSSDialogs.cpp: Include nsReadableUtils.h.
* Add firefox option in bookmarks import dialogue.Christian Persch2004-03-183-1/+5
| | | | | | | | | | 2004-03-18 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.h: Add firefox option in bookmarks import dialogue.
* *** empty log message ***Marco Pesenti Gritti2004-03-1726-14/+68
|
* Check if the dragged item is a separator. Fixes crash when it _is_ aChristian Persch2004-03-091-1/+20
| | | | | | | | | | | | | | | | | | | | 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.
* Really always check the return value of xmlTextReaderRead(), don't advanceChristian Persch2004-03-071-32/+51
| | | | | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_bookmark), (xbel_parse_folder), (xbel_parse_xbel), (ephy_bookmarks_import_xbel): Really always check the return value of xmlTextReaderRead(), don't advance if it's != 1. Fixes bug #136151.
* Fix crash when dragging a link to a tab label; I forgot to change thisChristian Persch2004-03-071-5/+4
| | | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): Fix crash when dragging a link to a tab label; I forgot to change this making the recent EphyTab/EphyEmbed changes.
* Persist changed accels with gnome_accelerator_sync().Christian Persch2004-03-061-0/+2
| | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Persist changed accels with gnome_accelerator_sync().
* Don't use ephy_tab_get_embed(), instead use the pointer provided when weChristian Persch2004-03-051-20/+18
| | | | | | | | | | | | 2004-03-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_address_cb), (ephy_tab_title_cb), (ensure_page_info), (ephy_tab_net_state_cb), (clipboard_text_received_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): Don't use ephy_tab_get_embed(), instead use the pointer provided when we connected the callbacks. Hopefully fixes bug #136122.
* Don't set the 5-star icon as window icon for the about dialogue. Fixes bugChristian Persch2004-03-051-8/+0
| | | | | | | | | 2004-03-04 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Don't set the 5-star icon as window icon for the about dialogue. Fixes bug #135010.
* Copy and modify gnome_vfs_uri_list_parse() so that we get a list of stringChristian Persch2004-03-042-10/+3
| | | | | | | | | | | | | | | 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.
* If the favicon isn't ready when we need it, connect to the favicon cache'sChristian Persch2004-03-031-1/+29
| | | | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (favicon_cache_changed_cb), (ephy_bookmark_action_sync_icon), (ephy_bookmark_action_init): If the favicon isn't ready when we need it, connect to the favicon cache's ::changed signal to show it when we have it. Fixes bug #135855.
* Do not show the unsubmitted dialog for js closeMarco Pesenti Gritti2004-03-031-1/+6
| | | | | | | | 2004-03-02 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (ephy_tab_destroy_brsr_cb): Do not show the unsubmitted dialog for js close
* Never show two resume dialogs, just re-present the old one.Marco Pesenti Gritti2004-03-021-2/+15
| | | | | | | | | 2004-03-02 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-session.c: (ephy_session_init), (offer_to_resume), (ephy_session_autoresume): Never show two resume dialogs, just re-present the old one.
* Don't try to backup non-existing files :) Also, when neitherChristian Persch2004-03-021-3/+13
| | | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (backup_file), (ephy_bookmarks_init): Don't try to backup non-existing files :) Also, when neither ephy-bookmarks.xml nor bookmarks.rdf exist, assume we have a new profile and don't warn about missing bookmarks.
* Correctly sync the smarturl property of EphyBookmarksAction when itChristian Persch2004-03-021-0/+30
| | | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (smart_child_added_cb), (smart_child_removed_cb), (ephy_bookmark_action_init): Correctly sync the smarturl property of EphyBookmarksAction when it changes. Fixes incorrect show/hide of the entry on the bookmarks toolbar.
* When changing a bookmark address and it was a smart bookmark but now isChristian Persch2004-03-021-1/+1
| | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (update_has_smart_address): When changing a bookmark address and it was a smart bookmark but now is not anymore, remove the bookmark from the smart_bmks node instead of adding it :)
* Ensure we always have a BookmarksBar toolbar in the model. Fixes bugChristian Persch2004-03-021-24/+31
| | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbars-model.c: (get_toolbar_pos), (ephy_toolbars_model_set_bookmarks): Ensure we always have a BookmarksBar toolbar in the model. Fixes bug #135701.
* Add API docs.Christian Persch2004-03-021-6/+38
| | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: Add API docs.
* If reading the bookmarks file, or re-importing the bookmarks from the rdfChristian Persch2004-03-021-0/+40
| | | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (backup_file), (ephy_bookmarks_init): If reading the bookmarks file, or re-importing the bookmarks from the rdf file fails, back up those files so that the user can afterwards try to manually recover his bookmarks. Fixes bug #128308.
* Fix XBEL importer not to tag all bookmarks with a "Bookmarks" category.Christian Persch2004-03-021-4/+92
| | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (xbel_parse_xbel), (ephy_bookmarks_import_xbel): Fix XBEL importer not to tag all bookmarks with a "Bookmarks" category.
* Export ephy_statusbar_add_widget() for use by extensions.Christian Persch2004-03-012-3/+16
| | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (create_statusbar_security_icon), (ephy_statusbar_add_widget): * src/ephy-statusbar.h: Export ephy_statusbar_add_widget() for use by extensions.
* Separately profile bookmarks menu clean and rebuild.Christian Persch2004-02-291-2/+6
| | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_clean), (ephy_bookmarks_menu_rebuild): Separately profile bookmarks menu clean and rebuild.
* Fix order of the windows, they was reversed before.Marco Pesenti Gritti2004-02-291-2/+2
| | | | | | | | | 2004-02-29 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-session.c: (impl_attach_window), (ephy_session_add_window): Fix order of the windows, they was reversed before.
* fix typo that was causing categorized bookmarks to go in the uncategorizedMarco Pesenti Gritti2004-02-291-1/+1
| | | | | | | | | 2004-02-28 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks.c: (topics_removed_cb): fix typo that was causing categorized bookmarks to go in the uncategorized topic (Bug #135702)
* If a folder has no name, don't tag its bookmarks with "Untitled" keyword,Christian Persch2004-02-291-3/+6
| | | | | | | | | | 2004-02-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (ephy_bookmarks_import_xbel): If a folder has no name, don't tag its bookmarks with "Untitled" keyword, just skip it.
* Add missing check for Firebird bookmarks, patch by André Dahlqvist.Xan Lopez2004-02-281-1/+2
| | | | Add missing check for Firebird bookmarks, patch by André Dahlqvist.
* Fix for gtk+ filechooser API change.Christian Persch2004-02-271-2/+1
| | | | | | | | | | | 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.
* Fix potential crash.Christian Persch2004-02-271-2/+7
| | | | | | | | | | | | 2004-02-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ns_parse_bookmark_item): Fix potential crash. (ephy_bookmarks_import_mozilla): Fix mem leak.
* Replace entities also in folder names, fixes bug #135440.Christian Persch2004-02-271-1/+1
| | | | | | | | 2004-02-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla): Replace entities also in folder names, fixes bug #135440.
* Do not show about:blank to the user, an empty address bar will do better.Marco Pesenti Gritti2004-02-261-2/+15
| | | | | | | | | | | 2004-02-26 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (ephy_tab_address_cb), (ensure_page_info): Do not show about:blank to the user, an empty address bar will do better. When the address bar is empty (no page or blank page is loaded) set the address before loading succeeded.
* Check for NULL before converting filename to UTF-8.Christian Persch2004-02-251-10/+13
| | | | | | | | 2004-02-25 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (open_response_cb): Check for NULL before converting filename to UTF-8.
* Change this back to simply do g_idle_add(), accidentally forgot to revertChristian Persch2004-02-251-13/+3
| | | | | | | | | 2004-02-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (let_me_resize_hack), (ephy_tab_size_to_cb): Change this back to simply do g_idle_add(), accidentally forgot to revert my change.
* Unescape filenames whenever possible.Xan Lopez2004-02-251-1/+1
| | | | Unescape filenames whenever possible.
* Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.Christian Persch2004-02-2511-264/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-notebook.c: (ephy_notebook_class_init), (tab_label_size_request_cb), (ephy_notebook_move_tab), (move_tab), (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (close_button_clicked_cb), (build_tab_label), (ephy_notebook_insert_tab), (smart_tab_switching_on_closure), (ephy_notebook_remove_tab): * src/ephy-notebook.h: * src/ephy-session.c: (tab_added_cb), (tab_removed_cb): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_get_type), (ephy_tab_size_allocate), (ephy_tab_parent_set), (ephy_tab_class_init), (ephy_tab_finalize), (ephy_tab_new), (ephy_tab_get_embed), (ephy_tab_for_embed), (ephy_tab_new_window_cb), (let_me_resize_hack), (ephy_tab_visibility_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (ephy_tabs_menu_set_window), (ephy_tabs_menu_update): * src/ephy-window.c: (tab_added_cb), (tab_removed_cb), (tab_detached_cb), (tabs_reordered_cb), (tab_delete_cb), (setup_notebook), (ephy_window_add_tab), (ephy_window_jump_to_tab), (real_get_active_tab), (ephy_window_remove_tab), (ephy_window_get_active_tab), (ephy_window_get_active_embed), (ephy_window_get_tabs): * src/ephy-window.h: * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right), (window_cmd_tabs_detach): Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.
* Do not use gnome vfs to check the scheme because it can handle onlyMarco Pesenti Gritti2004-02-241-17/+9
| | | | | | | | | 2004-02-24 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (address_has_web_scheme): Do not use gnome vfs to check the scheme because it can handle only supported methods.
* Actually remove nsUnicharUtils.*Marco Pesenti Gritti2004-02-211-1/+0
| | | | | | | | | | | | | | | | | 2004-02-21 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/Makefile.am: Actually remove nsUnicharUtils.* * embed/mozilla/mozilla-embed-persist.cpp: Use our helper to construct tmp file name: fix security issue. * src/window-commands.c: (save_temp_source): Cosmetic change
* Ensure that there are no more chars after the last /. Cut down number ofMarco Pesenti Gritti2004-02-211-5/+8
| | | | | | | | | | 2004-02-20 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-completion-model.c: (is_base_address), (init_relevance_col): Ensure that there are no more chars after the last /. Cut down number of visists properly.
* s/EphyExtensionClass/EphyExtensionIface/gChristian Persch2004-02-174-14/+14
| | | | | | | | | | | | | 2004-02-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extension.c: (ephy_extension_get_type), (ephy_extension_attach_window), (ephy_extension_detach_window): * src/ephy-extension.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_iface_init): * src/ephy-session.c: (ephy_session_iface_init): s/EphyExtensionClass/EphyExtensionIface/g
* Install the statusbar .h file.Christian Persch2004-02-135-247/+232
| | | | | | | | | | | | | | | | | | | | 2004-02-13 Christian Persch <chpe@cvs.gnome.org> * doc/reference/Makefile.am: * src/Makefile.am: Install the statusbar .h file. R src/statusbar.[ch]: A src/ephy-statusbar.[ch]: s/statusbar/ephy-statusbar/ and friends. * src/ephy-window.c: (sync_tab_load_progress), (sync_tab_security), (ephy_window_init): Change references from statusbar to ephy-statusbar. Remove selection-received stuff, since it now lives in EphyTab.
* Unify fallback downloads dir to get the home directory.Christian Persch2004-02-131-11/+10
| | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): Unify fallback downloads dir to get the home directory.
* Fix numerous places where we weren't properly converting between UTF-8 andChristian Persch2004-02-132-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-132-0/+12
| | | | | | * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf):
* Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548.Christian Persch2004-02-131-1/+9
| | | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * configure.in: Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548. * src/ephy-main.c: (main): Use LIBXML_TEST_VERSION to check for API compatibility.
* Increase bookmarks format version.Christian Persch2004-02-121-1/+1
| | | | | | | | 2004-02-11 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: Increase bookmarks format version.
* Update bookmarks keywordsMarco Pesenti Gritti2004-02-121-0/+1
| | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_add): Update bookmarks keywords
* Do not load js urls when middle clicked.Marco Pesenti Gritti2004-02-121-7/+5
| | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (open_link_in_new_tab), (ephy_tab_dom_mouse_click_cb): Do not load js urls when middle clicked.
* CleanupMarco Pesenti Gritti2004-02-111-1/+1
| | | | | | | | | | | | 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
* *** empty log message ***Marco Pesenti Gritti2004-02-116-52/+80
|
* Better autocompletion sorting logic.Marco Pesenti Gritti2004-02-112-13/+48
| | | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-completion-model.c: (is_base_address), (init_relevance_col): Better autocompletion sorting logic. * src/window-commands.c: (window_cmd_help_about): s/translator_credits/translator-credits
* Show the title of the bookmark, not the addressMarco Pesenti Gritti2004-02-111-1/+1
| | | | | | | | 2004-02-10 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-completion-model.c: (init_text_col): Show the title of the bookmark, not the address
* Fix the fix for the epiphany equivalent of bug #133633. Don't convert theChristian Persch2004-02-101-5/+38
| | | | | | | | | | | 2004-02-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (clipboard_text_received_cb), (ephy_tab_dom_mouse_click_cb): Fix the fix for the epiphany equivalent of bug #133633. Don't convert the clipboard contents directly as the souurce may not offer UTF-8 text. Instead request the contents, and gtk+ will convert it for us.
* Make middle-click paste work with urls with IDN domain names. Fixes theChristian Persch2004-02-071-1/+2
| | | | | | | | | 2004-02-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): Make middle-click paste work with urls with IDN domain names. Fixes the epiphany equivalent of galeon bug 133633.
* Make warning message selectable per hig.Piers Cornwell2004-02-051-0/+2
| | | | | | | | 2004-02-05 Piers Cornwell <piers@cvs.gnome.org> * src/ephy-session.c: (offer_to_resume): Make warning message selectable per hig.
* No need to connect to the toolitem's create-menu-proxy signal, gtk+ doesChristian Persch2004-02-052-49/+2
| | | | | | | | | | 2004-02-05 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (connect_proxy): * src/bookmarks/ephy-topic-action.c: (connect_proxy): No need to connect to the toolitem's create-menu-proxy signal, gtk+ does it for us.
* gtk+ now connects the tool item's create_menu_proxy to the action'sChristian Persch2004-02-051-79/+7
| | | | | | | | | | | | | | | 2004-02-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-go-action.c: (ephy_go_action_get_type), (create_tool_item), (ephy_go_action_class_init): gtk+ now connects the tool item's create_menu_proxy to the action's create_menu_item, so we don't need to do it ourselves. Also unnecessary to do connect_proxy. The go action is now almost empty, we should really see if we can use a stock gtktoolbutton for it. 2004-02-04 Christian Persch <chpe@cvs.gnome.org>
* Set a default height/width for the dialog.David Bordoley2004-02-051-0/+2
| | | | | | | | 2004-02-04 David Bordoley <bordoley@msu.edu> * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_new): Set a default height/width for the dialog.
* David Bordoley <bordoley@msu.edu>Biggest Flake Ever2004-02-051-0/+2
| | | | | | | | | | | 2004-02-04 Biggest Flake Ever <flake@whataflake.com> David Bordoley <bordoley@msu.edu> * embed/downloader-view.c: (downloader_view_new): * src/prefs-dialog.c: (setup_add_language_dialog): Use a default width/height for dialogs with tree views that don't have a fixed requisition.
* Use title capitalisation for title.Piers Cornwell2004-02-041-1/+1
| | | | | | | | 2004-02-04 Piers Cornwell <piers@cvs.gnome.org> * src/ephy-history-window.c: (confirmation_dialog_construct): Use title capitalisation for title.
* Decouple extensions manager initialisation and extensions loading. Fixes aChristian Persch2004-02-023-4/+9
| | | | | | | | | | | | 2004-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (ephy_extensions_manager_init): * src/ephy-extensions-manager.h: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): Decouple extensions manager initialisation and extensions loading. Fixes a crash when an extensions tried to get the session, causing us to load extensions more than once.
* Obvious typo fixAdam Hooper2004-01-311-1/+1
|
* Fix property getter of "icon" property.Christian Persch2004-01-291-2/+2
| | | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-favicon-action.c: (ephy_favicon_action_set_property), (ephy_favicon_action_get_property): Fix property getter of "icon" property.
* Don't crash when reading the RDF file fails.Christian Persch2004-01-292-3/+11
| | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_rdf): Don't crash when reading the RDF file fails.
* Use rdf:resource instead of rdf:about, fixes bug #131543.Christian Persch2004-01-291-1/+1
| | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): Use rdf:resource instead of rdf:about, fixes bug #131543.
* Sync topic names in the menu. Fixes bug #128097.Christian Persch2004-01-291-19/+60
| | | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type), (sync_topic_properties), (topic_child_changed_cb), (ephy_bookmarks_menu_init): Sync topic names in the menu. Fixes bug #128097.
* Fix options parsing.Christian Persch2004-01-291-15/+23
| | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_solve_smart_url), (options_find_first_option), (smart_url_options_get): Fix options parsing.
* Use EPHY_STOCK_DOWNLOAD for the download link icon.David Bordoley2004-01-291-1/+1
| | | | | | | | 2004-01-28 David Bordoley <bordoley@msu.edu> * src/ephy-window.c: Use EPHY_STOCK_DOWNLOAD for the download link icon.
* Fix linking with nautilus view enabled.Christian Persch2004-01-281-1/+1
| | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: Fix linking with nautilus view enabled.
* Check for required libnautilus version, and conditionally enable nautilusChristian Persch2004-01-281-0/+8
| | | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * configure.in: * src/Makefile.am: Check for required libnautilus version, and conditionally enable nautilus view.
* Fix mem leak.Christian Persch2004-01-261-0/+2
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_file_print_preview): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-261-0/+1
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-history-window.c: (get_details_value): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-261-1/+7
| | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): Fix mem leak.
* Fix mem leaks.Christian Persch2004-01-261-2/+1
| | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (search_entry_search_cb), (get_details_value): Fix mem leaks.
* Fix mem leak.Christian Persch2004-01-261-9/+5
| | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-251-1/+3
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tabs-menu.c: (tab_set_action_accelerator): Fix mem leak.
* Fix mem leaks.Christian Persch2004-01-251-0/+3
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (ephy_session_save): Fix mem leaks.
* Add a way to get the downloads dir with a comment for translators. Use dirMarco Pesenti Gritti2004-01-252-10/+9
| | | | | | | | | | | | | | | | | | | 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.
* Updated copyright date.Christian Persch2004-01-251-2/+2
| | | | | | | | 2004-01-24 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Updated copyright date.
* Double underscores, since otherwise the menu entry will display them asChristian Persch2004-01-251-2/+4
| | | | | | | | | 2004-01-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_set_title): Double underscores, since otherwise the menu entry will display them as accellerators.
* Add a hidden tools menu that extensions can use.David Bordoley2004-01-251-0/+1
| | | | | | | | | 2004-01-24 David Bordoley <bordoley@msu.edu> * data/ui/epiphany-ui.xml: * src/ephy-window.c: Add a hidden tools menu that extensions can use.
* Make ephy_file_tmp_directory() return a const char * instead of a char *Adam Hooper2004-01-251-1/+1
|
* Fall back to Home directory when the pref is NULL.Christian Persch2004-01-241-0/+6
| | | | | | | | 2004-01-24 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (get_download_button_label): Fall back to Home directory when the pref is NULL.
* Add a persist-position property.Marco Pesenti Gritti2004-01-241-2/+6
| | | | | | | | | | | | | | | | | | | | 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-242-2/+2
| | | | | | | | | | | | | | 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-243-7/+13
| | | | | | | | | | | | | | | | | | | | | 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.
* Use both BYPASS_CACHE and BYPASS_PROXY on force-reload. Unified theChristian Persch2004-01-231-1/+1
| | | | | | | | | | | | | 2004-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/window-commands.c: (window_cmd_view_reload): Use both BYPASS_CACHE and BYPASS_PROXY on force-reload. Unified the handling in mozilla-embed by introducing EMBED_RELOAD_FORCE, and killed EMBED_RELOAD_BYPASS_[CACHE|PROXY] since we now always use both together.
* data: urls can be opened in new tabs too.Christian Persch2004-01-231-0/+1
| | | | | | | | | 2004-01-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): data: urls can be opened in new tabs too.
* New function to get temp directory and moved ephy_shell_delete_on_exit toChristopher James Lahey2004-01-233-25/+13
| | | | | | | | | | | | | | | | | | 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.
* *** empty log message ***Marco Pesenti Gritti2004-01-221-2/+2
|
* Call ephy_file() explicitly for each glade file, letting extensions load ↵Adam Hooper2004-01-223-4/+8
| | | | glade files from any path
* Set "tooltip" property on bookmark actions to the url. That way we displayChristian Persch2004-01-211-4/+23
| | | | | | | | | | | | | 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_class_init): Set "tooltip" property on bookmark actions to the url. That way we display it in the status bar with no extra steps taken.
* about: can be opened in new tab too.Christian Persch2004-01-211-0/+1
| | | | | | | | | 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): about: can be opened in new tab too.
* Add a way to store paths.Marco Pesenti Gritti2004-01-191-18/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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/+9
|
* Use g_signal_connect_object to connect the embed signals, that way they'reChristian Persch2004-01-171-42/+42
| | | | | | | | | | | 2004-01-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_init): Use g_signal_connect_object to connect the embed signals, that way they're disconnected before the tab object is finalised. Should fix crasher bug #131635.
* Use gtk_file_chooser_get_filename() instead ofChristian Persch2004-01-171-1/+1
| | | | | | | | | 2004-01-16 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (download_path_response_cb): Use gtk_file_chooser_get_filename() instead of gtk_file_chooser_get_current_folder(). Fixes bug #131646.
* Show help for menu items in the statusbar.Christian Persch2004-01-161-0/+66
| | | | | | | | | | 2004-01-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (menu_item_select_cb), (menu_item_deselect_cb), (disconnect_proxy_cb), (connect_proxy_cb), (setup_ui_manager), (ephy_window_init): Show help for menu items in the statusbar.
* Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. PortChristian Persch2004-01-162-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_base_init), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (popup_menu_at_coords): * src/popup-commands.c: (popup_cmd_copy_link_address): Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. Port callers to the new api. Fix some callers in src/ which were using private fields of EphyEmbedEvent struct.
* Forgot to commit those.Christian Persch2004-01-131-1/+2
| | | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.h: * src/ephy-tab.c: (address_has_web_scheme): Forgot to commit those.
* Only allow "Open in New Tab/Window" for certain protocols.Christian Persch2004-01-131-1/+6
| | | | | | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * src/ephy-tab.c: (address_has_web_scheme): * src/ephy-window.c: (show_embed_popup): Only allow "Open in New Tab/Window" for certain protocols.
* Fix signal parameter, and add a NULL check. Fixes bug #131117, patch byChristian Persch2004-01-111-1/+3
| | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_exit_fullscreen_popup_position), (ephy_window_fullscreen): Fix signal parameter, and add a NULL check. Fixes bug #131117, patch by Martin Kretzschmar.
* Implement print and print setup disabling for lockdown mode.Christopher James Lahey2004-01-112-0/+55
| | | | | | | | | | | | 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-111-0/+42
| | | | | | | | | | | | | | | | | | | | | | 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.
* Forgot thisChristian Persch2004-01-111-0/+2
|
* Added disable_arbitrary_url, disable_toolbar_editing, and disable_historyChristopher James Lahey2004-01-105-12/+78
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add "Download Link As" to the link context menu.Xan Lopez2004-01-103-0/+12
| | | | | | | | | * data/ui/epiphany-ui.xml: * src/ephy-window.c: * src/popup-commands.c: (popup_cmd_download_link_as): * src/popup-commands.h: Add "Download Link As" to the link context menu.
* Check if embed is valid here.92004-01-101-3/+6
| | | | | | | 2004-01-09 <clahey@ximian.com> * src/toolbar.c (update_location_editable): Check if embed is valid here.
* Added disable_bookmark_editing key.Chris Lahey2004-01-106-13/+96
| | | | | | | | | | | | | | | | | | | | | | * 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.
* Add an accellerator-only action (F7) to toggle caret browsing. Hook upChristian Persch2004-01-093-1/+39
| | | | | | | | | | | | | | | | | 2004-01-09 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * data/ui/epiphany-ui.xml: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: * src/ephy-window.c: (ephy_window_finalize), (browse_with_caret_notifier), (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): * src/window-commands.c: (window_cmd_browse_with_caret): * src/window-commands.h: Add an accellerator-only action (F7) to toggle caret browsing. Hook up listener to set the mozilla pref, added the gconf key to the schema.
* Forgot this line.Chris Lahey2004-01-081-0/+1
|
* Don't save the file if disable_save_to_disk is on.82004-01-081-3/+36
| | | | | | | | | | | | 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.
* Move "automatic" check back to where it was, since we now always have aChristian Persch2004-01-061-8/+8
| | | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Move "automatic" check back to where it was, since we now always have a node for the encoding.
* Behave better when the encoding used on the page is unknown to us.Christian Persch2004-01-063-15/+31
| | | | | | | | | | | | | | | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (add_encoding), (ephy_encodings_get_node), (ephy_encodings_add_recent), (ephy_encodings_get_recent), (ephy_encodings_init): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (add_action), (ephy_encoding_menu_set_window): * src/prefs-dialog.c: (create_node_combo): Behave better when the encoding used on the page is unknown to us. Previously we skipped important steps in menu building, resulting in incorrect encoding indicator. Now, we dynamically add an entry with name "Unknown" to our menu. Also add back some rarely used encodings (us-ascii, UTF-16*, UTF-32*) to our known encodings repertoire.
* Always set the "automatic" toggle button correctly, even if the encodingChristian Persch2004-01-061-8/+9
| | | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Always set the "automatic" toggle button correctly, even if the encoding wasn't found in our database
* Update creditsChristian Persch2004-01-051-0/+1
|
* Add help button to encodings dialogue.Piers Cornwell2004-01-051-8/+15
| | | | | | | | | 2004-01-04 Piers Cornwell <piers@myrealbox.com> * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type), (ephy_encoding_dialog_response_cb): Add help button to encodings dialogue.
* Add help buttons to Certificate Viewer, PDM, print and print setupPiers Cornwell2004-01-052-12/+6
| | | | | | | | | | | | | | | | 2004-01-04 Piers Cornwell <piers@myrealbox.com> * data/glade/certificate-dialogs.glade: * data/glade/epiphany.glade: * data/glade/print.glade: * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_setup_dialog_help_button_cb): * src/pdm-dialog.c: (pdm_dialog_show_help): * src/prefs-dialog.c: (prefs_dialog_show_help): Add help buttons to Certificate Viewer, PDM, print and print setup dialogues.
* Daveb will hate me for this, but making the confirm dialogue onlyChristian Persch2004-01-051-11/+0
| | | | | | | | | | | 2004-01-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (confirm_close_with_modified_forms): Daveb will hate me for this, but making the confirm dialogue only window-modal will make menus not work after cancelling the close. Removing this for the time being since it's a nasty regression, until I find the bug.
* Add API to check if an EphyEmbed has forms with user input in them.Christian Persch2004-01-043-7/+166
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add API to check if an EphyEmbed has forms with user input in them. Currently it required one modified textarea, or two modified text fields. * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-window.c: (confirm_close_with_modified_forms), (ephy_window_delete_event_cb), (tab_delete_cb), (setup_notebook), (ephy_window_init), (ephy_window_remove_tab): When closing a window or tab, check if there is unsubmitted user input in form fields, and if so, warn the user before closing. Fixes bug #119857.
* Show copy text menu item also for linksMichael Terry2004-01-041-23/+49
| | | | | | | | | | | | | | | 2004-01-03 Michael Terry <mterry@fastmail.fm> * data/ui/epiphany-ui.xml: Show copy text menu item also for links * src/ephy-window.c: (update_edit_actions_sensitivity), (enable_edit_actions_sensitivity), (edit_menu_show_cb), (edit_menu_hide_cb), (hide_embed_popup_cb), (show_embed_popup): Show copy text menu item only when there is actually selected text.
* New API to get the EphyTab from an EphyEmbed. Port all users.Christian Persch2004-01-025-25/+40
| | | | | | | | | | | | | | 2004-01-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb), (ephy_notebook_insert_page), (ephy_notebook_remove_page): * src/ephy-tab.c: (ephy_tab_for_embed), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb): * src/ephy-window.c: (tab_context_menu_cb), (tab_added_cb), (tab_removed_cb), (real_get_active_tab), (ephy_window_get_tabs): New API to get the EphyTab from an EphyEmbed. Port all users.
* Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed allChristian Persch2003-12-306-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (ephy_embed_shell_get_embed_single), (ephy_embed_shell_get_encodings), (ephy_embed_shell_check_mime), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-completion-model.c: (ephy_completion_model_init): * src/ephy-shell.c: (ephy_shell_get_history_window): * src/ephy-tab.c: (ephy_tab_set_icon_address), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb): * src/ephy-toolbars-model.c: (impl_get_item_id): * src/prefs-dialog.c: (setup_font_combo), (prefs_clear_cache_button_clicked_cb): Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed all callers.
* Brought type macros in line with the rest of libegg; and use gobjectChristian Persch2003-12-273-103/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* One download directory chooser is enough.Christian Persch2003-12-271-16/+31
| | | | | | | | | 2003-12-26 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (prefs_dialog_finalize), (prefs_download_path_button_clicked_cb): One download directory chooser is enough.
* Move Toolbar struct decl to toolbar.h.Christian Persch2003-12-252-3/+3
| | | | | | | | | 2003-12-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.h: * src/toolbar.h: Move Toolbar struct decl to toolbar.h.
* Bring ephy_window_get_toolbar signature in line withChristian Persch2003-12-254-11/+14
| | | | | | | | | | | | | | | | | | | | 2003-12-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_toolbar), (ephy_window_set_zoom): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_toolbar), (window_cmd_load_location): Bring ephy_window_get_toolbar signature in line with ephy_window_get_[statusbar|notebook]. 2003-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: GDK_Meta_L is a keycode, not a modifier code. Map meta to GDK_MOD2_MASK.
* Re-implement Pause/Resume in downloader.Xan Lopez2003-12-211-1/+1
| | | | | | | | | | | | | * embed/downloader-view.c: (download_dialog_pause_cb): * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: Re-implement Pause/Resume in downloader. * src/window-commands.c: (window_cmd_help_about): Change mail address.
* Do not try to pickup already set MOZILLA_FIVE_HOME, hopefully fix crashesMarco Pesenti Gritti2003-12-211-9/+2
| | | | | | | | | 2003-12-20 Marco Pesenti Gritti <marco@gnome.org> * src/epiphany.in: Do not try to pickup already set MOZILLA_FIVE_HOME, hopefully fix crashes oepning links from thunderbird
* Fixed #129737.Christian Neumair2003-12-211-1/+14
|
* Use favicons in the back/forward menus.Christian Persch2003-12-201-5/+31
| | | | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-navigation-action.c: (ephy_navigation_action_get_type), (new_history_menu_item), (setup_back_or_forward_menu), (setup_up_menu): Use favicons in the back/forward menus.
* Use return, not g_return_if_fail.Christian Persch2003-12-202-6/+1
| | | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Use return, not g_return_if_fail.
* Improve comment.Christian Persch2003-12-192-31/+38
| | | | | | | | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): Improve comment. * src/ephy-window.c: (setup_ui_manager), (setup_notebook), (ephy_window_init): Only show the toolbar after the extensions have been attached to the window.
* Remove debug output leftovers.Christian Persch2003-12-191-4/+4
| | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (add_lang_dialog_response_cb): Remove debug output leftovers.
* In-line the language editor in the prefs dialogue.Christian Persch2003-12-194-632/+450
| | | | | | | | | | | | | | | | | | | | | | | 2003-12-18 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * src/Makefile.am: * src/language-editor.c: * src/language-editor.h: * src/prefs-dialog.c: (prefs_dialog_finalize), (prefs_dialog_class_init), (language_editor_add), (language_editor_update_pref), (language_editor_update_buttons), (add_lang_dialog_response_cb), (setup_add_language_dialog), (language_editor_add_button_clicked_cb), (language_editor_remove_button_clicked_cb), (language_editor_up_button_clicked_cb), (language_editor_down_button_clicked_cb), (language_editor_treeview_drag_end_cb), (language_editor_selection_changed_cb), (create_language_section), (prefs_dialog_init): In-line the language editor in the prefs dialogue.