]> git.scottworley.com Git - srec/commitdiff
Rename: box → r_box
authorScott Worley <scottworley@scottworley.com>
Wed, 1 Oct 2025 00:13:10 +0000 (17:13 -0700)
committerScott Worley <scottworley@scottworley.com>
Wed, 1 Oct 2025 00:15:35 +0000 (17:15 -0700)
srec.py

diff --git a/srec.py b/srec.py
index d57cde2b3b7e2c2e6dc003f43cfc5574f968d2dd..b9ab34448ce0351d2a6acd9ec7a0802ef8d94d58 100644 (file)
--- a/srec.py
+++ b/srec.py
@@ -81,11 +81,11 @@ def on_activate(app: Gtk.Application) -> None:
     start_recording = make_button("Start Recording", on_start_recording, stack)
     stack.add_named(start_recording, "not_recording")
 
-    box = Gtk.Box()
-    box.set_orientation(Gtk.Orientation.VERTICAL)
+    r_box = Gtk.Box()
+    r_box.set_orientation(Gtk.Orientation.VERTICAL)
     stop_recording = make_button("Stop Recording", on_stop_recording, stack)
-    box.append(stop_recording)
-    stack.add_named(box, "recording")
+    r_box.append(stop_recording)
+    stack.add_named(r_box, "recording")
 
     win.set_child(stack)
     win.present()