gimp r27282 - in trunk: . app/widgets



Author: neo
Date: Tue Oct 14 21:39:14 2008
New Revision: 27282
URL: http://svn.gnome.org/viewvc/gimp?rev=27282&view=rev

Log:
2008-10-14  Sven Neumann  <sven gimp org>

	* app/widgets/gimpdialogfactory.c 
(gimp_dialog_factory_add_dialog):
	let new docks appear at the pointer position.



Modified:
   trunk/ChangeLog
   trunk/app/widgets/gimpdialogfactory.c

Modified: trunk/app/widgets/gimpdialogfactory.c
==============================================================================
--- trunk/app/widgets/gimpdialogfactory.c	(original)
+++ trunk/app/widgets/gimpdialogfactory.c	Tue Oct 14 21:39:14 2008
@@ -895,6 +895,9 @@
                     "creating session info %p (widget %p) for dock",
                     info, info->widget);
 
+          /*  let new docks appear at the pointer position  */
+          gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE);
+
           /*  if we create a new session info, we never call
            *  gimp_session_info_set_geometry(), but still the
            *  dialog needs GDK_HINT_USER_POS so it keeps its



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