diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-09-02 23:11:28 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-09-02 23:55:26 +0100 |
| commit | 03104a5471641c06e73fb3cbc994f59ba4a3cfda (patch) | |
| tree | eb8682fad7a1b9cb13550255cfc054c29c4688a7 /debian/patches/remove-desktop-popup.patch | |
| parent | d16079dffd0577f676a8d0bf5e94e0d4ed006a5f (diff) | |
explicitly define chirp.share files and update patches
Diffstat (limited to 'debian/patches/remove-desktop-popup.patch')
| -rw-r--r-- | debian/patches/remove-desktop-popup.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/patches/remove-desktop-popup.patch b/debian/patches/remove-desktop-popup.patch new file mode 100644 index 0000000..f14cab7 --- /dev/null +++ b/debian/patches/remove-desktop-popup.patch @@ -0,0 +1,33 @@ +Description: Remove popup bugging user to install desktop icon +Author: Dave Hibberd <hibby@debian.org> +Forwarded: no +Last-Update: 2024-09-02 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/chirp/wxui/__init__.py ++++ b/chirp/wxui/__init__.py +@@ -118,13 +118,6 @@ + desktop = parser.add_mutually_exclusive_group() + parser.add_argument('--no-linux-gdk-backend', action='store_true', + help='Do not force GDK_BACKEND=x11') +- desktop.add_argument('--install-desktop-app', action='store_true', +- default=False, +- help=('Install a desktop icon even if it was ' +- 'previously refused')) +- desktop.add_argument('--no-install-desktop-app', action='store_true', +- default=False, +- help='Do not prompt to install a desktop icon') + logger.add_arguments(parser) + args = parser.parse_args() + logger.handle_options(args) +@@ -242,10 +235,4 @@ + report.check_for_updates( + lambda ver: wx.CallAfter(main.display_update_notice, ver)) + +- if sys.platform == 'linux': +- try: +- maybe_install_desktop(args, mainwindow) +- except Exception as e: +- LOG.exception('Failed to run linux desktop installer: %s', e) +- + app.MainLoop() |
