app: Make tooltips in the toolbox work again
We need to be able to pass a GimpUIManager to gimp_dialog_factory_dialog_new(), so make that possible. Also make sure to set ui_manager in gimp_dialog_factory_dialog_new_internal() when we create both a dock window and a dock, so tooltips works in toolboxes created from scratch.
This commit is contained in:
@ -283,6 +283,7 @@ gimp_ui_configurer_move_docks_to_window (GimpUIConfigurer *ui_configurer,
|
||||
dock_window =
|
||||
gimp_dialog_factory_dialog_new (gimp_dialog_factory_get_singleton (),
|
||||
screen,
|
||||
NULL /*ui_manager*/,
|
||||
(GIMP_IS_TOOLBOX (dock) ?
|
||||
"gimp-toolbox-window" :
|
||||
"gimp-dock-window"),
|
||||
|
Reference in New Issue
Block a user