From 5a944237bdc6bdbdb3d630be8819373c3b9508dd Mon Sep 17 00:00:00 2001 From: "Clayton G. Hobbs" Date: Sun, 27 Dec 2015 11:56:08 -0500 Subject: Beginning work moving from YAML to JSON Mostly working for the options file now. Still some difficulty with command-line arguments, though; they're overriding the config file even when not specified. If I made them simply not get stored at all when not specified, there would be further problems when a configuration file is not present. Maybe I should make a whole new class to handle this. --- gtkui.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtkui.py') diff --git a/gtkui.py b/gtkui.py index db5174a..b1e25ef 100644 --- a/gtkui.py +++ b/gtkui.py @@ -4,8 +4,10 @@ # Copyright 2015 Clayton G. Hobbs import sys +import gi from gi.repository import GObject # Gtk +gi.require_version('Gtk', '3.0') from gi.repository import Gtk, Gdk class UI(GObject.GObject): -- cgit 1.4.1