From 02fe1bca9309f776c4f531fc4c90f2a930776fa2 Mon Sep 17 00:00:00 2001 From: c vw Date: Thu, 27 May 2021 10:38:30 +0200 Subject: [PATCH] Tied "menu font" to "sliders font" to avoid explicit font requests other than those in the #define's in radio.h --- radio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio.c b/radio.c index 4ebaced..a6d09a8 100644 --- a/radio.c +++ b/radio.c @@ -470,14 +470,14 @@ static void create_visual() { GtkWidget *minimize_b=gtk_button_new_with_label("Hide"); - gtk_widget_override_font(minimize_b, pango_font_description_from_string("FreeSans Bold 10")); + gtk_widget_override_font(minimize_b, pango_font_description_from_string(SLIDERS_FONT)); gtk_widget_set_size_request (minimize_b, MENU_WIDTH, MENU_HEIGHT); g_signal_connect (minimize_b, "button-press-event", G_CALLBACK(minimize_cb), NULL) ; gtk_fixed_put(GTK_FIXED(fixed),minimize_b,VFO_WIDTH+METER_WIDTH,y); y+=MENU_HEIGHT; GtkWidget *menu_b=gtk_button_new_with_label("Menu"); - gtk_widget_override_font(menu_b, pango_font_description_from_string("FreeSans Bold 10")); + gtk_widget_override_font(menu_b, pango_font_description_from_string(SLIDERS_FONT)); gtk_widget_set_size_request (menu_b, MENU_WIDTH, MENU_HEIGHT); g_signal_connect (menu_b, "button-press-event", G_CALLBACK(menu_cb), NULL) ; gtk_fixed_put(GTK_FIXED(fixed),menu_b,VFO_WIDTH+METER_WIDTH,y); -- 2.45.2