]> git.scottworley.com Git - nix-env-apps/commitdiff
Set the window title
authorScott Worley <scottworley@scottworley.com>
Sat, 13 Sep 2025 18:07:10 +0000 (11:07 -0700)
committerScott Worley <scottworley@scottworley.com>
Sat, 13 Sep 2025 18:39:42 +0000 (11:39 -0700)
apps.py

diff --git a/apps.py b/apps.py
index 77fb563053843e3899d085514977ad643f50795e..155671490fdbbecf10fc313e852aadf2ba7e8b99 100644 (file)
--- a/apps.py
+++ b/apps.py
@@ -92,6 +92,7 @@ def make_button(label: str, action: Callable[[Any], None]) -> Gtk.Button:
 
 def on_activate(app: Gtk.Application) -> None:
     win = Gtk.ApplicationWindow(application=app)
 
 def on_activate(app: Gtk.Application) -> None:
     win = Gtk.ApplicationWindow(application=app)
+    win.set_title('Apps')
     box = Gtk.Box()
     box.set_orientation(Gtk.Orientation.VERTICAL)
     edit = make_button("Edit Configuration", on_edit)
     box = Gtk.Box()
     box.set_orientation(Gtk.Orientation.VERTICAL)
     edit = make_button("Edit Configuration", on_edit)