mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
9b86acd16b
Add support for a new type of Tab Style called 'Automatic'. This tab style makes the GimpDockbook use the biggest actual tab style it can for its auto tab style dockables, based on its widget allocation. The tab style candidates for auto tab style are "Status + Blurb", "Status + Text" and "Status". A docked widget can also say that it wants to use "Icon" instead of "Status" for its auto tab style. The 'Tool Options' dockable does this. This is to be as backwards compatible with the old tab style setup, we make 'automatic' the default everywhere. We have quite a bit of dependency to internal layout code in GtkNotebook, but the current code should be pixel perfect and rather complete. Also add a basic regression test.
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
# GIMP sessionrc
|
|
#
|
|
# This file takes session-specific info (that is info, you want to keep
|
|
# between two GIMP sessions). You are not supposed to edit it manually, but
|
|
# of course you can do. The sessionrc will be entirely rewritten every time
|
|
# you quit GIMP. If this file isn't found, defaults are used.
|
|
|
|
(session-info "dock" "gimp-toolbox-window"
|
|
(position 0 0)
|
|
(size 170 820)
|
|
(open-on-exit)
|
|
(gimp-toolbox
|
|
(book
|
|
(dockable "gimp-tool-options"
|
|
(tab-style automatic)))))
|
|
(session-info "dock" "gimp-dock-window"
|
|
(position -0 0)
|
|
(size 210 820)
|
|
(open-on-exit)
|
|
(gimp-dock
|
|
(book
|
|
(dockable "gimp-layer-list"
|
|
(tab-style automatic))
|
|
(dockable "gimp-channel-list"
|
|
(tab-style automatic))
|
|
(dockable "gimp-vectors-list"
|
|
(tab-style automatic))
|
|
(dockable "gimp-undo-history"
|
|
(tab-style automatic)))
|
|
(book
|
|
(position 420)
|
|
(dockable "gimp-brush-grid"
|
|
(tab-style automatic))
|
|
(dockable "gimp-pattern-grid"
|
|
(tab-style automatic))
|
|
(dockable "gimp-gradient-list"
|
|
(tab-style automatic)))))
|
|
(session-info "toplevel"
|
|
(factory-entry "gimp-empty-image-window")
|
|
(position 410 370)
|
|
(size 620 200))
|
|
(session-info "toplevel"
|
|
(factory-entry "gimp-single-image-window")
|
|
(position 160 70)
|
|
(size 1140 780))
|
|
|
|
# end of sessionrc
|