ixlab-sshui 1.2.2__tar.gz → 1.2.3__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.2 → ixlab_sshui-1.2.3}/PKG-INFO +5 -1
  2. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/README.md +4 -0
  3. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/ixlab_sshui.egg-info/PKG-INFO +5 -1
  4. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/pyproject.toml +1 -1
  5. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/__init__.py +24 -0
  6. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/LICENSE +0 -0
  7. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/ixlab_sshui.egg-info/SOURCES.txt +0 -0
  8. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/ixlab_sshui.egg-info/dependency_links.txt +0 -0
  9. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/ixlab_sshui.egg-info/entry_points.txt +0 -0
  10. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/ixlab_sshui.egg-info/requires.txt +0 -0
  11. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/ixlab_sshui.egg-info/top_level.txt +0 -0
  12. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/setup.cfg +0 -0
  13. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/about_dialog.py +0 -0
  14. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/constants.py +0 -0
  15. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/host_panel.py +0 -0
  16. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/key_content_dialog.py +0 -0
  17. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/key_dialog.py +0 -0
  18. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/key_panel.py +0 -0
  19. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/main_window.py +0 -0
  20. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/option_dialog.py +0 -0
  21. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/sshui.svg +0 -0
  22. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/tag_dialog.py +0 -0
  23. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/sshui/terminal_window.py +0 -0
  24. {ixlab_sshui-1.2.2 → ixlab_sshui-1.2.3}/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.2
3
+ Version: 1.2.3
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.3
23
+
24
+ - **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).
25
+
22
26
  ## What's New in 1.2.2
23
27
 
24
28
  - **macOS Dock icon** — the app icon now also shows in the macOS Dock (set via AppKit at startup), not just the menu-bar tray.
@@ -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.3
6
+
7
+ - **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).
8
+
5
9
  ## What's New in 1.2.2
6
10
 
7
11
  - **macOS Dock icon** — the app icon now also shows in the macOS Dock (set via AppKit at startup), not just the menu-bar tray.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ixlab-sshui
3
- Version: 1.2.2
3
+ Version: 1.2.3
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.3
23
+
24
+ - **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).
25
+
22
26
  ## What's New in 1.2.2
23
27
 
24
28
  - **macOS Dock icon** — the app icon now also shows in the macOS Dock (set via AppKit at startup), not just the menu-bar tray.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ixlab-sshui"
3
- version = "1.2.2"
3
+ version = "1.2.3"
4
4
  description = "PyQt6 UI for browsing and tagging SSH configs via sshcore."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -15,6 +15,28 @@ from .main_window import MainWindow
15
15
  __all__ = ["MainWindow", "main"]
16
16
 
17
17
 
18
+ def _set_macos_app_name(name: str) -> None:
19
+ """Set the macOS menu-bar application name (the bold first menu item).
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.
24
+ """
25
+ if sys.platform != "darwin":
26
+ return
27
+ try:
28
+ from Foundation import NSBundle
29
+
30
+ 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
36
+ except Exception as exc: # pragma: no cover - platform/runtime guard
37
+ print(f"[sshui] could not set macOS app name: {exc}", file=sys.stderr)
38
+
39
+
18
40
  def _patch_macos_app_menu(name: str) -> None:
19
41
  """Rename the macOS application menu (the 'Python' entry in the menu bar)."""
20
42
  try:
@@ -65,6 +87,8 @@ def _set_macos_dock_icon(icon: QIcon) -> None:
65
87
 
66
88
  def main() -> int:
67
89
  """Entry point used by the `sshui` console script."""
90
+ _set_macos_app_name(APP_NAME)
91
+
68
92
  app = QApplication(sys.argv)
69
93
  app.setApplicationName(APP_NAME)
70
94
  app.setApplicationDisplayName(APP_NAME)
File without changes
File without changes
File without changes