From: c vw <dl1ycf@darc.de>
Date: Thu, 27 May 2021 08:38:30 +0000 (+0200)
Subject: Tied "menu font" to "sliders font" to avoid explicit font requests other
X-Git-Url: https://git.rkrishnan.org/Site/Content/module-simplejson-index.html?a=commitdiff_plain;h=02fe1bca9309f776c4f531fc4c90f2a930776fa2;p=pihpsdr.git

Tied "menu font" to "sliders font" to avoid explicit font requests other
than those in the #define's in radio.h
---

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);