]> git.scottworley.com Git - nix-env-apps/blobdiff - apps.py
Release 1.0.2
[nix-env-apps] / apps.py
diff --git a/apps.py b/apps.py
index 77fb563053843e3899d085514977ad643f50795e..956dfe357e6f17137ef7ebe79adb466b43141fc0 100644 (file)
--- a/apps.py
+++ b/apps.py
@@ -1,3 +1,9 @@
+# nix-env-apps: Manage declarative nix-env with a GUI
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, version 3.
+
 import os
 import subprocess
 from typing import Any, Callable
@@ -19,7 +25,7 @@ def on_edit(_: Any) -> None:
             f.write('''final: prev: {
   userPackages = final.buildEnv {
     name = "userPackages";
-    paths = (with final; [
+    paths = with final; [
 
 
 
@@ -92,6 +98,7 @@ def make_button(label: str, action: Callable[[Any], None]) -> Gtk.Button:
 
 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)