From c8b7d70ffab750535031836082e0103cad34da94 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 25 Mar 2016 01:49:14 +0100 Subject: monospace font for Lua Script Window --- gtk2_ardour/clearlooks.rc.in | 1 + gtk2_ardour/luawindow.cc | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/clearlooks.rc.in b/gtk2_ardour/clearlooks.rc.in index 3422a8e040..24acda34d9 100644 --- a/gtk2_ardour/clearlooks.rc.in +++ b/gtk2_ardour/clearlooks.rc.in @@ -1170,6 +1170,7 @@ widget "*AddRouteDialogNameTemplateEntry" style:highest "medium_bold_entry" widget "*NewSessionSR1Label" style:highest "red_medium_text" widget "*NewSessionSR2Label" style:highest "medium_text" widget "*location edit row clock" style:highest "medium_text" +widget "*ArdourLuaEntry" style:highest "medium_monospace_text" widget "*LocationEditNameLabel" style:highest "medium_text" widget "*LocationEditCdButton" style:highest "small_red_active_and_selected_button" widget "*LocationEditCdButton*" style:highest "small_red_active_and_selected_button" diff --git a/gtk2_ardour/luawindow.cc b/gtk2_ardour/luawindow.cc index 0cd9505191..c6f0031712 100644 --- a/gtk2_ardour/luawindow.cc +++ b/gtk2_ardour/luawindow.cc @@ -133,6 +133,9 @@ LuaWindow::LuaWindow () scrollout.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_ALWAYS); scrollout.add (outtext); + entry.set_name ("ArdourLuaEntry"); + outtext.set_name ("ArdourLuaEntry"); + Gtk::HBox *hbox = manage (new HBox()); hbox->pack_start (_btn_run, false, false, 2); @@ -192,8 +195,6 @@ void LuaWindow::reinit_lua () LuaInstance::register_classes (L); luabridge::push (L, &PublicEditor::instance()); lua_setglobal (L, "Editor"); - - } void LuaWindow::set_session (Session* s) -- cgit v1.2.3