aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of starthere: and default to google, as discussed with Seth. Add aMarco Pesenti Gritti2003-06-091-83/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-09 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/ui/epiphany-bookmark-editor-ui.xml.in: * embed/ephy-embed-shell.c: (ephy_embed_shell_class_init): * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * lib/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_smart_url), (entry_activated_cb), (activate_cb), (connect_proxy), (ephy_bookmark_action_set_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (sync_bookmark_properties), (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (location_entry_changed_cb): * src/bookmarks/ephy-bookmarks-editor.c: (show_properties_dialog), (add_bookmarks_source_menu), (import_dialog_response_cb), (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import), (mozilla_parse_bookmarks), (xbel_parse_folder), (xbel_parse_bookmarks), (ephy_bookmarks_import_xbel): * src/bookmarks/ephy-bookmarks-import.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_autocompletion_source_foreach), (ephy_bookmarks_init_defaults), (update_topics_list), (update_has_smart_address), (ephy_bookmarks_add), (ephy_bookmarks_set_address): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_finalize), (ephy_new_bookmark_add), (ephy_new_bookmark_init), (ephy_new_bookmark_set_title): * src/bookmarks/ephy-new-bookmark.h: * src/ephy-shell.c: (ephy_shell_init): * src/popup-commands.c: (popup_cmd_bookmark_link): Get rid of starthere: and default to google, as discussed with Seth. Add a way to import bookmarks from the editor. (you still cant specificy a file, that's sort of low priority for me, but we have a plan on how to do it). Allow to edit smart bookmarks in the user interface. The address field is used and when there is a %s, it's considered a smart url. (like mozilla does it).
* Explicitly create pointer to avoid strict aliasing warnings with gcc 3.3.Jeremy Katz2003-06-091-1/+2
| | | | | | | | 2003-06-08 Jeremy Katz <katzj@redhat.com> * src/ephy-shell.c (ephy_shell_init): Explicitly create pointer to avoid strict aliasing warnings with gcc 3.3. * src/window-commands.c (window_cmd_help_about): Likewise.
* Make sure to rebuild on add bookmark and on topic removal. Update on idle,Marco Pesenti Gritti2003-06-041-72/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_updates), (bookmarks_tree_changed_cb), (ephy_bookmarks_menu_init): * src/bookmarks/ephy-bookmarks.c: (bookmarks_changed_cb), (topics_removed_cb), (ephy_bookmarks_add): Make sure to rebuild on add bookmark and on topic removal. Update on idle, so things like importing bookmarks doesnt take two days. * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_init_services), (load_homepage), (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-window.c: (setup_window): * src/session.c: (parse_embed): Drop NOT_JUMP_TO flag, we dont have a pref anymore. On new page instead of really clone the page, just clone the url (put it in the address entry). So if the user need it it's easy to load, but there are not the inacceptable slow downs of real cloning. Let's see how this works ...
* Get rid of the leftovers of the jump-to-tab pref.Christian Persch2003-06-041-2/+0
| | | | | | | | | | 2003-06-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-notebook.c: (notebook_drag_data_received_cb): Get rid of the leftovers of the jump-to-tab pref.
* s/DESTROYED/DESTROY which is more useulfMarco Pesenti Gritti2003-05-271-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-26 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-node.c: (callback), (ephy_node_dispose): * lib/ephy-node.h: s/DESTROYED/DESTROY which is more useulf * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_set_property), (root_destroy_cb): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults), (ephy_bookmarks_set_toolbars_model), (ephy_bookmarks_set_property), (ephy_bookmarks_get_property), (ephy_bookmarks_class_init), (bookmarks_removed_cb), (topics_removed_cb), (ephy_bookmarks_init), (ephy_bookmarks_finalize): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-toolbars-model.c: (impl_add_item), (ephy_toolbars_model_set_bookmarks), (ephy_toolbars_model_set_property), (ephy_toolbars_model_get_property), (ephy_toolbars_model_class_init), (ephy_toolbars_model_init), (ephy_toolbars_model_finalize), (ephy_toolbars_model_new): * src/ephy-toolbars-model.h: * src/toolbar.c: (topic_destroy_cb), (bookmark_destroy_cb), (toolbar_ensure_action), (toolbar_init): Better way to remove unrefed bookmarks from the toolbar. Ref bookmarks in toolbars model and weak reaf toolbars model in bookmarks. So setting defaults really works.
* Cleanup new tab logic, and ever use window for new instances.Marco Pesenti Gritti2003-05-211-34/+32
| | | | | | | | | | | | | | | | | | | | | | 2003-05-21 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_open_bookmarks_in_tabs), (ephy_bookmarks_editor_node_activated_cb): * src/ephy-automation.c: (impl_ephy_automation_loadurl): * src/ephy-history-window.c: (cmd_open_bookmarks_in_tabs), (cmd_open_bookmarks_in_browser): * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-shell.h: * src/popup-commands.c: (popup_cmd_link_in_new_window), (popup_cmd_link_in_new_tab), (popup_cmd_image_in_new_tab), (popup_cmd_image_in_new_window), (popup_cmd_frame_in_new_tab), (popup_cmd_frame_in_new_window): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_new_tab), (window_cmd_view_page_source): Cleanup new tab logic, and ever use window for new instances.
* Shortest patch ever!!! Kill the new page pref. Make Seth happy :)David Bordoley2003-05-201-3/+2
| | | | | | | | | | | | | 2003-05-19 David Bordoley <bordoley@msu.edu> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * lib/ephy-prefs.h: * src/ephy-shell.c: (build_homepage_url): * src/pref-dialog.c: (properties[]) Shortest patch ever!!! Kill the new page pref. Make Seth happy :)
* 2003-05-19 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-05-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/Makefile.am: * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * lib/ephy-node.c: (write_lock_to_read_lock), (read_lock_to_write_lock), (lock_gdk), (unlock_gdk), (callback), (ephy_node_emit_signal), (ephy_node_finalize), (real_remove_child), (remove_child), (signal_object_weak_notify), (unref_signal_objects), (ephy_node_dispose), (ephy_node_new), (ephy_node_new_with_id), (ephy_node_get_id), (ephy_node_ref), (ephy_node_unref), (ephy_node_freeze), (ephy_node_thaw), (child_changed), (real_set_property), (ephy_node_set_property), (ephy_node_get_property), (ephy_node_get_property_string), (ephy_node_get_property_boolean), (ephy_node_get_property_long), (ephy_node_get_property_int), (ephy_node_get_property_double), (ephy_node_get_property_float), (ephy_node_get_property_node), (save_parent), (ephy_node_save_to_xml), (real_add_child), (ephy_node_new_from_xml), (ephy_node_add_child), (ephy_node_remove_child), (ephy_node_has_child), (ephy_node_real_get_child_index), (ephy_node_sort_children), (ephy_node_reorder_children), (ephy_node_get_children), (ephy_node_get_n_children), (ephy_node_get_nth_child), (get_child_index_real), (ephy_node_get_child_index), (ephy_node_get_next_child), (ephy_node_get_previous_child), (ephy_node_signal_connect_object), (ephy_node_signal_disconnect): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_load), (ensure_states), (ephy_state_add_window), (ephy_state_add_paned), (ephy_state_save): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init), (ephy_node_view_selection_changed_cb), (ephy_node_view_set_property), (ephy_node_view_get_property), (ephy_node_view_remove): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init), (ephy_tree_model_node_set_property), (ephy_tree_model_node_get_property), (ephy_tree_model_node_get_value), (ephy_tree_model_node_get_path), (ephy_tree_model_node_iter_next), (ephy_tree_model_node_node_from_iter): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init), (ephy_bookmark_properties_set_property): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_bookmarks_bar), (cmd_open_bookmarks_in_tabs), (cmd_open_bookmarks_in_browser), (cmd_delete), (cmd_bookmark_properties), (cmd_copy), (ephy_bookmarks_editor_node_activated_cb), (ephy_bookmarks_editor_update_menu),
* Rework prefs dialog ui a bit. Remove jumpto and tabbed_popups prefsMarco Pesenti Gritti2003-05-101-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-10 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * lib/ephy-prefs.h: * src/Makefile.am: * src/ephy-shell.c: (ephy_shell_new_window_cb): * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/prefs-dialog.c: (prefs_dialog_get_type), (prefs_dialog_new), (prefs_dialog_show_help), (setup_font_menu), (save_font_menu), (font_entry_changed_cb), (attach_font_signal), (attach_fonts_signals), (size_spinbutton_changed_cb), (attach_size_controls_signals), (setup_size_control), (setup_size_controls), (setup_fonts), (default_charset_menu_changed_cb), (find_charset_in_list_cmp), (create_default_charset_menu), (general_prefs_new_language_menu), (language_menu_changed_cb), (create_language_menu), (set_homepage_entry), (prefs_dialog_init), (prefs_dialog_response_cb), (prefs_clear_disk_cache_button_clicked_cb), (fonts_language_optionmenu_changed_cb), (prefs_homepage_current_button_clicked_cb), (prefs_homepage_blank_button_clicked_cb), (fill_language_editor), (language_dialog_changed_cb), (prefs_language_more_button_clicked_cb): * src/prefs-dialog.h: * src/window-commands.c: (window_cmd_edit_prefs): Rework prefs dialog ui a bit. Remove jumpto and tabbed_popups prefs (jumpto is still in the schemas. Remove the crazy page by page separation in the code.
* Implement the EPHY_NEW_TAB_APPEND_AFTER flag.Christian Persch2003-05-061-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-05 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> * src/ephy-shell.c: * src/ephy-shell.h: (ephy_shell_new_tab): Implement the EPHY_NEW_TAB_APPEND_AFTER flag. * src/ephy-window.c: * src/ephy-window.h: (ephy_window_add_tab): Changed parameter (gboolean) groupde to (gint) position, to support specifying the position in the notebook to insert the new tab into. * src/ephy-shell.c: (ephy_shell_new_window_cb): * src/ephy-tab.c: (ephy_tab_new_window_cb): Fix callers of ephy_window_add_tab for new parameter. * src/ephy-notebook.c: (notebook_drag_data_received_cb), (ephy_notebook_init), (ephy_notebook_insert_page): Implement drag-and-drop of links to tabs.
* Respect all the new_tab used flags, drop unused ones. Patch by ChristianXan Lopez2003-04-301-0/+3
| | | | | Respect all the new_tab used flags, drop unused ones. Patch by Christian Perch <chpe+gnomebugz@stud.uni-saarland.de>
* We dont need a _remove api, unrefing the node will work better. Try toMarco Pesenti Gritti2003-04-301-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-29 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-history.c: (remove_obsolete_pages), (pages_removed_cb), (ephy_history_get_last_page): * embed/ephy-history.h: We dont need a _remove api, unrefing the node will work better. Try to remove the host when it's empty. It still doesnt work properly, prolly EphyNode bug. * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_node): * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: (prop_dialog_destroy_cb), (show_properties_dialog), (cmd_bookmark_properties), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_init): Do not open more than one dialog per node, just present it. Picky picky Dave. * src/ephy-automation.c: (impl_ephy_automation_loadurl): * src/ephy-shell.c: (ephy_shell_new_tab): Ever present the window when opening windows through automation.
* Actually pass a parent to history/bookmarks window, where to open the url.Marco Pesenti Gritti2003-04-281-2/+16
| | | | | | | | | | | | | | | 2003-04-28 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-automation.c: (impl_ephy_automation_open_bookmarks_editor): * src/ephy-shell.c: (ephy_shell_show_bookmarks_editor), (ephy_shell_show_history_window): * src/ephy-shell.h: * src/window-commands.c: (window_cmd_go_bookmarks), (window_cmd_go_history): Actually pass a parent to history/bookmarks window, where to open the url. Bad who regressed this ;)
* updateMarco Pesenti Gritti2003-04-271-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-27 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: * lib/egg/egg-toolbars-model.c: * lib/egg/egg-toolbars-model.h: * lib/egg/eggtoolbar.c: update * src/ephy-shell.c: (save_toolbars), (ephy_shell_get_toolbars_model): * src/ephy-toolbars-model.c: (impl_add_item), (ephy_toolbars_model_class_init): * src/ephy-toolbars-model.h: * src/toolbar.c: (action_request_cb), (init_bookmarks_toolbar), (toolbar_set_window): Load the toolbars model in EphyShell so bookmarks editor alone can use it. Update the actions on a new editable toolbar signal, actions are per toolbar, not per model.
* Hookup to the response signal instead of using gtk_dialog_run. Prevents usDavid Bordoley2003-04-261-42/+30
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-25 David Bordoley <bordoley@msu.edu> * src/ephy-history-window.c: (cmd_bookmark_page): * src/popup-commands.c: (popup_cmd_bookmark_link): * src/window-commands.c: (window_cmd_file_bookmark_page): Hookup to the response signal instead of using gtk_dialog_run. Prevents us from going modal. * src/bookmarks/ephy-new-bookmark.c: (response_cb), (ephy_new_bookmark_response_cb): * src/bookmarks/ephy-new-bookmark.h Add a convenience callback function, that callers can use to destroy the dialog after a response. * src/ephy-shell.c: (ephy_shell_command_cb): Use a callback to the gtk_widget_destroy on the "response" signal instead of using gtk_dialog_run. eg. don't go modal. Some code cleanups too.
* Get back toolbar editing functionalities. More work on the bookmarksMarco Pesenti Gritti2003-04-251-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-25 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-toolbar.xml.in: * data/ui/epiphany-ui.xml.in: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_hide), (egg_editable_toolbar_set_drag_dest): * lib/egg/egg-editable-toolbar.h: * src/bookmarks/ephy-topic-action.c: (create_tool_item): * src/ephy-shell.c: (save_toolbars), (ephy_shell_finalize), (ephy_shell_get_toolbars_model): * src/ephy-toolbars-model.c: (impl_add_item), (ephy_toolbars_model_class_init): * src/ephy-toolbars-model.h: * src/ephy-window.c: (ephy_window_set_chrome): * src/toolbar.c: (ensure_bookmark_action), (toolbar_ensure_action), (action_added_cb), (init_bookmarks_toolbar), (toolbar_set_window), (toolbar_new), (toolbar_set_visibility): * src/toolbar.h: * src/window-commands.c: (toolbar_editor_destroy_cb), (window_cmd_edit_toolbar): Get back toolbar editing functionalities. More work on the bookmarks toolbars implementation. The toolbars context menus are regressed but it's not my fault :/ The signal on EggToolbar is borked.
* Update from eggMarco Pesenti Gritti2003-04-251-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-25 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-toolbar.xml.in: * lib/egg/Makefile.am: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-menu-merge.c: * lib/egg/egg-radio-action.c: * lib/egg/eggmarshalers.c: * lib/egg/eggmarshalers.h: * lib/egg/eggmarshalers.list: * lib/egg/eggtoggletoolbutton.c: * lib/egg/eggtoggletoolbutton.h: * lib/egg/eggtoolbar.c: * lib/egg/eggtoolbar.h: * lib/egg/eggtoolbutton.c: * lib/egg/eggtoolbutton.h: * lib/egg/eggtoolitem.c: * lib/egg/eggtoolitem.h: * lib/egg/eggtreemodelfilter.c: Update from egg * src/Makefile.am: * src/ephy-location-action.c: (create_tool_item): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_get_bookmarks), * src/ephy-shell.h: * src/ephy-window.c: (setup_window), (ephy_window_finalize), (ephy_window_set_chrome): * src/toolbar.c: (toolbar_class_init), (toolbar_set_window), (topic_remove_cb), (bookmark_remove_cb), (toolbar_init), (toolbar_new): * src/window-commands.c: (window_cmd_edit_toolbar): Use the new toolbar editor api. This is incomplete, if you use bookmarks toolbars please still do not update.
* Open view source and copy page next to the current tab, not at the endXan Lopez2003-04-191-3/+9
| | | | | Open view source and copy page next to the current tab, not at the end (this was actually a multi-liner patch, sorry marco :P).
* New history dialog implementation. More similar to bookmarks. Yeah itMarco Pesenti Gritti2003-04-181-1/+41
| | | | | | | | | | | | | | | | | | | | | | | 2003-04-17 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/Makefile.am: * embed/ephy-history.c: (ephy_history_init): * embed/ephy-history.h: * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_value): * src/Makefile.am: * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_show_bookmarks_editor), (history_window_hide_cb), (ephy_shell_show_history_window): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_finalize), (update_embed_dialogs), (ephy_window_get_find_dialog): * src/ephy-window.h: * src/window-commands.c: (window_cmd_go_history): New history dialog implementation. More similar to bookmarks. Yeah it still sucks ... but the hard part is done.
* Moved the new_window_orphan signal to EphyEmbedSingle.Dave Camp2003-04-171-1/+1
| | | | | | | | | 2003-04-16 Dave Camp <dave@ximian.com> * embed/ephy-embed-shell.c: (ephy_embed_shell_class_init): * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * src/ephy-shell.c: (ephy_shell_init): Moved the new_window_orphan signal to EphyEmbedSingle.
* Remove some api that was just silly wrappers. Return GtkTreeViewColumn onMarco Pesenti Gritti2003-04-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-15 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_select_all), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-node-view.c: (ephy_node_view_add_column), (ephy_node_view_remove): * src/bookmarks/ephy-node-view.h: Remove some api that was just silly wrappers. Return GtkTreeViewColumn on add_column. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-shell.c: (ephy_shell_new_window_cb), (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_add_tab): * src/ephy-window.h: * src/session.c: (parse_embed): Ever open tab as last on File->New tab and similars.
* Use google feel like for keywordsMarco Pesenti Gritti2003-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-13 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/default-prefs.js: Use google feel like for keywords * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_system_init): * lib/ephy-node.h: Pass the reserved ids num * lib/ephy-types.h: * src/ephy-shell.c: (ephy_shell_init): Increase reserved ids to 100. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults), (ephy_bookmarks_load), (ephy_bookmarks_init): Default keywords and bookmarks (only google smb). Keywords are probably quite sucky, well it's a start ;) Adding more bookmarks could be a i18n pain. We should be ready for 0.5.0 now. Apologies to translators for the added string, but this was really necessary for the bookmarks system to make sense :/
* Allow to launch the BME alone, rework some CORBA code, add a .desktop fileXan Lopez2003-04-091-0/+40
| | | | | Allow to launch the BME alone, rework some CORBA code, add a .desktop file for the BME. Fixes #102477.
* Reimplement ephystate using xml and make it easier to use. -> remove someMarco Pesenti Gritti2003-03-191-0/+2
| | | | | | | | | | | | | | | | | | | | 2003-03-18 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dialog.c: (setup_default_size): * lib/ephy-state.c: (ephy_states_load), (ephy_states_save), (find_by_name), (ensure_states), (ephy_state_window_set_size), (ephy_state_window_save_size), (window_configure_event_cb), (window_state_event_cb), (ephy_state_add_window), (ephy_state_save): * lib/ephy-state.h: * lib/ephy-types.h: * src/ephy-shell.c: (ephy_shell_finalize): * src/ephy-window.c: (setup_window), (ephy_window_init), (ephy_window_show): * src/prefs-dialog.c: (prefs_dialog_init): Reimplement ephystate using xml and make it easier to use. -> remove some duplicate code
* Translate menusMarco Pesenti Gritti2003-03-051-0/+6
| | | | | | | | | | | | | | | | | | | | 2003-03-04 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyAboutRedirector.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozillaPrivate.cpp: * lib/egg/egg-action-group.c: * src/ephy-encoding-menu.c: (build_group), (build_charset): Translate menus * src/ephy-automation.c: (impl_ephy_automation_loadurl): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: Make -f work
* about:options and about:epiphanyMarco Pesenti Gritti2003-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 Marco Pesenti Gritti <marco@it.gnome.org> * data/Makefile.am: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * src/Makefile.am: about:options and about:epiphany * src/ephy-shell.c: (ephy_init_services): monitor proxy changes * src/prefs-dialog.c: (create_page), (prefs_dialog_get_page): * src/ui-prefs.c: * src/ui-prefs.h: * lib/widgets/ephy-spinner.c: (ephy_spinner_get_theme_info), (ephy_spinner_init_directory_list), (ephy_spinner_info_free), (ephy_spinner_get_theme_path): * lib/widgets/ephy-spinner.h: Remove spinner configuration, this should be part of the icon theme at some point.
* Remove an hack used to work around a fixed combo problemMarco Pesenti Gritti2003-02-261-1/+1
| | | | | | | | | | | | 2003-02-26 Marco Pesenti Gritti <marco@it.gnome.org> * src/appearance-prefs.c: (setup_font_menu): Remove an hack used to work around a fixed combo problem * src/ephy-shell.c: (ephy_shell_command_cb): Use info dialog for mozilla bookmarks imported, not error.
* Update location entry with the urls selected on the drop down. ImplementMarco Pesenti Gritti2003-02-231-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-23 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_class_init), (ephy_autocompletion_window_key_press_hack): * lib/widgets/ephy-autocompletion-window.h: * lib/widgets/ephy-editable-toolbar.c: (drag_data_delete_cb), (drag_data_get_cb), (connect_toolbar_drag_source), (disconnect_toolbar_drag_source), (do_merge), (editor_close_cb), (button_press_cb), (ephy_editable_toolbar_edit): * lib/widgets/ephy-location-entry.c: (location_focus_out_cb), (ephy_location_entry_init), (real_entry_set_location), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_autocompletion_window_url_selected_cb), (ephy_location_entry_set_autocompletion), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_autocompletion_window_hidden_cb), (ephy_location_entry_edit): * lib/widgets/ephy-location-entry.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (add_widget): * src/toolbar.c: (toolbar_edit_location): * src/toolbar.h: Update location entry with the urls selected on the drop down. Implement editing mode in location entry == when the user is typing an url try to do not disturb (mozilla still grab the focus damnit). Dont put the homepage url in the location. I'm not sure if this is a good behavior for normal urls (I dont see problems, but please prove me wrong), but for about:blank it's needed.
* Make nautilus view actually workMarco Pesenti Gritti2003-02-101-1/+5
| | | | | | | | | | | | 2003-02-09 Marco Pesenti Gritti <marco@it.gnome.org> * acconfig.h: * configure.in: * data/GNOME_Epiphany_NautilusView.server.in: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-shell.c: Make nautilus view actually work
* Error handling in moz bookmarks import.Xan Lopez2003-02-091-8/+18
| | | | Error handling in moz bookmarks import.
* Added the ability to import galeon and konqueror bookmarks.James Willcox2003-02-061-1/+49
| | | | | | | | | | | | | | | | 2003-02-05 James Willcox <jwillcox@gnome.org> * data/starthere/section.xsl: * embed/mozilla/StartHereProtocolHandler.cpp: * lib/ephy-start-here.c: (galeon_bookmarks), (attach_content): * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_single_bookmark), (xbel_parse_folder), (xbel_parse_bookmarks), (ephy_bookmarks_import_mozilla), (ephy_bookmarks_import_xbel): * src/bookmarks/ephy-bookmarks-import.h: * src/ephy-shell.c: (ephy_shell_command_cb): Added the ability to import galeon and konqueror bookmarks.
* *** empty log message ***Marco Pesenti Gritti2003-02-061-4/+9
|
* hmmmMarco Pesenti Gritti2003-01-211-1/+0
|
* Api changes.Marco Pesenti Gritti2003-01-211-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2003-01-21 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/BaseProtocolContentHandler.cpp: * embed/mozilla/StartHereProtocolHandler.cpp: Api changes. * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize): * embed/ephy-history.c: (ephy_history_host_visited), (ephy_history_set_page_title), (ephy_history_remove): * lib/widgets/ephy-spinner.c: (ephy_spinner_expose), (ephy_spinner_size_request): * lib/widgets/ephy-spinner.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_finalize): * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_autocompletion): * src/ephy-spinner-action.c: (create_tool_item): Nicer spinner size. Fix references problem and a lot of logs to make it easy to debug it.
* Merge eog-menu-api branchMarco Pesenti Gritti2003-01-211-1/+2
| | | | | | 2003-01-20 Marco Pesenti Gritti <marco@it.gnome.org> * Merge eog-menu-api branch
* Port several leaks fixes from galeon.Marco Pesenti Gritti2003-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-event.c: (free_g_value), (ephy_embed_event_init), (ephy_embed_event_get_property): * embed/ephy-embed-event.h: * embed/ephy-embed-popup.c: (setup_document_menu), (embed_popup_copy_email_cmd), (embed_popup_copy_link_location_cmd), (save_property_url), (embed_popup_open_link_cmd), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd), (embed_popup_open_image_cmd): * embed/ephy-embed-utils.c: (build_charset), (ephy_embed_utils_build_charsets_submenu): * embed/mozilla/FilePicker.cpp: * src/bookmarks/ephy-bookmarks.c: (update_favorites_menus): * src/ephy-nautilus-view.c: (gnv_embed_dom_mouse_down_cb), (gnv_popup_cmd_new_window), (gnv_popup_cmd_image_in_new_window): * src/ephy-shell.c: (ephy_shell_get_active_window): * src/ephy-tab.c: (ephy_tab_dom_mouse_down_cb): * src/ephy-window.c: (update_window_visibility), (update_spinner_control): * src/general-prefs.c: (language_dialog_changed_cb): * src/popup-commands.c: (popup_cmd_new_window), (popup_cmd_new_tab), (popup_cmd_image_in_new_tab), (popup_cmd_image_in_new_window), (popup_cmd_add_bookmark): * src/session.c: (session_close), (session_save): * src/session.h: Port several leaks fixes from galeon.
* Use the title also for hosts in history. Cleanup hosts matching code aMarco Pesenti Gritti2003-01-141-0/+1
| | | | | | | | | | | | | | | 2003-01-13 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-history.c: (ephy_history_save), (hosts_added_cb), (hosts_removed_cb), (ephy_history_finalize), (ephy_history_host_set_title), (ephy_history_host_visited), (ephy_history_add_host), (ephy_history_visited), (ephy_history_add_page), (ephy_history_set_page_title): * src/ephy-history-model.c: (ephy_history_model_get_value): * src/ephy-shell.c: (ephy_shell_get_autocompletion): Use the title also for hosts in history. Cleanup hosts matching code a lot.
* 2003-01-12 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-01-121-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: * doc/debugging.txt: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_charsets_submenu): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): * embed/ephy-history.c: (ephy_history_save): * embed/mozilla/mozilla-embed.cpp: * lib/ephy-autocompletion.c: (ephy_autocompletion_reset), (ephy_autocompletion_get_common_prefix), (ephy_autocompletion_refine_matches), (ephy_autocompletion_update_matches_full), (ephy_autocompletion_sort_by_score), (ephy_autocompletion_data_changed_cb), (acma_grow): * lib/ephy-debug.c: (log_module), (ephy_debug_init), (ephy_profiler_new), (ephy_should_profile), (ephy_profiler_dump), (ephy_profiler_free), (ephy_profiler_start), (ephy_profiler_stop): * lib/ephy-debug.h: * lib/ephy-filesystem-autocompletion.c: (ephy_filesystem_autocompletion_finalize_impl), (gfa_load_directory_cb), (ephy_filesystem_autocompletion_set_current_dir), (ephy_filesystem_autocompletion_set_base_dir): * lib/ephy-start-here.c: * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_get_dimensions), (ephy_autocompletion_window_fill_store_chunk), (ephy_autocompletion_window_show), (ephy_autocompletion_window_key_press_cb): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize_impl), (ephy_location_entry_autocompletion_show_alternatives_to), (ephy_location_entry_autocompletion_to), (ephy_location_entry_activate_cb), (ephy_location_entry_autocompletion_sources_changed_cb), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_autocompletion_window_hidden_cb): * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_clean_empty_keywords), (ephy_bookmarks_save), (ephy_bookmarks_find_keyword), (diff_keywords): * src/bookmarks/ephy-keywords-entry.c: (try_to_expand_keyword): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/ephy-nautilus-view.c: (gnv_cmd_set_charset), (if): * src/ephy-navigation-button.c: (ephy_navigation_button_finalize_impl): * src/ephy-shell.c: (ephy_shell_finalize): * src/ephy-tab.c: (ephy_tab_embed_destroy_cb), (ephy_tab_finalize):
* Move root nodes ids to ephy-types. Simple logging facility:Marco Pesenti Gritti2003-01-121-0/+2
| | | | | | | | | | | | | | | | | | | 2003-01-12 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/ephy-history.c: * lib/Makefile.am: * lib/ephy-types.h: * src/bookmarks/ephy-bookmarks.c: * src/ephy-shell.c: (ephy_shell_init): Move root nodes ids to ephy-types. Simple logging facility: EPHY_DEBUG_MODULES= all | filename will enable it. Need to provide a way to disable it and to get rid of the old per file crap.
* More start here page work, importing bookmarks from mozilla now shouldMarco Pesenti Gritti2003-01-091-0/+39
| | | | | | | | | | | | | | | | | | 2003-01-08 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * data/starthere/Makefile.am: * data/starthere/index.xml.in: * data/starthere/section.xsl: * data/starthere/smartbookmarks.xml.in: * embed/ephy-embed-shell.c: (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/mozilla/StartHereProtocolHandler.cpp: * po/POTFILES.in: * src/ephy-shell.c: (ephy_shell_command_cb), (ephy_shell_init): More start here page work, importing bookmarks from mozilla now should work.
* Make GaleonShell inherit from GaleonEmbedShell. Ref the shell when usingMarco Pesenti Gritti2003-01-051-33/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-05 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/art/epiphany.png: * data/epiphany.schemas.in: * data/glade/epiphany.glade: * embed/downloader-view.c: (downloader_view_init), (downloader_view_finalize): * embed/ephy-embed-favicon.c: (ephy_embed_favicon_set_property): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_impl), (ephy_embed_shell_get_type), (ephy_embed_shell_new): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_charsets_submenu): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/appearance-prefs.c: (setup_font_menu): * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-main.c: (main): * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_init), (ephy_shell_finalize), (build_homepage_url), (ephy_shell_get_autocompletion): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_location_cb), (ephy_tab_visibility_cb): * src/ephy-window.c: (favicon_cache_changed_cb), (ephy_window_init), (update_favicon_control): * src/general-prefs.c: (create_default_charset_menu): * src/history-dialog.c: (history_dialog_init): * src/pdm-dialog.c: (pdm_dialog_cookie_remove), (pdm_dialog_password_remove), (pdm_dialog_cookies_free), (pdm_dialog_passwords_free), (pdm_dialog_init): * src/prefs-dialog.c: (prefs_clear_memory_cache_button_clicked_cb), (prefs_clear_disk_cache_button_clicked_cb): * src/window-commands.c: (window_cmd_file_open): Make GaleonShell inherit from GaleonEmbedShell. Ref the shell when using the downloader. Use favicons for the window icon when possible. This required to use jimmac icon as default, we still dont have his permission, I'll remove it later if necessary.
* *** empty log message ***Marco Pesenti Gritti2003-01-021-1/+1
|
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+525