Skip to content

Commit db06065

Browse files
committed
osx: Use Lucida Grande font for Application
1 parent f6ab10a commit db06065

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

meld/meldwindow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ def app_action(*args):
275275
def osx_menu_setup(self, widget, event, callback_data=None):
276276
if self.osx_ready == False:
277277
import gi
278+
from gi.repository import Pango
278279
gi.require_version('GtkosxApplication', '1.0')
279280
from gi.repository import GtkosxApplication as gtkosx_application
280281
self.macapp = gtkosx_application.Application()
@@ -294,6 +295,7 @@ def osx_menu_setup(self, widget, event, callback_data=None):
294295
self.macapp.insert_app_menu_item(Gtk.SeparatorMenuItem(), 3)
295296
#self.macapp.ready()
296297
NSApp.activateIgnoringOtherApps_(True)
298+
self.widget.modify_font(Pango.FontDescription("Lucida Grande 10"))
297299
self.osx_ready = True
298300

299301
def _on_recentmenu_map(self, recentmenu):

0 commit comments

Comments
 (0)