From aa16e30474fdb7b66bad924a2786bb80534abb21 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Tue, 11 Aug 2015 16:32:48 +0300 Subject: [PATCH] gimp:adjusted single windows as a default --- .../gimp/gimp/files/single_window.patch | 118 ++++++++++++++++++ multimedia/graphics/gimp/gimp/pspec.xml | 3 + 2 files changed, 121 insertions(+) create mode 100644 multimedia/graphics/gimp/gimp/files/single_window.patch diff --git a/multimedia/graphics/gimp/gimp/files/single_window.patch b/multimedia/graphics/gimp/gimp/files/single_window.patch new file mode 100644 index 0000000000..92ae5d2cd9 --- /dev/null +++ b/multimedia/graphics/gimp/gimp/files/single_window.patch @@ -0,0 +1,118 @@ +--- sessionrc 2015-02-22 02:56:17.000000000 +0200 ++++ etc/sessionrc 2015-08-11 15:04:38.435191859 +0300 +@@ -1,47 +1,91 @@ + # 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. ++# 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" ++(session-info "toplevel" ++ (factory-entry "gimp-empty-image-window") ++ (position 0 0) ++ (size 1024 717) ++ (open-on-exit)) ++(session-info "toplevel" ++ (factory-entry "gimp-single-image-window") + (position 0 0) +- (size 170 820) ++ (size 1024 717) + (open-on-exit) ++ (aux-info ++ (left-docks-width "118") ++ (right-docks-width "206") ++ (maximized "yes")) + (gimp-toolbox ++ (side left) + (book ++ (current-page 0) + (dockable "gimp-tool-options" +- (tab-style automatic))))) +-(session-info "dock" "gimp-dock-window" +- (position -0 0) +- (size 210 820) +- (open-on-exit) ++ (tab-style automatic) ++ (aux-info ++ (show-button-bar "true"))))) + (gimp-dock ++ (side right) + (book ++ (current-page 0) + (dockable "gimp-layer-list" +- (tab-style automatic)) ++ (tab-style automatic) ++ (preview-size 32) ++ (aux-info ++ (show-button-bar "true"))) + (dockable "gimp-channel-list" +- (tab-style automatic)) ++ (tab-style automatic) ++ (preview-size 32) ++ (aux-info ++ (show-button-bar "true"))) + (dockable "gimp-vectors-list" +- (tab-style automatic)) ++ (tab-style automatic) ++ (preview-size 32) ++ (aux-info ++ (show-button-bar "true"))) + (dockable "gimp-undo-history" +- (tab-style automatic))) ++ (tab-style automatic) ++ (aux-info ++ (show-button-bar "true")))) + (book +- (position 420) ++ (position 490) ++ (current-page 0) + (dockable "gimp-brush-grid" +- (tab-style automatic)) ++ (tab-style automatic) ++ (aux-info ++ (show-button-bar "true"))) + (dockable "gimp-pattern-grid" +- (tab-style automatic)) ++ (tab-style automatic) ++ (aux-info ++ (show-button-bar "true"))) + (dockable "gimp-gradient-list" +- (tab-style automatic))))) ++ (tab-style automatic) ++ (aux-info ++ (show-button-bar "true")))))) + (session-info "toplevel" +- (factory-entry "gimp-empty-image-window") +- (position 410 370) +- (size 620 200)) ++ (factory-entry "gimp-file-save-dialog") ++ (position 45 32) ++ (size 792 707)) + (session-info "toplevel" +- (factory-entry "gimp-single-image-window") +- (position 160 70) +- (size 1140 780)) ++ (factory-entry "gimp-file-export-dialog") ++ (position 45 0) ++ (size 792 707)) ++(session-info "toplevel" ++ (factory-entry "gimp-toolbox-color-dialog") ++ (position 45 230)) ++(session-info "toplevel" ++ (factory-entry "gimp-file-open-dialog") ++ (position 45 0) ++ (size 792 585)) ++(session-info "toplevel" ++ (factory-entry "gimp-image-new-dialog") ++ (position 45 38)) ++ ++(hide-docks no) ++(single-window-mode yes) ++(last-tip-shown 0) + + # end of sessionrc diff --git a/multimedia/graphics/gimp/gimp/pspec.xml b/multimedia/graphics/gimp/gimp/pspec.xml index abb506065f..58d08a33f7 100644 --- a/multimedia/graphics/gimp/gimp/pspec.xml +++ b/multimedia/graphics/gimp/gimp/pspec.xml @@ -54,6 +54,9 @@ intltool python-devel + + single_window.patch +