summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:34:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:34:02 +0000
commitc97cbf735c7485b27ecf7995abe513f85da5cd4d (patch)
tree2fce8b2a992edafd4cac3a60c8d95259f760bc50
parentDisable saving dialog position. (diff)
downloadinkscape-c97cbf735c7485b27ecf7995abe513f85da5cd4d.tar.xz
inkscape-c97cbf735c7485b27ecf7995abe513f85da5cd4d.zip
Disable saving doc viewport.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0004-disable-savedocviewport.patch14
-rw-r--r--debian/patches/series1
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0004-disable-savedocviewport.patch b/debian/patches/progress-linux/0004-disable-savedocviewport.patch
new file mode 100644
index 0000000..d75e01c
--- /dev/null
+++ b/debian/patches/progress-linux/0004-disable-savedocviewport.patch
@@ -0,0 +1,14 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Disable saving doc viewport.
+
+diff -Naurp inkscape.orig/src/preferences-skeleton.h inkscape/src/preferences-skeleton.h
+--- inkscape.orig/src/preferences-skeleton.h
++++ inkscape/src/preferences-skeleton.h
+@@ -390,6 +390,7 @@ R"=====(
+ colorsontop="0"
+ partialdynamic="0"/>
+ <group id="savedialogposition" value="0"/>
++ <group id="savedocviewport" value="0"/>
+ </group>
+
+ <group id="extensions">
diff --git a/debian/patches/series b/debian/patches/series
index 775741f..0328689 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ avoid-syntaxwarning-in-python-extension.patch
progress-linux/0001-enable-sort-attributes.patch
progress-linux/0002-disable-savewindowgeometry.patch
progress-linux/0003-disable-savedialogposition.patch
+progress-linux/0004-disable-savedocviewport.patch