app: Add "dock-factory" property to GimpImageWindow

With the introduction of a single-window mode, not only dock windows
needs to be able to create docks, the image window also needs to. So
give it a "dock-factory" property.
This commit is contained in:
Martin Nordholts
2009-12-08 19:49:13 +01:00
parent a736b8f972
commit f3235e6f45
6 changed files with 44 additions and 8 deletions

View File

@ -311,7 +311,8 @@ gimp_ui_configurer_separate_shells (GimpUIConfigurer *ui_configurer,
new_image_window = gimp_image_window_new (ui_configurer->p->gimp,
NULL,
global_menu_factory,
global_display_factory);
global_display_factory,
global_dock_factory);
/* Move the shell there */
shell = gimp_image_window_get_shell (source_image_window, 1);