gedit r5742 - in trunk: . gedit



Author: jessevdk
Date: 2007-07-25 15:02:26 +0100 (Wed, 25 Jul 2007)
New Revision: 5742
ViewCVS link: http://svn.gnome.org/viewcvs/gedit?rev=5742&view=rev

Modified:
   trunk/ChangeLog
   trunk/gedit/gedit-utils.c
   trunk/gedit/gedit-utils.h
   trunk/gedit/gedit-view.c
   trunk/gedit/gedit-view.h
   trunk/gedit/gedit-window.c
Log:
	* gedit-utils.h:
	* gedit-utils.c:
	* gedit-window.c:
	* gedit-view.c:
	* gedit-view.h:
	
	Moved handling drag and drop of the view from GeditWindow into 
	GeditView. Added a signal 'drop-uris' to GeditView which is emitted
	when uris have been dropped on the view. All the dnd for the view is
	now handled in the default signal handlers for drag_motion, drag_drop
	and drag_data_received. This way, the default behaviour of gedit
	loading uris dropped on the view can be changed by connecting to
	the drag_drop and drag_data_received signals from for example a 
	plugin. This wasn't possible before because the window connected
	signals to the view which made it impossible to intervene the signal
	handling.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]