| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-state.c: (ephy_states_load), (ephy_states_save),
(create_window_node), (ephy_state_add_window):
Make sure to set size flag when setting default width height.
Discard old states.xml, so we dont get bug reports about small
dialogs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-state.c: (ephy_state_window_set_size),
(ephy_state_window_set_position), (ephy_state_window_save_size),
(ephy_state_window_save_position), (ephy_state_window_save),
(window_configure_event_cb), (window_state_event_cb),
(ephy_state_add_window):
When following SAVE_POSITION/SAVE_SIZE flags actually not save
them instead of just not restore.
Do not use coords value to determine unset state but a boolean
flag. (this will restore all saved states to NULL now)
* lib/ephy-state.h:
Add a NONE flag, it will restore but not save.
* src/ephy-tab.c: (ephy_tab_set_title):
Fix a warning when the url is NULL (popups)
* src/ephy-window.c: (ephy_window_init), (ephy_window_show):
Use normal size for not sized popups.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-19 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/ephy-embed-types.h:
* lib/ephy-state.c: (window_configure_event_cb),
(window_state_event_cb):
* src/ephy-window.c: (ephy_window_destroy),
(ephy_window_class_init), (update_exit_fullscreen_popup_position),
(size_changed_cb), (exit_fullscreen_button_clicked_cb),
(update_chromes_visibility), (ephy_window_fullscreen),
(ephy_window_unfullscreen), (ephy_window_state_event_cb),
(setup_window), (sync_tab_icon), (sync_tab_load_progress),
(sync_tab_load_status), (ephy_window_init), (save_window_chrome),
(translate_default_chrome), (update_layout_toggles),
(ephy_window_set_chrome), (ephy_window_show):
* src/window-commands.c: (window_cmd_view_fullscreen):
With the gtk fullscreen api things can be cleaner:
use the api instead of chromes to handle fullscreen,
dont persist window state when it's fullscreen.
Destroy exit fullscreen button on window destroy.
* src/ephy-shell.c: (ephy_shell_new_tab):
Give up on cloning until we find a good way to do it :/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
2003-05-25 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-state.c: (ephy_state_save):
Fix nautilus view crash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-25 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/ephy-favicon-cache.c: (ephy_favicon_cache_load),
(ephy_favicon_cache_save), (ephy_favicon_cache_init),
(ephy_favicon_cache_finalize):
* embed/ephy-history.c: (ephy_history_load), (ephy_history_save),
(ephy_history_init):
* lib/ephy-node-db.c: (ephy_node_db_get_property),
(ephy_node_db_set_property), (ephy_node_db_class_init),
(ephy_node_db_init), (ephy_node_db_finalize), (ephy_node_db_new),
(_ephy_node_db_remove_id):
* lib/ephy-node-db.h:
* lib/ephy-node.c: (ephy_node_save_to_xml):
* lib/ephy-node.h:
* lib/ephy-state.c: (ephy_states_load), (ephy_states_save),
(ensure_states):
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_load),
(ephy_bookmarks_save), (ephy_bookmarks_init):
Revert latest node changes. Parents nodes need to be saved
first and it's easier to do that in a not generic way :/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-23 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/ephy-favicon-cache.c: (ephy_favicon_cache_load),
(ephy_favicon_cache_save), (ephy_favicon_cache_init),
(ephy_favicon_cache_finalize):
* embed/ephy-history.c: (ephy_history_load), (ephy_history_save),
(ephy_history_init):
* lib/ephy-node-db.c: (ephy_node_db_set_version),
(ephy_node_db_get_property), (ephy_node_db_set_property),
(ephy_node_db_class_init), (ephy_node_db_init),
(ephy_node_db_finalize), (ephy_node_db_new),
(_ephy_node_db_remove_id), (ephy_node_db_load_from_xml),
(ephy_node_db_save_to_xml):
* lib/ephy-node-db.h:
* lib/ephy-node.c: (ephy_node_to_xml):
* lib/ephy-node.h:
* lib/ephy-state.c: (ephy_states_load), (ephy_states_save),
(ensure_states):
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_load),
(ephy_bookmarks_save), (ephy_bookmarks_init),
(ephy_bookmarks_finalize):
Implement generic way to save/load db and make it
low disk safe.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-14 David Bordoley <bordoley@msu.edu>
* lib/ephy-state.c: (ephy_state_add_window):
* lib/ephy-state.h: (EphyStateWindowFlags):
Add some flags so that we can choose to save
position or size or both.
* lib/ephy-dialog.c: (setup_default_size):
* src/ephy-window.c: (ephy_window_show):
* src/window-commands.c: (window_cmd_edit_toolbar):
* src/bookmarks/ephy-bookmark-properties.c: (build_ui):
* src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct):
Only save size for dialogs and main windows.
* src/ephy-history-window.c: (ephy_history_window_construct):
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_construct):
Save size and position.
|
|
|
|
|
| |
Alphabetical sort of bookmarks menu elements, fixes #111315.
Also create ephy-node-common.h with some general enums.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-30 David Bordoley <bordoley@msu.edu>
* lib/ephy-state.c: (ephy_state_window_set_position),
(ephy_state_window_save_position):
Don't set/save window position if it is maximized.
* src/ephy-history-window.c: (ephy_history_window_construct):
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_construct):
Don't set the shadow_type to GTK_SHADOW_IN
the ScrolledWindows. It breaks some fitts law considerations,
and really amounts to just visual noise.
|
|
|
|
|
|
|
|
|
| |
2003-04-29 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-state.c: (ephy_states_save)
Check if there are states before saving, fix a crash
closing the nautilus view.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-27 David Bordoley <bordoley@msu.edu>
* lib/ephy-state.c: (ephy_state_window_set_position),
(ephy_state_window_save_position), (window_configure_event_cb),
(window_state_event_cb), (ephy_state_add_window):
Save the position of windows on the screen,
and checks if the position is off the screen.
* src/toolbar.c: (init_bookmarks_toolbar):
Pass arguments to egg_toolbars_model_set_flags in the
correct order.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-18 Marco Pesenti Gritti <marco@it.gnome.org>
* data/art/Makefile.am:
Do not install two copies of epiphany.png
* embed/ephy-history.c: (ephy_history_save),
(ephy_history_set_page_title):
Use host name as title for sites, not the real
title.
* lib/ephy-state.c: (ephy_state_add_window),
(paned_size_allocate_cb), (ephy_state_add_paned):
* lib/ephy-state.h:
Add a way to persist paned.
* lib/widgets/ephy-node-view.h:
* lib/widgets/ephy-node-view.c: (ephy_node_view_sort_func),
(provide_text_weight), (ephy_node_view_add_column),
(ephy_node_view_has_selection):
Improve add_column api a bit to support both auto sorting
and user sorting.
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_construct):
Updates for changed api.
* src/ephy-history-window.c: (ephy_history_window_construct):
Set a max size for title/location. Not very good, but the
best we can do with current treeview api prolly.
Persist the paned size.
Make columns user sortable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
2003-03-17 Jon Svendsen <jon-sven@frisurf.no>
* lib/ephy-state.c: (ephy_state_save_window):
Properly save maximized/unmaximized state.
|
|
|