]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Cleanup radio.c and vfo.c
authorJohn Melton G0ORX <john.d.melton@googlemail.com>
Tue, 8 Dec 2020 15:36:21 +0000 (15:36 +0000)
committerJohn Melton G0ORX <john.d.melton@googlemail.com>
Tue, 8 Dec 2020 15:36:21 +0000 (15:36 +0000)
radio.c
vfo.c

diff --git a/radio.c b/radio.c
index ed6d2cf8b8bc24966f0c5bf351b42701e5c12337..b148f7e8c16ed6f427b206f52101df898858c46b 100644 (file)
--- a/radio.c
+++ b/radio.c
@@ -465,14 +465,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("FreeMono Bold 10"));
+  gtk_widget_override_font(minimize_b, pango_font_description_from_string("FreeSans Bold 10"));
   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("FreeMono Bold 10"));
+  gtk_widget_override_font(menu_b, pango_font_description_from_string("FreeSans Bold 10"));
   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);
diff --git a/vfo.c b/vfo.c
index 6388ec657d8c7089cf0dadc684cb221cda825fe9..b0561477c7cbdc188b8dc224b1d944ed3c830061 100644 (file)
--- a/vfo.c
+++ b/vfo.c
@@ -911,7 +911,6 @@ void vfo_update() {
         cairo_set_source_rgb (cr, 0.0, 0.0, 0.0);
         cairo_paint (cr);
 
-        //cairo_select_font_face(cr, "FreeMono",
         cairo_select_font_face(cr, "FreeSans",
             CAIRO_FONT_SLANT_NORMAL,
             CAIRO_FONT_WEIGHT_BOLD);
@@ -1172,7 +1171,7 @@ void vfo_update() {
         } else {
           cairo_set_source_rgb(cr, 0.7, 0.7, 0.7);
         }
-        cairo_show_text(cr, "Split");
+        cairo_show_text(cr, "SPLIT");
 
         cairo_move_to(cr, 260, 28);
         if(sat_mode!=SAT_NONE) {