nixpkgs/pkgs/applications/audio/gpodder/disable-autoupdate.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.2 KiB
Diff
Raw Normal View History

2019-04-14 13:51:15 +02:00
--- a/share/gpodder/ui/gtk/menus.ui
+++ b/share/gpodder/ui/gtk/menus.ui
@@ -13,10 +13,6 @@
<attribute name="action">app.gotoMygpo</attribute>
<attribute name="label" translatable="yes">Go to gpodder.net</attribute>
</item>
- <item>
- <attribute name="action">app.checkForUpdates</attribute>
- <attribute name="label" translatable="yes">Software updates</attribute>
- </item>
</section>
<section>
<item>
--- a/src/gpodder/config.py
+++ b/src/gpodder/config.py
2022-03-09 15:08:03 +01:00
@@ -94,7 +94,7 @@
2019-04-14 13:51:15 +02:00
2022-03-09 15:08:03 +01:00
# Software updates from gpodder.org
'software_update': {
2019-04-14 13:51:15 +02:00
- 'check_on_startup': True, # check for updates on start
2022-03-09 15:08:03 +01:00
+ 'check_on_startup': False, # check for updates on start
'last_check': 0, # unix timestamp of last update check
'interval': 5, # interval (in days) to check for updates
},
2019-04-14 13:51:15 +02:00
--- a/src/gpodder/gtkui/main.py
+++ b/src/gpodder/gtkui/main.py
2022-03-09 15:08:03 +01:00
@@ -3445,6 +3445,7 @@
2019-04-14 13:51:15 +02:00
If silent=False, a message will be shown even if no updates are
available (set silent=False when the check is manually triggered).
"""
+ return
try:
up_to_date, version, released, days = util.get_update_info()
except Exception as e: