From 549171e9af818b784548fc2bed4bd375006b7adc Mon Sep 17 00:00:00 2001 From: Jorn Baayen Date: Fri, 21 Jan 2005 19:33:03 +0000 Subject: Add proper _NETSCAPE_URL drag support, supplying the URL as well as the 2005-01-21 Jorn Baayen * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_init), (ephy_tree_model_sort_multi_row_draggable), (ephy_tree_model_sort_set_base_drag_column_id), (ephy_tree_model_sort_set_extra_drag_column_id), (each_property_get_data_binder): * lib/widgets/ephy-tree-model-sort.h: * src/bookmarks/ephy-bookmark-action.c: (drag_data_get_cb): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_constructor): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-history-window.c: (ephy_history_window_construct): Add proper _NETSCAPE_URL drag support, supplying the URL as well as the title. As a side effect most data_columns in NodeViews have been obsoleted. Fixes #163937. --- lib/widgets/ephy-tree-model-sort.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/widgets/ephy-tree-model-sort.h') diff --git a/lib/widgets/ephy-tree-model-sort.h b/lib/widgets/ephy-tree-model-sort.h index c24fc214b..d985b089d 100644 --- a/lib/widgets/ephy-tree-model-sort.h +++ b/lib/widgets/ephy-tree-model-sort.h @@ -50,12 +50,14 @@ typedef struct void (*node_from_iter) (EphyTreeModelSort *model, GtkTreeIter *iter, void **node); } EphyTreeModelSortClass; -GType ephy_tree_model_sort_get_type (void); +GType ephy_tree_model_sort_get_type (void); -GtkTreeModel *ephy_tree_model_sort_new (GtkTreeModel *child_model); +GtkTreeModel *ephy_tree_model_sort_new (GtkTreeModel *child_model); -void ephy_tree_model_sort_set_column_id (EphyTreeModelSort *ms, - int id); +void ephy_tree_model_sort_set_base_drag_column_id (EphyTreeModelSort *ms, + int id); +void ephy_tree_model_sort_set_extra_drag_column_id (EphyTreeModelSort *ms, + int id); G_END_DECLS -- cgit v1.2.3