From 385666143010920785c50421cdf163a5762f2d68 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Wed, 29 Mar 2023 22:55:06 -0300 Subject: [PATCH] Default menu visibility is 'true' on windows. --- configure.ac | 2 ++ schemas/window.gschema.xml.in | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 25df7e1..b543047 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,7 @@ case "$host" in AC_SUBST(WINARCH,$app_cv_winarch) AC_SUBST(NSISREDIR,$app_cv_nsisredir) AC_SUBST(DEFAULT_UI_STYLE,0) + AC_SUBST(DEFAULT_MENUBAR_VISIBLE,"true") ;; *-apple-darwin*) @@ -110,6 +111,7 @@ case "$host" in CFLAGS="$CFLAGS -pthread -DLIBDIR=\$(libdir) -DDATADIR=\$(datadir)" LDFLAGS="$LDFLAGS -pthread" AC_SUBST(DEFAULT_UI_STYLE,0) + AC_SUBST(DEFAULT_MENUBAR_VISIBLE,"false") esac diff --git a/schemas/window.gschema.xml.in b/schemas/window.gschema.xml.in index 34786a0..e1c992c 100644 --- a/schemas/window.gschema.xml.in +++ b/schemas/window.gschema.xml.in @@ -55,13 +55,13 @@ - false + true The toolbar visible state - false + @DEFAULT_MENUBAR_VISIBLE@ The menubar visible state @@ -98,7 +98,7 @@ 'win.copy,win.paste,win.select-all,separator,win.clear,win.erase-input,separator,win.print,separator,win.zoom-out,win.zoom-fit-best,win.zoom-in' - The toolbar action list + The actions on the toolbar -- libgit2 0.21.2