diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-01 14:43:08 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-01 14:43:08 +0200 |
commit | 2b3f22361da0c1d8e6ce70d71352821758186db7 (patch) | |
tree | 5d10633b47369b3aa52a05bf889ede0dbe5ee108 /src/AppWindow.vala | |
parent | 211da5fc3048ca2b6ccee2166b0aaaade55cb84f (diff) | |
parent | dc6c76eb04dfe3d4262a1806808f0bc0bf523238 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/AppWindow.vala')
-rw-r--r-- | src/AppWindow.vala | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/AppWindow.vala b/src/AppWindow.vala index bfdfcaf..aefe3c6 100644 --- a/src/AppWindow.vala +++ b/src/AppWindow.vala @@ -89,8 +89,15 @@ public class FullscreenWindow : PageWindow { // capture motion events to show the toolbar add_events(Gdk.EventMask.POINTER_MOTION_MASK); - // start off with toolbar invoked, as a clue for the user - invoke_toolbar(); + // If toolbar is enabled in "normal" ui OR was pinned in + // fullscreen, start off with toolbar invoked, as a clue for the + // user. Otherwise leave hidden unless activated by mouse over + if (Config.Facade.get_instance().get_display_toolbar() || + !is_toolbar_dismissal_enabled) { + invoke_toolbar(); + } else { + hide_toolbar(); + } // Toolbar steals keyboard focus from page, put it back again page.grab_focus (); @@ -590,10 +597,9 @@ public abstract class AppWindow : PageWindow { public abstract string get_app_role(); protected void on_about() { - const string[] artists = { "Aachen logo under public domain license https://www.flickr.com/photos/30784528@N04/10860988196/", null }; + const string[] artists = { "Braunschweiger Löwe created by Magnus Manske., CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=109735", null }; Gtk.show_about_dialog(this, - // translators: %s will be replaced by application version - "version", _("%s \u2013 “Aachen”".printf(Resources.APP_VERSION)), + "version", Resources.APP_VERSION + " \u2013 \"Braunschweig\"", "comments", get_app_role(), "copyright", Resources.COPYRIGHT, "website", Resources.HOME_URL, |