diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-05-21 04:52:47 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-05-21 04:52:47 +0800 |
commit | 3389ee02736c231e61877abd5d9663e57f27a276 (patch) | |
tree | fb09a5a53a779f673e7bcc1f9d98d3fea23370b0 /lib/widgets/ephy-tree-model-sort.c | |
parent | def97c979d02aed973fb1443d89ab81f1d570b7c (diff) | |
download | gsoc2013-epiphany-3389ee02736c231e61877abd5d9663e57f27a276.tar gsoc2013-epiphany-3389ee02736c231e61877abd5d9663e57f27a276.tar.gz gsoc2013-epiphany-3389ee02736c231e61877abd5d9663e57f27a276.tar.bz2 gsoc2013-epiphany-3389ee02736c231e61877abd5d9663e57f27a276.tar.lz gsoc2013-epiphany-3389ee02736c231e61877abd5d9663e57f27a276.tar.xz gsoc2013-epiphany-3389ee02736c231e61877abd5d9663e57f27a276.tar.zst gsoc2013-epiphany-3389ee02736c231e61877abd5d9663e57f27a276.zip |
Fix nodes drag and drop. Make double click select the whole address in
2003-05-20 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-dnd.c: (ephy_dnd_drag_data_get),
(ephy_dnd_node_list_extract_nodes):
* lib/ephy-node-db.c: (ephy_node_db_set_name), (node_from_id_real),
(ephy_node_db_get_name):
* lib/ephy-node-db.h:
* lib/ephy-node.c: (ephy_node_get_db):
* lib/ephy-node.h:
* lib/widgets/ephy-location-entry.c:
(ephy_location_entry_button_press_event_cb),
(ephy_location_entry_build):
* lib/widgets/ephy-tree-model-sort.c: (each_node_get_data_binder):
Fix nodes drag and drop.
Make double click select the whole address in toolbar entry.
Diffstat (limited to 'lib/widgets/ephy-tree-model-sort.c')
-rw-r--r-- | lib/widgets/ephy-tree-model-sort.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/widgets/ephy-tree-model-sort.c b/lib/widgets/ephy-tree-model-sort.c index 1d03effb8..b91946e8d 100644 --- a/lib/widgets/ephy-tree-model-sort.c +++ b/lib/widgets/ephy-tree-model-sort.c @@ -250,6 +250,7 @@ each_node_get_data_binder (EphyDragEachSelectedItemDataGet iteratee, GtkTreeIter iter; GtkTreePath *path = gtk_tree_row_reference_get_path (i->data); EphyNode *node = NULL; + EphyNodeDb *db; char *value; gtk_tree_model_get_iter (GTK_TREE_MODEL (model), &iter, path); @@ -259,7 +260,10 @@ each_node_get_data_binder (EphyDragEachSelectedItemDataGet iteratee, if (node == NULL) return; - value = g_strdup_printf ("%ld", ephy_node_get_id (node)); + db = ephy_node_get_db (node); + value = g_strdup_printf ("%s;%ld", + ephy_node_db_get_name (db), + ephy_node_get_id (node)); iteratee (value, -1, -1, -1, -1, data); g_free (value); } |