Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Tue, 29 Oct 2019 16:20:08 UTC Commit: c49e68a1ba22d41653255196580465527fc71d84 https://github.com/geany/geany-osx/commit/c49e68a1ba22d41653255196580465527f...
Log Message: ----------- Remove tabbar entries automatically added to View menu by macOS
Modified Paths: -------------- LauncherGtk3/geany/geany/main.m
Modified: LauncherGtk3/geany/geany/main.m 6 lines changed, 6 insertions(+), 0 deletions(-) =================================================================== @@ -4,6 +4,7 @@ */
#import <Foundation/Foundation.h> +#import <Cocoa/Cocoa.h>
#include <dlfcn.h> #include <limits.h> @@ -253,6 +254,11 @@ static int run_geany() { }
export_env_array(env); + + if (@available(macOS 10.12, *)) { + //to remove "show tab bar", "show all tabs" automatically added to the View menu + NSWindow.allowsAutomaticWindowTabbing = NO; + }
const char *argv[ARG_MAX]; int argc = fill_argv_array(argv, args);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).