Get rid of 'global_toolbox_factory' and manage everything dock-related with 'global_dock_factory'. The whole of 'global_toolbox_factory' was a big special-case and getting rid of it makes it easier to extend the session management with e.g. single-window mode dock functionality. To get rid of 'global_toolbox_factory' we, roughly, have to * Replace 'global_toolbox_factory' with 'global_dock_factory' everywhere. We can also get rid of lots of code that did special things for the "toolbox" factory. * Make the use or interaction with the toolbox explicit in some places. For example, a function gimp_dock_window_has_toolbox() has been introduced. * Make GimpSessionInfoDock have an 'identifier' parameter so we can differentiate between the "gimp-dock" and "gimp-toolbox" dock types.
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
# recently closed docks
|
|
|
|
(GimpSessionInfo "Palettes - FG/BG - Images"
|
|
(position 586 116)
|
|
(size 200 573)
|
|
(open-on-exit)
|
|
(aux-info
|
|
(show-image-menu "false")
|
|
(follow-active-image "true"))
|
|
(gimp-dock
|
|
(book
|
|
(current-page 0)
|
|
(dockable "gimp-palette-list"
|
|
(tab-style preview)))
|
|
(book
|
|
(position 141)
|
|
(current-page 0)
|
|
(dockable "gimp-color-editor"
|
|
(tab-style preview)
|
|
(aux-info
|
|
(current-page "GimpColorSelect"))))
|
|
(book
|
|
(position 414)
|
|
(current-page 0)
|
|
(dockable "gimp-image-list"
|
|
(tab-style preview)))))
|
|
(GimpSessionInfo "Selection, Fonts"
|
|
(position 200 179)
|
|
(size 200 300)
|
|
(open-on-exit)
|
|
(aux-info
|
|
(show-image-menu "false")
|
|
(follow-active-image "true"))
|
|
(gimp-dock
|
|
(book
|
|
(current-page 1)
|
|
(dockable "gimp-selection-editor"
|
|
(tab-style icon))
|
|
(dockable "gimp-font-list"
|
|
(tab-style preview)))))
|
|
|
|
# end of recently closed docks
|