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 /lib/ephy-dnd.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 'lib/ephy-dnd.h')
-rw-r--r-- | lib/ephy-dnd.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ephy-dnd.h b/lib/ephy-dnd.h index c1756713f..afeb4704d 100644 --- a/lib/ephy-dnd.h +++ b/lib/ephy-dnd.h @@ -29,7 +29,8 @@ G_BEGIN_DECLS #define EPHY_DND_URI_LIST_TYPE "text/uri-list" #define EPHY_DND_TEXT_TYPE "text/plain" #define EPHY_DND_URL_TYPE "_NETSCAPE_URL" -#define EPHY_DND_TOPIC_TYPE "ephy_topic" +#define EPHY_DND_TOPIC_TYPE "ephy_topic_node" +#define EPHY_DND_BOOKMARK_TYPE "ephy_bookmark_node" typedef void (* EphyDragEachSelectedItemDataGet) (const char *url, int x, int y, int w, int h, @@ -47,9 +48,7 @@ gboolean ephy_dnd_drag_data_get (GtkWidget *widget, gpointer container_context, EphyDragEachSelectedItemIterator each_selected_item_iterator); -void ephy_dnd_url_drag_source_set (GtkWidget *widget); - -void ephy_dnd_enable_model_drag_source (GtkWidget *treeview); +GList *ephy_dnd_node_list_extract_nodes (const char *node_list); GList *ephy_dnd_uri_list_extract_uris (const char *uri_list); |