Make our test cases write gimpdir files in a dedicate output directory by changing GIMP2_DIRECTORY at runtime. This ends the writing to the source directory which make distcheck doesn't like, and it also allows us to have a separate expected sessionrc for the session management test. In that test we load a GIMP 2.6 formated sessionrc but write one updated for 2.8. We perform this change by passing the builddir through an environment variable to the test cases. The patch also does some generalizations in gimp-app-test-utils.c and adapts test cases accordingly. Also do an adjustment in sessionrc on the toolbox size since GIMP/GTK+/X/whatever has a tendency to adjust that during runs. The new size is stable for the moment.
97 lines
2.8 KiB
Text
97 lines
2.8 KiB
Text
# 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-dock-window"
|
|
(position 566 171)
|
|
(size 210 535)
|
|
(open-on-exit)
|
|
(aux-info
|
|
(show-image-menu "false")
|
|
(follow-active-image "true"))
|
|
(gimp-dock
|
|
(book
|
|
(current-page 1)
|
|
(dockable "gimp-layer-list"
|
|
(tab-style icon)
|
|
(preview-size 32))
|
|
(dockable "gimp-undo-history"
|
|
(tab-style icon)))
|
|
(book
|
|
(position 289)
|
|
(current-page 0)
|
|
(dockable "gimp-brush-grid"
|
|
(tab-style preview)))))
|
|
(session-info "dock" "gimp-dock-window"
|
|
(position 141 291)
|
|
(size 406 300)
|
|
(open-on-exit)
|
|
(aux-info
|
|
(show-image-menu "false")
|
|
(follow-active-image "true"))
|
|
(gimp-dock
|
|
(book
|
|
(current-page 0)
|
|
(dockable "gimp-tool-options"
|
|
(tab-style icon))))
|
|
(gimp-dock
|
|
(book
|
|
(current-page 0)
|
|
(dockable "gimp-device-status"
|
|
(tab-style icon)))))
|
|
(session-info "dock" "gimp-dock-window"
|
|
(position 795 43)
|
|
(size 200 265)
|
|
(open-on-exit)
|
|
(aux-info
|
|
(show-image-menu "true")
|
|
(follow-active-image "true"))
|
|
(gimp-dock
|
|
(book
|
|
(current-page 1)
|
|
(dockable "gimp-pattern-grid"
|
|
(tab-style preview))
|
|
(dockable "gimp-gradient-list"
|
|
(tab-style preview)))))
|
|
(session-info "dock" "gimp-dock-window"
|
|
(position 803 344)
|
|
(size 200 404)
|
|
(open-on-exit)
|
|
(aux-info
|
|
(show-image-menu "true")
|
|
(follow-active-image "true"))
|
|
(gimp-dock
|
|
(book
|
|
(current-page 0)
|
|
(dockable "gimp-channel-list"
|
|
(tab-style icon)
|
|
(preview-size 32)))
|
|
(book
|
|
(position 162)
|
|
(current-page 0)
|
|
(dockable "gimp-palette-editor"
|
|
(tab-style icon)
|
|
(aux-info
|
|
(edit-active "true")
|
|
(current-data "Standard")
|
|
(zoom-factor "2.80"))))))
|
|
(session-info "dock" "gimp-toolbox-window"
|
|
(position 13 37)
|
|
(size 96 620)
|
|
(open-on-exit)
|
|
(gimp-toolbox))
|
|
(session-info "toplevel" "gimp-file-open-dialog"
|
|
(position 392 140)
|
|
(size 902 816))
|
|
(session-info "toplevel" "gimp-image-new-dialog"
|
|
(position 100 100))
|
|
(session-info "display" "gimp-empty-image-window"
|
|
(position 140 32)
|
|
(size 610 190))
|
|
|
|
(last-tip-shown 0)
|
|
|
|
# end of sessionrc
|