aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-automation.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup session. Persist also history and bookmarks.Marco Pesenti Gritti2003-11-101-54/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-09 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.h: * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_open_bookmarks_editor), (ephy_automation_init), (ephy_automation_object_finalize), (ephy_automation_class_init): * src/ephy-completion-model.c: (root_child_removed_cb): * src/ephy-main.c: (ephy_main_start): * src/ephy-shell.c: (ephy_shell_get_active_window), (toolwindow_show_cb), (toolwindow_hide_cb), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (remove_from_session), (ephy_window_init): * src/session.c: (session_autoresume), (session_close), (session_dispose), (save_window_geometry), (save_tool_window), (save_ephy_window), (session_save), (session_load), (session_get_windows), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (session_add_window), (session_remove_window), (save_yourself_cb), (session_die_cb), (gnome_session_init), (session_init): * src/session.h: * src/window-commands.c: (window_cmd_go_bookmarks), (window_cmd_go_history): Cleanup session. Persist also history and bookmarks.
* Remove --server mode. It was a dirty hack anyway, and had a crasher whenChristian Persch2003-09-251-2/+0
| | | | | | | | | | | | 2003-09-24 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_quit): * src/ephy-main.c: (ephy_main_start): Remove --server mode. It was a dirty hack anyway, and had a crasher when loggin out from gnome-session. Sort of fixes bug #123047. Flames will be redirected > /dev/null .
* Refactor initialization/automation code. Now all the code used by theMarco Pesenti Gritti2003-09-241-7/+8
| | | | | | | | | | | | | | | 2003-09-23 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-automation.c: (ephy_automation_factory_new): * src/ephy-automation.h: * src/ephy-main.c: (main), (ephy_main_start): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize): Refactor initialization/automation code. Now all the code used by the first instance is in ephy_shell, all the code used by other instances is in ephy_main. Unref the factory before quitting so we dont risk new automation object are created and used with a dead shell.
* Add an --import-bookmarks command line option, and really implement theChristian Persch2003-09-191-0/+18
| | | | | | | | | | | | | 2003-09-19 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_add_bookmark), (impl_ephy_automation_import_bookmarks), (ephy_automation_class_init): * src/ephy-main.c: (ephy_main_start): Add an --import-bookmarks command line option, and really implement the --add-bookmark one.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-4/+6
|
* 2003-07-13 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-07-131-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: * configure.in: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (impl_get_downloader_view): * embed/ephy-embed-shell.h: * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/ProgressListener.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/ephy-langs.h: * lib/ephy-node.c: (unref_signal_objects), (ephy_node_signal_connect_object): * plugins/Makefile.am: * plugins/sample/Makefile.am: * plugins/sample/sample.c: (bmk_added), (bmk_removed), (bmk_changed), (switch_page_cb), (window_focus_in_cb), (location_changed_cb), (tab_added_cb), (new_window_cb), (plugin_init): * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_icon): * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon), (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks-editor.c: (provide_favicon), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks.c: (update_favorites_menus): * src/bookmarks/ephy-topic-action.c: (build_bookmarks_menu): * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_quit), (impl_ephy_automation_load_session): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-history-window.c: (confirmation_dialog_response_cb), (provide_favicon): * src/ephy-location-action.c: (connect_proxy): * src/ephy-notebook.c: (sync_icon): * src/ephy-shell.c: (ephy_shell_get_active_window), (ephy_shell_get_session), (ephy_shell_get_autocompletion), (ephy_shell_get_toolbars_model): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_get_action): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (sync_tab_icon), (ephy_window_init), (remove_from_session), (ephy_window_get_active_tab):
* Try to fix node removal problems. I cant repro crashes ... but they areMarco Pesenti Gritti2003-05-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-25 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_save): * embed/ephy-history.c: (ephy_history_save), (hosts_removed_cb), (pages_removed_cb), (unref_empty_host), (page_removed_from_host_cb), (connect_page_removed_from_host), (ephy_history_init), (ephy_history_add_host): * lib/ephy-file-helpers.c: (ephy_file_save_xml): * lib/ephy-file-helpers.h: * lib/ephy-node.c: (callback), (ephy_node_emit_signal), (real_remove_child), (ephy_node_dispose): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_save): * lib/widgets/ephy-tree-model-node.c: (root_child_removed_cb): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save), (bookmarks_removed_cb), (topics_removed_cb): Try to fix node removal problems. I cant repro crashes ... but they are quite hard to reproduce. Use a save_xml helper that is low disk safe. * src/ephy-automation.c: (impl_ephy_automation_loadurl): Use OPEN_PAGE when an url is passed
* Cleanup new tab logic, and ever use window for new instances.Marco Pesenti Gritti2003-05-211-13/+9
| | | | | | | | | | | | | | | | | | | | | | 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.
* We dont need a _remove api, unrefing the node will work better. Try toMarco Pesenti Gritti2003-04-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | 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 ;)
* Remove --geometry option, we weren't respecting it anyway (this patchXan Lopez2003-04-241-1/+0
| | | | | | Remove --geometry option, we weren't respecting it anyway (this patch patronized by marco's "DropDropDrop" project). Fix Leak.
* Allow to launch the BME alone, rework some CORBA code, add a .desktop fileXan Lopez2003-04-091-19/+16
| | | | | Allow to launch the BME alone, rework some CORBA code, add a .desktop file for the BME. Fixes #102477.
* Translate menusMarco Pesenti Gritti2003-03-051-0/+5
| | | | | | | | | | | | | | | | | | | | 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
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+217