[iagno] Small fix.



commit 18afa0c803113906f4f3276f7396704e3cf7c1d6
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Jul 28 21:35:53 2019 +0200

    Small fix.
    
    Forgot in a809f2d72f.

 src/iagno.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index 0aa5f29..93ef8e2 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -214,7 +214,6 @@ private class Iagno : Gtk.Application
 
         DrawingArea scoredrawing = (DrawingArea) builder.get_object ("scoredrawing");
         view.scoreboard = scoredrawing;
-        view.theme = settings.get_string ("theme");
 
         if (settings.get_boolean ("sound"))
             init_sound ();
@@ -271,6 +270,7 @@ private class Iagno : Gtk.Application
             warning (@"Theme $wanted_theme_id not found, using default.");
             settings.set_string ("theme", "default");
             wanted_theme_id = "default";
+         // view.theme defaults on "default" (in fact, on null)
         }
         section.freeze ();
         appearance_menu.append_section (null, section);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]