Index: chrome/browser/gtk/bookmark_manager_gtk.cc |
=================================================================== |
--- chrome/browser/gtk/bookmark_manager_gtk.cc (revision 20047) |
+++ chrome/browser/gtk/bookmark_manager_gtk.cc (working copy) |
@@ -507,7 +507,8 @@ |
GDK_BUTTON1_MASK, |
NULL, 0, GDK_ACTION_MOVE); |
GtkDndUtil::SetSourceTargetListFromCodeMask( |
- right_tree_view_, GtkDndUtil::X_CHROME_BOOKMARK_ITEM); |
+ right_tree_view_, GtkDndUtil::X_CHROME_BOOKMARK_ITEM | |
+ GtkDndUtil::X_CHROME_TEXT_URI_LIST); |
// We connect to drag dest signals, but we don't actually enable the widget |
// as a drag destination unless it corresponds to the contents of a folder. |
@@ -1134,7 +1135,8 @@ |
bm->mousedown_event_.x, bm->mousedown_event_.y, event->x, event->y)) { |
bm->delaying_mousedown_ = false; |
GtkTargetList* targets = GtkDndUtil::GetTargetListFromCodeMask( |
- GtkDndUtil::X_CHROME_BOOKMARK_ITEM); |
+ GtkDndUtil::X_CHROME_BOOKMARK_ITEM | |
+ GtkDndUtil::X_CHROME_TEXT_URI_LIST); |
gtk_drag_begin(tree_view, targets, GDK_ACTION_MOVE, |
1, reinterpret_cast<GdkEvent*>(event)); |
// The drag adds a ref; let it own the list. |