| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
2003-09-04 Marco Pesenti Gritti <marco@gnome.org>
* lib/widgets/ephy-node-view.c: (drag_data_received_cb):
Use x,y only on drop, otherwise they are invalid. Damn
that api suck.
|
|
|
|
|
|
|
|
|
| |
2003-09-04 Marco Pesenti Gritti <marco@gnome.org>
* lib/widgets/ephy-node-view.c: (drag_motion_cb):
Check if the target type match before highlighting
the row and return success status.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-31 Marco Pesenti Gritti <marco@gnome.org>
* data/ui/epiphany-history-window-ui.xml.in:
* data/ui/epiphany-ui.xml.in:
* lib/widgets/ephy-node-view.c: (get_selection):
* src/bookmarks/ephy-bookmarks-editor.c: (add_widget),
(ephy_bookmarks_editor_construct):
* src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu),
(ephy_bookmarks_menu_rebuild):
* src/ephy-encoding-menu.c: (build_group), (build_encoding),
(ephy_encoding_menu_rebuild):
* src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild):
* src/ephy-history-window.c: (add_widget),
(ephy_history_window_construct):
* src/ephy-tabs-menu.c: (ephy_tabs_menu_clean),
(ephy_tabs_menu_update):
* src/ephy-window.c: (setup_window), (ephy_window_init):
Fix problems with EphyNodeView, bookmarks and history
dialogs and update dynamic menus to the new xml format.
|
| |
|
|
|
|
|
|
|
|
| |
2003-08-24 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-node-view.c: (ephy_node_view_remove):
Convert erroneous g_return_if_fail into a simple conditional return.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-22 Marco Pesenti Gritti <marco@gnome.org>
* lib/widgets/ephy-node-view.c: (compare_string_values),
(ephy_node_view_sort_func):
* src/bookmarks/ephy-bookmarks-menu.c: (sort_topics),
(sort_bookmarks):
* src/bookmarks/ephy-topic-action.c: (sort_bookmarks),
(sort_topics):
Make it NULL safe
* src/ephy-toolbars-model.c: (impl_get_item_id):
When creating bookmark, if the title is unknown, use untitled.
|
|
|
|
|
|
|
|
|
| |
2003-08-21 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-node-view.c: (drag_data_received_cb):
Fix function signature, it's void instead of gboolean.
Fix a logic error.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-20 Marco Pesenti Gritti <marco@gnome.org>
* lib/widgets/ephy-node-view.c: (get_node_from_path),
(gtk_tree_view_vertical_autoscroll), (scroll_timeout),
(remove_scroll_timeout), (set_drag_dest_row),
(clear_drag_dest_row), (get_drag_data), (free_drag_data),
(drag_motion_cb), (drag_leave_cb), (drag_data_received_cb),
(drag_drop_cb), (ephy_node_view_enable_drag_dest):
Fix drag dest implementation getting some code from nautilus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-19 Marco Pesenti Gritti <marco@gnome.org>
* lib/widgets/ephy-node-view.c: (drag_motion_cb), (drag_drop_cb),
(drag_data_received_cb), (button_event_modifies_selection),
(did_not_drag), (button_release_cb), (motion_notify_cb),
(ephy_node_view_button_press_cb):
Stop signals only when necessary on drag dest custom
implementation.
Make click on multiple selection deselect all but the
clicked element.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-11 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/ephy-node-view.c: (ephy_node_view_finalize),
(ephy_node_view_enable_drag_dest), (selection_foreach),
(get_selection_refs), (ref_list_free), (stop_drag_check),
(drag_data_get_cb), (button_release_cb), (motion_notify_cb),
(button_event_modifies_selection),
(ephy_node_view_button_press_cb), (ephy_node_view_init),
(ephy_node_view_enable_drag_source):
Fix multiple rows dnd problems stealing some Nautilus code.
|
|
|
|
|
|
|
|
| |
2003-08-08 Christian Persch <chp@cvs.gnome.org>
* lib/widgets/ephy-node-view.c: (cell_renderer_edited):
Fix mem leak.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* data/ui/epiphany-toolbar.xml.in:
* lib/egg/egg-editable-toolbar.c: (drag_data_received_cb):
* lib/egg/egg-editable-toolbar.h:
* lib/egg/egg-toolbar-editor.c: (parse_item_list):
* lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml),
(safe_save_xml), (egg_toolbars_model_save), (toolbars_item_new),
(free_item_node), (egg_toolbars_model_add_separator),
(egg_toolbars_model_add_item), (parse_item_list),
(impl_get_item_id), (impl_get_item_name), (impl_get_item_type),
(egg_toolbars_model_class_init), (egg_toolbars_model_item_nth),
(egg_toolbars_model_toolbar_nth), (egg_toolbars_model_get_item_id),
(egg_toolbars_model_get_item_name),
(egg_toolbars_model_get_item_type):
* lib/egg/egg-toolbars-model.h:
* lib/egg/eggtoolbar.c: (egg_toolbar_finalize):
* lib/ephy-dnd.c: (add_one_topic), (ephy_dnd_drag_data_get):
* lib/ephy-dnd.h:
* lib/widgets/ephy-node-view.c: (drag_data_received_cb),
(ephy_node_view_select_node_by_key), (ephy_node_view_construct),
(ephy_node_view_add_data_column),
(ephy_node_view_enable_drag_source):
* lib/widgets/ephy-node-view.h:
* lib/widgets/ephy-tree-model-sort.c:
(ephy_tree_model_sort_class_init), (ephy_tree_model_sort_init),
(ephy_tree_model_sort_multi_row_draggable),
(ephy_tree_model_sort_set_column_id),
(each_property_get_data_binder),
(ephy_tree_model_sort_multi_drag_data_get):
* lib/widgets/ephy-tree-model-sort.h:
* 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),
(node_dropped_cb), (provide_keyword_uri),
(ephy_bookmarks_editor_construct):
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults),
(ephy_bookmarks_remove_keyword), (ephy_bookmarks_get_topic_uri),
(ephy_bookmarks_find_keyword):
* src/bookmarks/ephy-bookmarks.h:
* src/ephy-history-window.c: (ephy_history_window_construct):
* src/ephy-toolbars-model.c: (ephy_toolbars_model_get_action_name),
(ephy_toolbars_model_get_node), (bookmark_destroy_cb),
(impl_get_item_name), (impl_get_item_id), (impl_get_item_type),
(connect_item), (ephy_toolbars_model_set_bookmarks),
(ephy_toolbars_model_class_init), (save_changes), (item_added),
(item_removed), (toolbar_added), (toolbar_removed),
(ephy_toolbars_model_init), (ephy_toolbars_model_finalize),
(ephy_toolbars_model_remove_bookmark),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-27 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-node-view.c: (ephy_node_view_remove):
Fix mem leak.
* lib/widgets/ephy-node-view.c: (ephy_node_view_remove):
* src/pdm-dialog.c: (pdm_cmd_delete_selection):
If we've just deleted every row in the tree view, the row ref
contains an empty path. Check for that; possibly fixing bug #118398.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-23 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/ephy-node-view.c:
(ephy_node_view_selection_changed_cb),
(ephy_node_view_button_press_cb), (ephy_node_view_init),
(ephy_node_view_get_selection), (ephy_node_view_is_target),
(ephy_node_view_has_selection):
Yet another try to get context menu and selection beahviors
right.
|
|
|
|
|
|
|
| |
We use g_list_prepend to create selections now (in ephy_node_view_get_selection()
and inside pdm_cmd_delete_selection), so the last element selected is the first in
the list and we need to use g_list_first instead of _last to make intelligent
selection after removal work on multiple selections.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/widgets/ephy-node-view.c:
(ephy_node_view_select_node_by_key), (ephy_node_view_remove):
Don't use event->string, is deprecated (#117346).
Also improve intelligent selection.
* src/pdm-dialog.c: (pdm_dialog_remove_button_clicked_cb),
(pdm_cmd_delete_selection), (pdm_key_pressed_cb),
(setup_action):
Connect del keys to delete action, also implement intelligent selection
after deletion (I want to be known as Mr. Intelligent Selection
from now, spread the word).
|
|
|
|
|
|
|
|
|
| |
2003-07-13 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-node-view.c: (drag_motion_cb),
(drag_data_received_cb):
Fix mem leaks.
|
|
|
|
|
|
|
| |
A "fast search" implementation for all node views. Pressing any valid
unicode character will make ephy select the first entry begining
with that key, or the nearest match (with previous or posterior letters).
Fixes bug #116744 (http://bugzilla.gnome.org/show_bug.cgi?id=116744).
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-06 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-node-view.c: (ephy_node_view_button_press_cb),
(ephy_node_view_sort_func):
* src/bookmarks/ephy-topics-selector.c: (topic_clicked),
(topic_key_pressed):
Fix mem leaks and a conditional.
|
|
|
|
|
|
|
|
| |
2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/ephy-node-view.c: (ephy_node_view_init):
disable treeview interactive search
|
|
|
|
| |
Fix warning.
|
|
|
|
| |
Use gtk_tree_selection_select_iter to make selection, fixes #114965.
|
|
|
|
| |
Remove unused gtk_tree_view_get_selection.
|
|
|
|
| |
Try to fix dereferencing type-punned warning.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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-04-29 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/ephy-node-view.c: (ephy_node_view_add_column):
* lib/widgets/ephy-node-view.h:
Remove add_icon_column func and add the functionality to the
normal add_column. The icon will be packed in the same column.
* src/bookmarks/ephy-bookmarks-editor.c:
(entry_selection_changed_cb), (add_entry_monitor),
(add_text_renderer_monitor), (cmd_add_topic), (cmd_rename),
(build_search_box), (ephy_bookmarks_editor_construct),
(toolbar_items_changed_cb), (ephy_bookmarks_editor_init):
Fix for api change.
Deal with 2 more sensitivity cases:
bookmarks added by dnd to the toolbar and treeview text
renderers.
Remove hints until we have more columns.
* src/ephy-history-window.c: (ephy_history_window_construct):
Fix for new api
* src/ephy-toolbars-model.c: (impl_add_item):
Dont check if normal items are already in the toolbar:
fix warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-19 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/ephy-node-view.c: (ephy_node_view_add_column),
(ephy_node_view_remove), (ephy_node_view_edit):
Fix bookmarks editing and warnings when openining the dialog.
* lib/widgets/ephy-node-view.h:
Remove unused api.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-04-17 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/Makefile.am:
* lib/widgets/ephy-node-view.c:
* lib/widgets/ephy-node-view.h:
* lib/widgets/ephy-tree-model-node.c:
* lib/widgets/ephy-tree-model-node.h:
New abstracted implementations.
Nicer and will be useful for
history dialog interface rehash to make
it more consistent with bookmarks (this
was the hard part of the work).
* src/bookmarks/Makefile.am:
* src/bookmarks/ephy-bookmarks-editor.c:
Use them.
* src/history-dialog.c:
Temp hack to keep the thing building until
I actually rewrite history dialog.
2
|