ixlab-sshui 1.2.3__tar.gz → 1.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/PKG-INFO +5 -1
  2. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/README.md +4 -0
  3. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/PKG-INFO +5 -1
  4. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/pyproject.toml +1 -1
  5. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/__init__.py +13 -10
  6. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/LICENSE +0 -0
  7. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/SOURCES.txt +0 -0
  8. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/dependency_links.txt +0 -0
  9. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/entry_points.txt +0 -0
  10. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/requires.txt +0 -0
  11. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/ixlab_sshui.egg-info/top_level.txt +0 -0
  12. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/setup.cfg +0 -0
  13. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/about_dialog.py +0 -0
  14. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/constants.py +0 -0
  15. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/host_panel.py +0 -0
  16. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/key_content_dialog.py +0 -0
  17. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/key_dialog.py +0 -0
  18. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/key_panel.py +0 -0
  19. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/main_window.py +0 -0
  20. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/option_dialog.py +0 -0
  21. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/sshui.svg +0 -0
  22. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/tag_dialog.py +0 -0
  23. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/terminal_window.py +0 -0
  24. {ixlab_sshui-1.2.3 → ixlab_sshui-1.2.4}/sshui/text_prompt_dialog.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ixlab-sshui
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: PyQt6 UI for browsing and tagging SSH configs via sshcore.
5
5
  Author-email: Iacopo Palazzi <iacopo.palazzi@gmail.com>
6
6
  License: MIT
@@ -19,6 +19,10 @@ Dynamic: license-file
19
19
 
20
20
  `sshui` is a PyQt6-based graphical frontend for the `sshcore` engine. It gives you a fast, tag-aware explorer for SSH configuration files, complete with host grouping, editing dialogs, and quick copy of SSH commands—without touching the command line.
21
21
 
22
+ ## What's New in 1.2.4
23
+
24
+ - **macOS Dock tooltip** — the Dock tooltip now shows ">SSH" instead of the Python interpreter name (set via `NSProcessInfo.processName`).
25
+
22
26
  ## What's New in 1.2.3
23
27
 
24
28
  - **macOS app name** — the menu-bar application name now shows ">SSH" instead of the Python interpreter name (set via `CFBundleName` before the Qt menu is built).
@@ -2,6 +2,10 @@
2
2
 
3
3
  `sshui` is a PyQt6-based graphical frontend for the `sshcore` engine. It gives you a fast, tag-aware explorer for SSH configuration files, complete with host grouping, editing dialogs, and quick copy of SSH commands—without touching the command line.
4
4
 
5
+ ## What's New in 1.2.4
6
+
7
+ - **macOS Dock tooltip** — the Dock tooltip now shows ">SSH" instead of the Python interpreter name (set via `NSProcessInfo.processName`).
8
+
5
9
  ## What's New in 1.2.3
6
10
 
7
11
  - **macOS app name** — the menu-bar application name now shows ">SSH" instead of the Python interpreter name (set via `CFBundleName` before the Qt menu is built).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ixlab-sshui
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: PyQt6 UI for browsing and tagging SSH configs via sshcore.
5
5
  Author-email: Iacopo Palazzi <iacopo.palazzi@gmail.com>
6
6
  License: MIT
@@ -19,6 +19,10 @@ Dynamic: license-file
19
19
 
20
20
  `sshui` is a PyQt6-based graphical frontend for the `sshcore` engine. It gives you a fast, tag-aware explorer for SSH configuration files, complete with host grouping, editing dialogs, and quick copy of SSH commands—without touching the command line.
21
21
 
22
+ ## What's New in 1.2.4
23
+
24
+ - **macOS Dock tooltip** — the Dock tooltip now shows ">SSH" instead of the Python interpreter name (set via `NSProcessInfo.processName`).
25
+
22
26
  ## What's New in 1.2.3
23
27
 
24
28
  - **macOS app name** — the menu-bar application name now shows ">SSH" instead of the Python interpreter name (set via `CFBundleName` before the Qt menu is built).
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ixlab-sshui"
3
- version = "1.2.3"
3
+ version = "1.2.4"
4
4
  description = "PyQt6 UI for browsing and tagging SSH configs via sshcore."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -16,23 +16,26 @@ __all__ = ["MainWindow", "main"]
16
16
 
17
17
 
18
18
  def _set_macos_app_name(name: str) -> None:
19
- """Set the macOS menu-bar application name (the bold first menu item).
19
+ """Set the macOS application name for an unbundled console-script app.
20
20
 
21
- That name comes from the process ``CFBundleName``; for a console-script app
22
- it defaults to the interpreter (e.g. ``python3.14``). Patching the bundle's
23
- info dictionary must happen *before* ``QApplication`` builds the menu.
21
+ Two distinct identities default to the interpreter name (e.g. ``python3.14``)
22
+ and must be set separately, *before* ``QApplication`` initializes:
23
+
24
+ * ``CFBundleName`` drives the bold menu-bar entry.
25
+ * ``NSProcessInfo.processName`` drives the Dock tooltip.
24
26
  """
25
27
  if sys.platform != "darwin":
26
28
  return
27
29
  try:
28
- from Foundation import NSBundle
30
+ from Foundation import NSBundle, NSProcessInfo
29
31
 
30
32
  bundle = NSBundle.mainBundle()
31
- if bundle is None:
32
- return
33
- info = bundle.localizedInfoDictionary() or bundle.infoDictionary()
34
- if info is not None:
35
- info["CFBundleName"] = name
33
+ if bundle is not None:
34
+ info = bundle.localizedInfoDictionary() or bundle.infoDictionary()
35
+ if info is not None:
36
+ info["CFBundleName"] = name
37
+
38
+ NSProcessInfo.processInfo().setProcessName_(name)
36
39
  except Exception as exc: # pragma: no cover - platform/runtime guard
37
40
  print(f"[sshui] could not set macOS app name: {exc}", file=sys.stderr)
38
41
 
File without changes
File without changes
File without changes