gimp r27283 - in branches/gimp-2-6: . app/widgets



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

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

	Merged from trunk:

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



Modified:
   branches/gimp-2-6/ChangeLog
   branches/gimp-2-6/app/widgets/gimpdialogfactory.c

Modified: branches/gimp-2-6/app/widgets/gimpdialogfactory.c
==============================================================================
--- branches/gimp-2-6/app/widgets/gimpdialogfactory.c	(original)
+++ branches/gimp-2-6/app/widgets/gimpdialogfactory.c	Tue Oct 14 21:59:35 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]