Philipp Hörist pushed to branch master at gajim / gajim
Commits:
26d04cdf by Philipp Hörist at 2025-01-25T01:08:09+01:00
imprv: Features: Hide not maintained features
- - - - -
1 changed file:
- gajim/gtk/features.py
Changes:
=====================================
gajim/gtk/features.py
=====================================
@@ -58,7 +58,7 @@ def _add_feature(self, feature: Feature) -> None:
self.feature_listbox.append(item)
def _get_features(self) -> list[Feature]:
- av_available = app.is_installed("AV") and sys.platform != "win32"
+ # av_available = app.is_installed("AV") and sys.platform != "win32"
notification_sounds_available: bool = app.is_installed(
"GSOUND"
) or sys.platform in ("win32", "darwin")
@@ -69,26 +69,26 @@ def _get_features(self) -> list[Feature]:
auto_status_enabled = bool(any(auto_status))
return [
- Feature(
- _("Audio Preview"),
- app.is_installed("GST"),
- _("Enables Gajim to provide a Audio preview"),
- _("Requires: gstreamer-1.0, gst-plugins-base-1.0"),
- _("No additional requirements"),
- None,
- ),
- Feature(
- _("Audio / Video Calls"),
- av_available,
- _("Enables Gajim to provide Audio and Video chats"),
- _(
- "Requires: farstream-0.2, gstreamer-1.0, "
- "gst-plugins-base-1.0, gst-plugins-ugly-1.0, "
- "gst-libav"
- ),
- _("Feature not available on Windows"),
- None,
- ),
+ # Feature(
+ # _("Audio Preview"),
+ # app.is_installed("GST"),
+ # _("Enables Gajim to provide a Audio preview"),
+ # _("Requires: gstreamer-1.0, gst-plugins-base-1.0"),
+ # _("No additional requirements"),
+ # None,
+ # ),
+ # Feature(
+ # _("Audio / Video Calls"),
+ # av_available,
+ # _("Enables Gajim to provide Audio and Video chats"),
+ # _(
+ # "Requires: farstream-0.2, gstreamer-1.0, "
+ # "gst-plugins-base-1.0, gst-plugins-ugly-1.0, "
+ # "gst-libav"
+ # ),
+ # _("Feature not available on Windows"),
+ # None,
+ # ),
Feature(
_("Automatic Status"),
self._idle_available(),
@@ -127,17 +127,17 @@ def _get_features(self) -> list[Feature]:
_("No additional requirements"),
spell_check_enabled,
),
- Feature(
- _("UPnP-IGD Port Forwarding"),
- app.is_installed("UPNP"),
- _(
- "Enables Gajim to request your router to forward ports "
- "for file transfers"
- ),
- _("Requires: gupnpigd-1.0"),
- _("Feature not available on Windows"),
- None,
- ),
+ # Feature(
+ # _("UPnP-IGD Port Forwarding"),
+ # app.is_installed("UPNP"),
+ # _(
+ # "Enables Gajim to request your router to forward ports "
+ # "for file transfers"
+ # ),
+ # _("Requires: gupnpigd-1.0"),
+ # _("Feature not available on Windows"),
+ # None,
+ # ),
]
@staticmethod
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/26d04cdf27653d0ed27394dbe9dcacf6ee231c33
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/26d04cdf27653d0ed27394dbe9dcacf6ee231c33
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]