Commit 385666143010920785c50421cdf163a5762f2d68
1 parent
e4b1a015
Exists in
develop
Default menu visibility is 'true' on windows.
Showing
2 changed files
with
5 additions
and
3 deletions
Show diff stats
configure.ac
| @@ -92,6 +92,7 @@ case "$host" in | @@ -92,6 +92,7 @@ case "$host" in | ||
| 92 | AC_SUBST(WINARCH,$app_cv_winarch) | 92 | AC_SUBST(WINARCH,$app_cv_winarch) |
| 93 | AC_SUBST(NSISREDIR,$app_cv_nsisredir) | 93 | AC_SUBST(NSISREDIR,$app_cv_nsisredir) |
| 94 | AC_SUBST(DEFAULT_UI_STYLE,0) | 94 | AC_SUBST(DEFAULT_UI_STYLE,0) |
| 95 | + AC_SUBST(DEFAULT_MENUBAR_VISIBLE,"true") | ||
| 95 | ;; | 96 | ;; |
| 96 | 97 | ||
| 97 | *-apple-darwin*) | 98 | *-apple-darwin*) |
| @@ -110,6 +111,7 @@ case "$host" in | @@ -110,6 +111,7 @@ case "$host" in | ||
| 110 | CFLAGS="$CFLAGS -pthread -DLIBDIR=\$(libdir) -DDATADIR=\$(datadir)" | 111 | CFLAGS="$CFLAGS -pthread -DLIBDIR=\$(libdir) -DDATADIR=\$(datadir)" |
| 111 | LDFLAGS="$LDFLAGS -pthread" | 112 | LDFLAGS="$LDFLAGS -pthread" |
| 112 | AC_SUBST(DEFAULT_UI_STYLE,0) | 113 | AC_SUBST(DEFAULT_UI_STYLE,0) |
| 114 | + AC_SUBST(DEFAULT_MENUBAR_VISIBLE,"false") | ||
| 113 | 115 | ||
| 114 | esac | 116 | esac |
| 115 | 117 |
schemas/window.gschema.xml.in
| @@ -55,13 +55,13 @@ | @@ -55,13 +55,13 @@ | ||
| 55 | </key> | 55 | </key> |
| 56 | 56 | ||
| 57 | <key name="toolbar-visible" type="b"> | 57 | <key name="toolbar-visible" type="b"> |
| 58 | - <default>false</default> | 58 | + <default>true</default> |
| 59 | <summary>The toolbar visible state</summary> | 59 | <summary>The toolbar visible state</summary> |
| 60 | <description></description> | 60 | <description></description> |
| 61 | </key> | 61 | </key> |
| 62 | 62 | ||
| 63 | <key name="menubar-visible" type="b"> | 63 | <key name="menubar-visible" type="b"> |
| 64 | - <default>false</default> | 64 | + <default>@DEFAULT_MENUBAR_VISIBLE@</default> |
| 65 | <summary>The menubar visible state</summary> | 65 | <summary>The menubar visible state</summary> |
| 66 | <description></description> | 66 | <description></description> |
| 67 | </key> | 67 | </key> |
| @@ -98,7 +98,7 @@ | @@ -98,7 +98,7 @@ | ||
| 98 | 98 | ||
| 99 | <key name="toolbar-action-names" type="s"> | 99 | <key name="toolbar-action-names" type="s"> |
| 100 | <default>'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'</default> | 100 | <default>'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'</default> |
| 101 | - <summary>The toolbar action list</summary> | 101 | + <summary>The actions on the toolbar</summary> |
| 102 | <description></description> | 102 | <description></description> |
| 103 | </key> | 103 | </key> |
| 104 | 104 |