mirror of https://github.com/GNOME/gimp.git
let new docks appear at the pointer position.
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. svn path=/trunk/; revision=27282
This commit is contained in:
parent
c66dd26ba7
commit
ce4c2c3bfc
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
||||
2008-10-14 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimpdrawable.[ch]: add a default implementation of
|
||||
|
|
|
@ -895,6 +895,9 @@ gimp_dialog_factory_add_dialog (GimpDialogFactory *factory,
|
|||
"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
|
||||
|
|
Loading…
Reference in New Issue