Re: drag-data-received signal not being emitted

2007-06-28 Thread Dave Howorth
Chris Morrison wrote: > On Wed, 2007-06-27 at 10:43 +0100, Dave Howorth wrote: >> I wrote: >>> In particular, I believe you will also need to call >>> gtk_tree_view_enable_model_drag_dest and/or >>> gtk_tree_view_enable_model_drag_dest on the tree_view. >> Oops. Second one should be gtk_tree_view_e

Re: drag-data-received signal not being emitted

2007-06-27 Thread Chris Morrison
On Wed, 2007-06-27 at 10:43 +0100, Dave Howorth wrote: > I wrote: > > In particular, I believe you will also need to call > > gtk_tree_view_enable_model_drag_dest and/or > > gtk_tree_view_enable_model_drag_dest on the tree_view. > > Oops. Second one should be gtk_tree_view_enable_model_drag_source

Re: drag-data-received signal not being emitted

2007-06-27 Thread Dave Howorth
I wrote: > I'm also trying to make drag-and-drop work in a tree and not finding > much in the docs. The best docs I've found so far are for the Python > bindings. Murphy's alive and well. Just twenty minutes later and my words are wrong :) I've just found this site:

Re: drag-data-received signal not being emitted

2007-06-27 Thread Dave Howorth
I wrote: > In particular, I believe you will also need to call > gtk_tree_view_enable_model_drag_dest and/or > gtk_tree_view_enable_model_drag_dest on the tree_view. Oops. Second one should be gtk_tree_view_enable_model_drag_source of course. Dave ___ g

Re: drag-data-received signal not being emitted

2007-06-27 Thread Dave Howorth
Chris Morrison wrote: > Hi all, > > I am trying to write a GTK/GNOME application. It has a main window with > GtkTreeView control on to which you can drag and drop files from > Nautilus. > > The code I have used to set up the widgets is: > However, although the drag_drop signal is being receiv

drag-data-received signal not being emitted

2007-06-26 Thread Chris Morrison
Hi all, I am trying to write a GTK/GNOME application. It has a main window with GtkTreeView control on to which you can drag and drop files from Nautilus. The code I have used to set up the widgets is: enum { TARGET_URI_LIST, }; static GtkTargetEntry target_list [] = {{ "text/uri-list", 0, T