diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-03-30 01:07:50 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-03-30 01:07:50 +0800 |
commit | c1a38e77d25cde47f4cc33922f0ef8983e12ae17 (patch) | |
tree | 9e8ca41c5c1bec6f7d8cd59831dc68c15e6813f5 /src/bookmarks/ephy-node-view.h | |
parent | f1d834f969e790e26fe7a0bd2aa203977113bc88 (diff) | |
download | gsoc2013-epiphany-c1a38e77d25cde47f4cc33922f0ef8983e12ae17.tar gsoc2013-epiphany-c1a38e77d25cde47f4cc33922f0ef8983e12ae17.tar.gz gsoc2013-epiphany-c1a38e77d25cde47f4cc33922f0ef8983e12ae17.tar.bz2 gsoc2013-epiphany-c1a38e77d25cde47f4cc33922f0ef8983e12ae17.tar.lz gsoc2013-epiphany-c1a38e77d25cde47f4cc33922f0ef8983e12ae17.tar.xz gsoc2013-epiphany-c1a38e77d25cde47f4cc33922f0ef8983e12ae17.tar.zst gsoc2013-epiphany-c1a38e77d25cde47f4cc33922f0ef8983e12ae17.zip |
Make dnd code smarter, so it can support more than just urls types.
2003-03-29 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-dnd.c: (add_one_node), (ephy_dnd_drag_data_get),
(ephy_dnd_node_list_extract_nodes):
* lib/ephy-dnd.h:
* lib/ephy-marshal.list:
* lib/widgets/ephy-tree-model-sort.c: (each_node_get_data_binder),
(ephy_tree_model_sort_multi_drag_data_get):
* src/bookmarks/ephy-bookmarks-editor.c: (cmd_rename),
(cmd_select_all), (ephy_bookmarks_editor_show_popup_cb),
(keyword_node_show_popup_cb), (node_dropped_cb),
(ephy_bookmarks_editor_construct),
(ephy_bookmarks_editor_update_menu):
* src/bookmarks/ephy-node-view.c: (ephy_node_view_class_init),
(ephy_node_view_button_press_cb), (ephy_node_view_has_focus),
(get_node_from_path), (drag_motion_cb), (drag_drop_cb),
(drag_data_received_cb), (ephy_node_view_enable_drag_dest),
(ephy_node_view_enable_drag_source):
* src/bookmarks/ephy-node-view.h:
* src/ephy-favicon-action.c: (connect_proxy):
* src/history-dialog.c: (history_dialog_setup_view):
* src/toolbar.c: (toolbar_get_action_name):
Make dnd code smarter, so it can support more than
just urls types.
Implement drag of bookmarks on topics in bme. What a pain !
Diffstat (limited to 'src/bookmarks/ephy-node-view.h')
-rw-r--r-- | src/bookmarks/ephy-node-view.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/bookmarks/ephy-node-view.h b/src/bookmarks/ephy-node-view.h index ee404d159..08b5757e0 100644 --- a/src/bookmarks/ephy-node-view.h +++ b/src/bookmarks/ephy-node-view.h @@ -49,9 +49,10 @@ typedef struct { GtkScrolledWindowClass parent; - void (*node_activated) (EphyNodeView *view, EphyNode *node); - void (*node_selected) (EphyNodeView *view, EphyNode *node); - void (*show_popup) (EphyNodeView *view); + void (*node_activated) (EphyNodeView *view, EphyNode *node); + void (*node_selected) (EphyNodeView *view, EphyNode *node); + void (*node_dropped) (EphyNodeView *view, EphyNode *node, GList *nodes); + void (*show_popup) (EphyNodeView *view); } EphyNodeViewClass; GType ephy_node_view_get_type (void); @@ -88,6 +89,10 @@ void ephy_node_view_enable_drag_source (EphyNodeView *view, int n_types, guint prop_id); +void ephy_node_view_enable_drag_dest (EphyNodeView *view, + GtkTargetEntry *types, + int n_types); + void ephy_node_view_set_hinted (EphyNodeView *view, gboolean hinted); |