From db060650755ddee81449ad1d412070b4e86bbecd Mon Sep 17 00:00:00 2001 From: Youssef Abukwaik Date: Sun, 16 Dec 2018 10:22:31 -0800 Subject: [PATCH] osx: Use Lucida Grande font for Application --- meld/meldwindow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meld/meldwindow.py b/meld/meldwindow.py index b567a8607..2108e14ea 100644 --- a/meld/meldwindow.py +++ b/meld/meldwindow.py @@ -275,6 +275,7 @@ def app_action(*args): def osx_menu_setup(self, widget, event, callback_data=None): if self.osx_ready == False: import gi + from gi.repository import Pango gi.require_version('GtkosxApplication', '1.0') from gi.repository import GtkosxApplication as gtkosx_application self.macapp = gtkosx_application.Application() @@ -294,6 +295,7 @@ def osx_menu_setup(self, widget, event, callback_data=None): self.macapp.insert_app_menu_item(Gtk.SeparatorMenuItem(), 3) #self.macapp.ready() NSApp.activateIgnoringOtherApps_(True) + self.widget.modify_font(Pango.FontDescription("Lucida Grande 10")) self.osx_ready = True def _on_recentmenu_map(self, recentmenu):