[geany/geany-osx] e6ae74: Show images in menus

Jiří Techet git-noreply at xxxxx
Tue Oct 29 10:39:21 UTC 2019


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Tue, 29 Oct 2019 10:39:21 UTC
Commit:      e6ae74cd19aa1e69893d4bb75dcf3ec63f77147a
             https://github.com/geany/geany-osx/commit/e6ae74cd19aa1e69893d4bb75dcf3ec63f77147a

Log Message:
-----------
Show images in menus

This isn't quite macOS native appearance but without this popup manus
make a strange resize resize effect when they appear and may have
incorrect size.


Modified Paths:
--------------
    LauncherGtk3/geany/geany/main.m

Modified: LauncherGtk3/geany/geany/main.m
9 lines changed, 7 insertions(+), 2 deletions(-)
===================================================================
@@ -117,8 +117,13 @@ static BOOL write_gtk_config() {
         }
     }
 
-    NSString *gtk_config = [NSString stringWithFormat: @"[Settings]\ngtk-application-prefer-dark-theme=%@\ngtk-icon-theme-name=%@\n", light ? @"0" : @"1", light ? @"Papirus" : @"Papirus-Dark"];
-    
+    NSString *gtk_config = [NSString stringWithFormat: @"[Settings]\n"
+                            @"gtk-menu-images=1\n"
+                            @"gtk-application-prefer-dark-theme=%@\n"
+                            @"gtk-icon-theme-name=%@\n",
+                            light ? @"0" : @"1",
+                            light ? @"Papirus" : @"Papirus-Dark"];
+
     return write_to_file(gtk_config, [GEANY_CONFIG_DIR stringByAppendingPathComponent: @"gtk-3.0/settings.ini"]);
 }
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list