From 16cece70c1e9d64a676586a1356d1a23fa296384 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 3 Jan 2021 12:34:51 +0100 Subject: Set gtk-print-preview-command in settings.ini --- desktop-themes/TraditionalGreen/gtk-3.0/Makefile.am | 13 +++++++++++-- desktop-themes/TraditionalGreen/gtk-3.0/settings.ini | 5 ----- desktop-themes/TraditionalGreen/gtk-3.0/settings.ini.in | 6 ++++++ 3 files changed, 17 insertions(+), 7 deletions(-) delete mode 100644 desktop-themes/TraditionalGreen/gtk-3.0/settings.ini create mode 100644 desktop-themes/TraditionalGreen/gtk-3.0/settings.ini.in (limited to 'desktop-themes/TraditionalGreen') diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/Makefile.am b/desktop-themes/TraditionalGreen/gtk-3.0/Makefile.am index 6f00a57f..52d74372 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/Makefile.am +++ b/desktop-themes/TraditionalGreen/gtk-3.0/Makefile.am @@ -11,6 +11,15 @@ theme_DATA = \ other-applications.css \ settings.ini -EXTRA_DIST = $(theme_DATA) +%.ini: %.ini.in + $(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@ -SUBDIRS = img +EXTRA_DIST = \ + $(theme_DATA) \ + settings.ini.in + +CLEAN = \ + settings.ini + +SUBDIRS = \ + img diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/settings.ini b/desktop-themes/TraditionalGreen/gtk-3.0/settings.ini deleted file mode 100644 index 80923690..00000000 --- a/desktop-themes/TraditionalGreen/gtk-3.0/settings.ini +++ /dev/null @@ -1,5 +0,0 @@ -[Settings] -gtk-color-scheme = "base_color:#ffffff\nbg_color:#edeceb\nfg_color:#000000\nselected_bg_color:#B9C0A9\nselected_fg_color:#42453E\ntooltip_bg_color:#EAF5B5\ntooltip_fg_color:#000000\ntext_color:#1a1a1a\nlink_color:#0000ee\nvisited_link_color:#551a8b" -gtk-auto-mnemonics = 0 -gtk-visible-focus = automatic -gtk-primary-button-warps-slider = false diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/settings.ini.in b/desktop-themes/TraditionalGreen/gtk-3.0/settings.ini.in new file mode 100644 index 00000000..52607b4b --- /dev/null +++ b/desktop-themes/TraditionalGreen/gtk-3.0/settings.ini.in @@ -0,0 +1,6 @@ +[Settings] +gtk-auto-mnemonics = 0 +gtk-color-scheme = "base_color:#ffffff\nbg_color:#edeceb\nfg_color:#000000\nselected_bg_color:#B9C0A9\nselected_fg_color:#42453E\ntooltip_bg_color:#EAF5B5\ntooltip_fg_color:#000000\ntext_color:#1a1a1a\nlink_color:#0000ee\nvisited_link_color:#551a8b" +gtk-primary-button-warps-slider = false +gtk-print-preview-command = @bindir@/atril-previewer --unlink-tempfile --print-settings %s %f +gtk-visible-focus = automatic -- cgit v1.2.1